I have some questions about pip and upip.
1) What is the difference between the pip and the upip?
2) How to install upip into my PC? like from this link which is from PYPL. https://pypi.org/project/micropython-upip/
I got this after I wrote or copied"pip install micropython-upip" from pypi link.
Code: Select all
Collecting micropython-upip
Using cached https://files.pythonhosted.org/packages/29/81/52df27cb7d240190c1d3ddab0c081bd3296bedcce155eed9e7016c4d92f0/micropython-upip-1.2.6.tar.gz
ERROR: Command errored out with exit status 1:
command: 'c:\program files (x86)\python38-32\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\munyi\\AppData\\Local\\Temp\\pip-install-bvtdp9l6\\micropython-upip\\setup.py'"'"'; __file__='"'"'C:\\Users\\munyi\\AppData\\Local\\Temp\\pip-install-bvtdp9l6\\micropython-upip\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\munyi\AppData\Local\Temp\pip-install-bvtdp9l6\micropython-upip\pip-egg-info'
cwd: C:\Users\munyi\AppData\Local\Temp\pip-install-bvtdp9l6\micropython-upip\
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\program files (x86)\python38-32\lib\tokenize.py", line 392, in open
buffer = _builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\munyi\\AppData\\Local\\Temp\\pip-install-bvtdp9l6\\micropython-upip\\setup.py'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
After downloading the package of micropython-upip meant this will not happen? (below)
Command Prompt does not recognize micropython.
Code: Select all
'micropython' is not recognized as an internal or external command,
operable program or batch file.