Pip lining

I currently have Python 3.5 on my windows machine. I am trying to install a Python package using the pip install command, but as soon as I click nothing will happen. The action freezes for such a long time, and when I try to exit the command line, it freezes. How can I make pp install work?

+5
source share
2 answers

@JBernardo comment worked for me. Thanks!

python -m pip install some_package_you_want 
+4
source

Try using pip programmatically as shown below.

 import pip pip.main(['install', 'the_package_you_want_installed']) 
0
source

Source: https://habr.com/ru/post/1236849/


All Articles