0

How to install pip files?

Hot to install pip files in comp.and how to use it?python

20th Jan 2020, 5:31 AM
Eziz
3 Respostas
+ 3
https://pip.pypa.io/en/stable/user_guide/#installing-packages There you will find solutions both for Linux and Windows.
20th Jan 2020, 6:46 AM
Fernando Pozzetti
Fernando Pozzetti - avatar
+ 2
(For windows) You can use the normal way every one does to install (cmd), in this case all you have to open your IDLE, then click on open, at the top of the windows explorer, click on it and once it gets highlighted, type in 'cmd' and click enter and cmd would pop up, then type in 'python -m pip -U install 'the package you are installing goes here' then click enter, that should install it, but if you're like me who's cmd doesn't work and get error 0xc0000142, when starting the apk,🙁🙁🙁 you can write python program to do it for you: import subprocess subprocess.call('bash') Or subprocess.call('cmd.exe') If this doesn't work and shows 'no module named subprocess' i.e you don't have subprocess installed then try: import os os.system ('pip install --User 'x' ) where x is the package, For using them, you can read their documentations, get some pdfs, and watch some youtube videos, goodluck
24th Jul 2020, 7:37 AM
Praise James
Praise James - avatar
+ 2
Well, sorry if you have error 0xc0000142 on your cmd, you can't use the import os cause it still requires cmd🙁
4th Aug 2020, 6:21 PM
Praise James
Praise James - avatar