Questions tagged [python-install]

To be used for any installation queries regarding python and its associated packages.

98 questions
47
votes
4 answers

What path to install Python 3.6 to on Windows?

The 3.6 installer suggests C:\Users\MyUserName\AppData\Local\Programs\Python\Python36-32 which is unlike any other software on Windows. I remember that earlier versions installed to C:\PythonXY which is also unusual on Windows. Is any of that…
boot4life
  • 4,966
  • 7
  • 25
  • 47
27
votes
2 answers

Python setuptools/distutils custom build for the `extra` package with Makefile

Preamble: Python setuptools are used for the package distribution. I have a Python package (let us call it my_package), that has several extra_require packages to it. Everything works just find (installation and build of the package, as well as…
26
votes
7 answers

ImportError: No module named argparse

I am trying to run a Python program but get the error ImportError: No module named argparse I found the question “argparse Python modules in cli” here on StackOverflow and tried the first comment, i.e. running the command python -c "import…
alex
  • 2,252
  • 4
  • 23
  • 34
15
votes
1 answer

python installing package with submodules

I have a custom project package with structure like: package-dir/ mypackage/ __init__.py submodule1/ __init__.py testmodule.py main.py requirements.txt setup.py using cd…
muon
  • 12,821
  • 11
  • 69
  • 88
12
votes
4 answers

How to install Python using Windows Command Prompt

Is it possible to install Python from cmd on Windows? If so, how to do it?
madasionka
  • 812
  • 2
  • 10
  • 29
12
votes
1 answer

How to run python production on customer environment

I have some python application that should run on customer site. I compile my py files to pyc (python byte code). What is the standard way to run the app on the customer environment? The options I see are: As part of my installer, install some…
Mugen
  • 8,301
  • 10
  • 62
  • 140
9
votes
2 answers

Python installed for all users or current user only?

Using Python, How can I programmatically find whether the Python installed in my PC is installed for all users or for current user only?
7
votes
5 answers

Adding into Path var while silent installation of Python - possible bug?

I need to passively install Python in my applications package installation so i use the following: python-3.5.4-amd64.exe /passive PrependPath=1 according this: 3.1.4. Installing Without UI I use the PrependPath parameter which should add paths…
Erik Šťastný
  • 1,487
  • 1
  • 15
  • 41
6
votes
3 answers

Accessing Data Resources for Python Poetry Based Packages

I recently started experimenting with Poetry for package and dependency management, and I am still getting used to the differences between it and my experience with setuptools. Specifically, I would appreciate help in understanding how to handle…
rhurwitz
  • 2,557
  • 2
  • 10
  • 18
6
votes
1 answer

How to include git branch in installing from requirements in Python?

Hi I need to install from a branch of a git repo. I want to include it on the requirements.txt so that it would install using the command pip install -r requirements.txt What I know is how to install from master branch (See git ssh entry…
Nikko
  • 1,410
  • 1
  • 22
  • 49
6
votes
2 answers

Why wouldn't I want to add Python.exe to my System Path at install time?

I'm reinstalling Python, on Windows 7, and one of the first dialog boxes is the Customize Python screen. The default setting for "Add Python.exe to Path" is "Entire feature will be unavailable." I always change this to "Will be installed on local…
Seamus Nanatchk
  • 227
  • 1
  • 2
  • 8
5
votes
2 answers

Do I need to install Python if I already have the Anaconda distribution installed and want to use other text editors?

I am new to Python and programming in general and have been using Spyder IDE from the Anaconda distribution for the past few months on Windows 10. It has been really simple and easy to download and use, and I can run all of my code within the IDE,…
H_Boofer
  • 413
  • 1
  • 3
  • 13
5
votes
2 answers

Install mulitple versions of Python 3 on MacOS

I want to have multiple versions of Python 3 on MacOS. For example I need Python3.6 and Python3.7. When using Linux I would simply create an alt install by building Python from source, as follows: Download the source tarball for a specific Python…
darkpool
  • 13,822
  • 16
  • 54
  • 89
5
votes
2 answers

Installing Biopython: ImportError: No module named Bio

trying to install Biopython on Fedora 21, Python 2.7. I've done the following [mike@localhost Downloads](17:32)$ sudo pip2.7 install biopython You are using pip version 6.1.1, however version 7.1.0 is available. You should consider upgrading via the…
Mike
  • 633
  • 3
  • 9
  • 18
4
votes
1 answer

How to remove python from windows which is not found in program files of control panel

I had python version 3.8.2 installed but it was version 32bit so I uninstalled it but after uninstalling when I type python --version in cmd it showed like this, Then I used Anaconda prompt and typed python it showed like this, So I'm a bit…
ArchieVon
  • 183
  • 1
  • 2
  • 16
1
2 3 4 5 6 7