To be used for any installation queries regarding python and its associated packages.
Questions tagged [python-install]
98 questions
2
votes
1 answer
python installed but not in /usr/bin
I have installed python3 on SUSE 13.1 and then uninstalled it. I have also uninstalled python2.7. Then I've installed them again using zypper:
zypper install python
zypper install python3
The installation went fine, but the result is that I no…

Luka
- 21
- 1
- 3
1
vote
2 answers
mysqlclient install error - ld: library not found for -lzlib
I'm trying to install mysqlclient on MacOS from requirements.txt of a Python(3.8) project. I created a virtual environment and this is the output while trying to install it:
ld: library not found for -lzlib
clang: error: linker command failed with…

PiNaKa30
- 608
- 7
- 20
1
vote
0 answers
"python setup.py bdist_wheel did not run successfully" Installing pandana
The problem:
Building wheels for collected packages: pandana, tables
Building wheel for pandana (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [47 lines…

diediamil
- 11
- 2
1
vote
0 answers
"Cascading" virtual Python environnements
I am working with Python on an offline Red Hat Enterprise Linux machine, mainly using Data Science and AI libraries.
As Anaconda is no more an option, I would like to install a bunch of libraries inside a virtual environment, referencing the Python…

Christophe
- 119
- 12
1
vote
1 answer
Terminal shows wrong Python version as default
Typing Python on my Terminal shows
Python 3.9.5 (default, May 4 2021, 03:36:27)
[Clang 12.0.0 (clang-1200.0.32.29)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
When in fact I have installed the latest version,…

EconNoob
- 13
- 4
1
vote
1 answer
setuptools post-install: get all packages installed to check versions
In Post-install script with Python setuptools, this answer shows how to make a post-install command.
I want to make a post-install command that checks for a version matchup between sub-packages from a mono-repo.
How can I get a list of packages…

Intrastellar Explorer
- 3,005
- 9
- 52
- 119
1
vote
1 answer
How to install Python from .tar.xz using windows command Prompt
I wanted to install Python 3.5.5, I only found compressed files as shown below.
when I wanted to intall it using
pip install Python-3.5.5.tar.xz
or
pip install Python-3.5.5.tgz
I had these errors

Asky
- 45
- 2
- 7
1
vote
1 answer
Having trouble importing RLGlue: "No module named 'rlglue.rl_glue'"
I was going through an Reinforcement Learning Course and wanted to try running the code locally. I installed RLGlue with pip install rlglue from here
But then when trying to run the code:
from rlglue.rl_glue import RLGlue
import main_agent
import…

JLuu
- 379
- 1
- 3
- 17
1
vote
1 answer
I've installed python-3.9.1 and pip but while running the command python3 -V got the result as python 3.6.9 how do I get python version 3.9
sudo apt-get install python3.7
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3.7 is already the newest version (3.7.10-1+bionic2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
N:…

Logesh
- 21
- 3
1
vote
1 answer
How to build and install a Python package locally without uploading to PyPI?
I created a small Python project using a project template. Now I would like to configure the project to be locally installable.
When I run the command:
$ python3.8 -m pip install fdroid_build_checker
I get the following error:
ERROR: Could not…

JJD
- 50,076
- 60
- 203
- 339
1
vote
0 answers
Updating Ubuntu updates python versions?
I am currently running ubuntu 16.04, I have a multiple versions of python3 installed in my system. They are kind of messed up with failure while building these versions. I was earlier planning on upgrading to ubuntu 18, but now does these python…

Nikhil Cherian
- 11
- 1
1
vote
0 answers
What is the difference between pip and !pip which are used during python package installation?
I basically use pip while installing packages into my environment but I see many instructions online using !pip instead and was wondering what is the difference between them.

Sarala
- 11
- 6
1
vote
1 answer
Compiling Python Package on Windows
My apology if this may not be the right place to post my question. I recently had to update Windows 10 system on a Lenovo Yoga 910 laptop. Following the system update, I successfully installed Python 3.7.2, which I primarily use with Abjad, a music…

nagymusic
- 71
- 4
1
vote
1 answer
Using Anaconda python directory in Atom IDE
I have installed Anaconda on my Windows 10 system. Now I want to use python in newly installed Atom IDE. Atom cannot find python directory as it's not added to the environment variable path.
I installed python 3.6 separately and added it to path…

Nakul Mishra
- 31
- 5
1
vote
2 answers
Centos: Not able to install pip
I am totally new to python so I have no clue what's happening here.
When I do
which pip
/usr/bin/which: no pip in (/usr/local/bin/python:/usr/bin/python2:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
and then…

user2991413
- 521
- 2
- 9
- 26