106 questions
-1
votes
1
answer
132
views
Mac: Can installing Python wrong break other codes etc.?
Can installing Python 3 wrong break other codes, applications etc. in Mac; or can I just install how I want? Cause I code in Python 3 and my Mac's built-in is 2.7
(By "how i want", I mean ...
5
votes
2
answers
43k
views
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 ...
4
votes
2
answers
13k
views
How to install and use both python 3.8 and 3.7 on windows 10
How to use Python 3.8 and 3.7 on Windows 10. I want to make two applications, but one requires 3.8 and another one 3.7.
So how to manage both versions in one Windows 10.
9
votes
3
answers
8k
views
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 ...
10
votes
2
answers
40k
views
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 ...
9
votes
1
answer
8k
views
How to include git branch in installing from requirements in Python? [duplicate]
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 ...
1
vote
0
answers
36
views
What is the difference between pip and !pip which are used during python package installation? [duplicate]
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.
0
votes
1
answer
299
views
run python in visual studio express 2017
I'am using visual studio express 2017 and I'd like to use it to developp in python. The thing is that I find many installation tutorial to use it with Community (or upper) but not Express.
I can't ...
0
votes
2
answers
1k
views
Cant import numpy or install numpy
I am using Python 3.8.0
I am trying to import Numpy in Python Shell but got this error: " ModuleNotFoundError: No module named 'numpy' "
So I tried installing numpy in cmd by typing "pip install ...
2
votes
2
answers
10k
views
Python 3.7, cannot import pyzbar
I'm trying to decode a QR Code and I'm using Python 3.7 on Mac OS Mojave.
I am trying to use pyzbar but I always have a message :
ModuleNotFoundError: No module named 'pyzbar'
when I use in my ...
0
votes
2
answers
8k
views
import dlib ModuleNotFoundError: No module named 'dlib' in python IDLE
I have installed dlib using Anaconda 3 prompt.
It has shown me that it got installed successfully. I checked through command import dlib it did not give me any error even I checked the version also it ...
0
votes
1
answer
3k
views
Python setup.py - dont build wheel when running setup.py install
I want to use setup.py and all it's functionality but I don't want a wheel to be built for the installable project. Is there a flag or somthing just skip building wheel?
The reason behind this is I ...
1
vote
1
answer
429
views
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 ...
5
votes
2
answers
8k
views
Install mulitple versions of Python 3 on MacOS [duplicate]
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:
...
-2
votes
1
answer
3k
views
How to create installer for python application? [duplicate]
I have developed an application which has multiple file and some dependent libraries such as bacpypes, requests, rdflib etc.
I want to create an installer which will install all the packages along ...
0
votes
0
answers
218
views
opening python interpreter in command line even when python 3.7 and launcher is not added to path
I have installed python without adding python to PATH and disabling py launcher. Yet when i type python -3.7 or py -3.7 in the command prompt, the python interpreter opens. As far as i have researched ...
5
votes
1
answer
18k
views
Failing to install Sk-learn (scikit-learn) in Google Colab directly from Github
I am using Google Colaboratory, which seems to have sk-learn built-in already somehow, because all you have to do to import the TSNE module is from sklearn.manifold import TSNE
I have forked a ...
3
votes
6
answers
15k
views
cannot properly import the chatterbot and its corpus
I have used:
|
+ - lib
| |
| + - chatterbot
| |
| + - chatterbot_corpus
+ - main.py
I am getting this error:
Traceback (most recent call last):
File "main.py", line 1, in <...
-3
votes
1
answer
601
views
How to install Python 3.6.4 on Windows 8.1 Pro?
Python installed but all the required folders are missing on the python folder.
7
votes
5
answers
8k
views
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 ...
0
votes
1
answer
6k
views
Syntax Error installing scikit-learn using pip from SHELL
The following gives a syntax error:
python -m pip install scikit-learn
SyntaxError: invalid syntax
There is a "^" under the 2nd 'p' in pip.
I am using the SHELL. There are two programs in the ...
1
vote
1
answer
1k
views
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 ...
21
votes
5
answers
275k
views
How to install Python using Windows Command Prompt
Is it possible to install Python from cmd on Windows? If so, how to do it?
15
votes
1
answer
16k
views
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
...
0
votes
2
answers
4k
views
Installing joblib error in Python
I have been getting this error when I try to install joblib. How do I get around it?
joblib/test/data/joblib_0.9.4.dev0_compressed_cache_size_pickle_py35_np19.gz_01.npy.z -> build/lib/joblib/test/...
52
votes
4
answers
123k
views
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 ...
1
vote
2
answers
851
views
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/...
0
votes
1
answer
613
views
Unable to install python
I tried to manually install Python on OpenSuSE Linux, by downloading the source, and run:
configure --prefix=/path/to/my/dir/installed/python
and
make && make install
(I have to do it this ...
5
votes
1
answer
335
views
Getting an error while installing Python 3.4.4 in Linux
While installing Python 3.4.4 into Linux server by running ./configure script and getting the following error:
checking for ensurepip... upgrade
configure: creating ./config.status
config.status: ...
1
vote
2
answers
139
views
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 reference:
https://www....
0
votes
1
answer
525
views
scipy installation in windows 10 using pip
From the past two days, I've been trying to install scipy from the wheel file available from http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy in my windows laptop 64 bit built and running Python 2.7.3....
11
votes
2
answers
43k
views
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?
27
votes
2
answers
7k
views
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 (...
3
votes
2
answers
3k
views
How to know which .whl module is suitable for my system with so many?
We have so may versions of wheel.
How could we know which version should be installed into my system?
I remember there is a certain command which could check my system environment.
Or is there any ...
13
votes
1
answer
5k
views
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 ...
2
votes
1
answer
141
views
Trouble running new Python version after uninstalling older and installing new (MAC)
I was trying to uninstall my Anaconda version of Python and reinstall the regular Python 3.5 version (mac). I used the answer from this SO question to remove the Anaconda folder using rm -rf ~/...
0
votes
1
answer
517
views
Installing python 2.7.11 on shared hosting gives permission denied
I am following this guideline to install python 2.7.11 on a CentOs shared hosting (bluehost).
I get the following error during the make install phase:
(cd /home2/some_user/python/bin; ln -s python2 ...
1
vote
0
answers
299
views
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 ...
1
vote
1
answer
3k
views
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",...
1
vote
2
answers
3k
views
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 ...
0
votes
0
answers
228
views
Python 3.5 Tkinter "unstable" warning in IDLE [duplicate]
I just installed Python 3.5 from the python website. After seeing this error message on IDLE :
WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable.
Visit http://www.python.org/download/...
1
vote
3
answers
426
views
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 (...
5
votes
2
answers
12k
views
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 ...
2
votes
1
answer
3k
views
Python maximum recursion depth exceeded when installing a module
I got maximum recursion depth exceeded when installing gcs-oauth2-boto-plugin-1.4 on my mac. I downloaded and unzipped the package, ran sudo python setup.py install under the installation directory, ...
0
votes
1
answer
93
views
python install from python script causes reboot
I have a python script where I am doing unattended installs of a bunch of apps. One of the apps itself installs specific python version 2.6-32bit, pywin32 and some other packages, then fixes the ...
7
votes
2
answers
12k
views
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 ...
2
votes
1
answer
5k
views
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 ...
1
vote
1
answer
58
views
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, ...
0
votes
2
answers
848
views
Install python module to non default version of python using .sh
I have a problem similar to this post: Install python module to non default version of python on Mac, so I am aware of those solutions, but they do not work for me.
I am installing M2Crypto on CentOS,...
27
votes
7
answers
112k
views
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....