To be used for any installation queries regarding python and its associated packages.
Questions tagged [python-install]
98 questions
1
vote
2 answers
Python not installing executable named "python" in install directory
I have a droplet on DigitalOcean that I am working on:
It is CentOS7 x64
I want to install python v 3.5.3 and have that run when I type 'python'
I used this page as a…

Dan S.
- 162
- 2
- 13
1
vote
0 answers
what is proper installed python directory structure on OSx?
Hi I have python installed at multiple locations and I want to get rid of multiple location , just having one location would be nice, the problem is sometimes install modules with pip and sometimes with easy_install and I end up these modules…

Ciasto piekarz
- 7,853
- 18
- 101
- 197
1
vote
2 answers
add Python path to PATH system variable automatically under Windows
I'm creating one-click python installer (integrated with my application). Is there any way to force Python MSI installer to add python's path to SYSTEM PATH variable?
I'm using MSI installer because it is very easy to specify (using command line)…

kmalmur
- 2,809
- 3
- 29
- 37
1
vote
1 answer
Cannot run python 3.5 along with python 2.7.4 in Windows 10
I am trying to install Python 3.5.0 alongside with Python 2.7.4.
C:\Users\Animesh>python
Python 2.7.4 (default, Apr 6 2013, 19:55:15) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more…

Animesh Pandey
- 5,900
- 13
- 64
- 130
1
vote
2 answers
Numpy backwards compatibility: Visual C++ 9 not found
I downloaded numpy-1.10.1 from sourceforge and I have Python 2.7. I extracted, renamed and entered the numpy directory under site-packages. I ran the
python setup.py install
command, and got this error message. I have Microsoft Visual C++ 2013…

cwahls
- 743
- 7
- 22
1
vote
3 answers
How to change python's "full name" (something like `cpython-34m-x86_64-linux-gnu`)?
I installed Python 3.5 from source and broke a number of modules on Python 3.4, which unfortunately, was an essential part of Ubuntu. I've been trying to fix the system, now I'm almost there, with (hopefully) the last problem: My Python 3.4 only…

Huazuo Gao
- 1,603
- 14
- 20
1
vote
1 answer
Allowing python use modules from other python installation
I normally use python 2.7.3 traditionally installed in /usr/local/bin, but I needed to rebuild python 2.6.6 (which I did without using virtualenv) in another directory ~/usr/local/ and rebuild numpy, scipy, all libraries I needed different versions…

rafa
- 795
- 1
- 8
- 25
0
votes
1 answer
Execute script that uses my local package - ImportErrors
My project was up-and-running for a while running in a kubernetes container... until, I decided to "clean-up" my use of the sys.add calls that I had at the top of my modules. This included describing my dependencies in pyproject.toml, and…

Edmund's Echo
- 766
- 8
- 15
0
votes
1 answer
Can't use apt-get on Ubuntu 16.04 VM cuz missing python3
I can't seem to find a solution for this. I need sudo apt-get install to work because sudo apt-get -f -qq install -y doesn't work.
Here is the log:
ubuntu@ip-10-8-0-145:~$ sudo apt-get -f -qq install -y
Preconfiguring packages ...
(Reading…

tyronegcarter
- 3,876
- 4
- 21
- 24
0
votes
0 answers
What is the correct way to install dronekit on windows and ubuntu?
I am new in this. I've been having trouble installing dronekit for the past few days.
I followed one of the tutorials on YouTube where on Windows using python version 3.6.0 I managed to install dronekit. For ubuntu with version 20.04 and python…

Alesha Mardhy
- 1
- 1
0
votes
0 answers
Completely Remove Python-Related Files Windows
Something was wrong with my Python installation so I tried to fix it by uninstalling and reinstalling Python. I've tried to do so several times, but whenever I type "python" into my terminal, I get this nasty error:
Could not find platform…
0
votes
1 answer
Does package management of a WinPython installation depend on the machine?
I have a WinPython installation on a network server that I can access from two different machines. As the installation is portable, I would expect the packages versions to be the same whether I use one or the other machine.
However, I recently…

adrvs
- 1
0
votes
1 answer
python, python3, python3.7 files don't work in a venv (can't be activated)
I am trying to run some code inside a server. In that server, we use docker images to create notebooks inside directories, with commands like:
docker run -it --gpus "device=1" -p 8886:8886 -v /folder/directory:/workspace/work --name container-name…
0
votes
0 answers
How to uninstall a python version which was installed from source (Ubuntu)?
I'm on Ubuntu 22.04.1 which comes whit its own python3.11 and have just installed an alternative python version (3.7.9 ) from source (I'm not able to use apt for this python version), doing the following
cd usr/lib
sudo wget…

user17788510
- 158
- 1
- 8
0
votes
0 answers
Operation not permitted on linux-rt
I need to install python 3.9 on an embedded device so I used USB drive to not consume much storage space on the board. Yet, whenever I start installing usingmake install
I get this error :
This is the content of the installation Folder after…

Asky
- 45
- 2
- 7