Skip to content
Advertisement

Tag: pip

Can’t fix “zipimport.ZipImportError: can’t decompress data; zlib not available” when I type in “python3.6 get-pip.py”

I was trying to install Django. Turns out that course’s teacher said that we will be working with Python 3.6 I install Python 3.6. Now it’s my default, it somewhat replaced the last version I had; which is Python 3.5. Everything ok until that. But when I want to install Django doing “pip3 install django”, it tells me that the

Pipenv stuck “⠋ Locking…”

Why is my pipenv stuck in the “Locking…” stage when installing [numpy|opencv|pandas]? When running pipenv install pandas or pipenv update it hangs for a really long time with a message and loading screen that says it’s still locking. Why? What do I need to do? Answer Your package(s) are being installed and your wheel is being built Perhaps better terminology

Not able to install python modules due to multiple issues

I work behind a corporate firewall. I need pymssql library to use some queries. I try installing via pip, which gives me the error: ‘pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.’ I install openssl as mentioned by multiple answers in this site from https://slproweb.com/products/Win32OpenSSL.html. I get the same error even

pip install & uninstall recursively in non-interactive mode

As a part of my bash script, I want to install and uninstall pip dependencies that I have their names in a file in a non-interactive mode. I was able to search around and find these commands: I wasn’t able to find –yes & –no-input options in the help doc of pip, and I’m not sure if they are officially

How do I solve error “dotenv installation error” on pycharm

I am trying to install dotenv package on pycharm edu,but keep getting error that reads “AttributeError: module ‘importlib._bootstrap’ has no attribute ‘SourceFileLoader’ ” I tried to solve this using the python terminal by running command “pip install –user dotenv” as root user but still got the same error command output reads as follows Command “python setup.py egg_info” failed with error

ModuleNotFoundError: No module named ‘face_recognition’

When I run above code, I’ve found following error message. Traceback (most recent call last): File “sample.py”, line 1, in import face_recognition And I’ve checked that I’ve found following error message when I’ve installed face_recognition library. pip install face_recognition Command “/usr/local/opt/python/bin/python3.7 -u -c “import setuptools, tokenize;file=’/private/var/folders/lj/cyczw6r164b5f3q1dvmbbkfh0000gn/T/pip-install-gk35rom0/dlib/setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(‘rn’, ‘n’);f.close();exec(compile(code, file, ‘exec’))” install –record /private/var/folders/lj/cyczw6r164b5f3q1dvmbbkfh0000gn/T/pip-record-3enjhgfq/install-record.txt –single-version-externally-managed –compile” failed with error code

No module named “Torch”

I successfully installed pytorch via conda: I also successfully installed pytorch via pip: But, it only works in a jupyter notebook. Whenever I try to execute a script from the console, I get the error message: No module named “torch” Answer Try to install PyTorch using pip: First create a Conda environment using: Activate the environment using: Now install PyTorch

Why does pip install not work for catboost?

I have to install catboost but can not make it by pip install catboost. There is not catboost library in Anaconda, so pip in the one way. The error message is: Python version is 3.6.3. Screenshot of error: error message I’ve tried : and None of these works. Why does this problem appeared and is there another way to install

Pip not working with Python3.6 (Ubuntu 14)

I have a lot of problems that I don’t understand with python and its different versions. I am doing a CS50 Web online course, and I need pip3 for python 3.6 or higher. The case is that I can’t use pip for python 3.6. Under /usr/local/bin I can find different pip files: pip, pip2, pip2.7, pip3 and pip3.4. Anyway, if

How to install pip for python3.7 only?

I have python3.7 and I want to install pip. However when I do the following: It seems to download python version 3.6 and pip for that. Is there a way to not download python3.6 and just download pip for python3.7? It seems rather strange that pip is download a whole other package. Answer if you check apt show python3-pip output

Advertisement