The problem originates when I start by cloning a git project that uses pipenv, so it has a Pipfile + Pipfile.lock. I want to use a virtual environment with the project so I run pipenv shell. I now have a virtual environment created and I am inside the virtual environment. The project obviously has a lot of dependencies (listed in
Tag: pip
How to fix installation issues for PyAudio, PortAudio: “fatal error C1083: Cannot open include file: ‘portaudio.h’: No such file or directory”
I am having issues installing PyAudio and portaudio. When I do python -m pip install pyaudio I get this error: So after looking that error up, I read I need to install portaudio. So I did python -m pip install portaudio and got this error: I have no idea where to go from here now. Answer portaudio is not a
pip3: bad interpreter: No such file or directory
I am trying to install dependencies using pip3 command current scenario: I have no idea why my pip3 command is not working. I have tried things like this: Answer You’ve got a whole slew of different Python installations, plus at least one former Python installation that you deleted. Situations like this are exactly why running pip or pip3 directly is
pip install mysqlclient : Microsoft Visual C++ 14.0 is required
i’m tryng to import mysqlclient library for python with pip, when i use the command pip install mysqlclient it return an error: I’ve already installed Microsoft Build Tools 2015 but the problem persist Answer First install python 3.6.5, then run
Error “pip install boto3”
Answer Upgade pip as follows: curl https://bootstrap.pypa.io/get-pip.py | python It can be usefull for you, maybe you have to execute sudo python
Pycharm Can’t install TensorFlow
I cannot install tensorflow in pycharm on windows 10, though I have tried many different things: went to settings > project interpreter and tried clicking the green plus button to install it, gave me the error: non-zero exit code (1) and told me to try installing via pip in the command line, which was successful, but I can’t figure out
How to uninstall corrupt pip
I did a pip operation and got a suggestion from pip to upgrade: You are using pip version 9.0.1, however version 9.0.3 is available. You should consider upgrading via the ‘pip install –upgrade pip’ command. Unfortunately I upgraded using sudo, even though I’m not convinced it is what actually caused my problems: sudo pip install –upgrade pip Now whatever I
What are the valid values for –platform, –abi, and –implementation for pip download?
pip download has several flags that I would like to play with –platform, –abi, and –implementation. Where can I find the complete list of valid values for these flags? Answer I don’t think there is one definitive list. You have to collect it from different sources. Start with PEP 425: https://www.python.org/dev/peps/pep-0425/ python tag: ‘py27’, ‘cp33’ abi tag: ‘cp32dmu’, ‘none’ platform
Python PIP giving error – “AttributeError: ‘module’ object has no attribute ‘ip_address'”
I am actually having a problem with installing any modules using PIP. Whenever I run PIP like pip install module_name OR sudo pip install module-name ” then it’ll show an error like this:- Importantly:- Reinstalling does nothing Answer I fixed it by using the following commands:
How to prevent pip from replacing numpy+mkl with just numpy when installing packages that require numpy?
When I pip install (or pip install –upgrade) packages that require numpy, they have a tendency to uninstall my existing numpy+mkl (which has a high enough version to satisfy the numpy version requirement). Afterwards, they install numpy without +mkl, which causes problems for other packages that do require MKL. An example for which this happens is gym (which has ‘numpy>=1.10.4’