Skip to content

Tag: pip

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) ar…

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…

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…

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 e…

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 an…

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 …

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 …