“C:\Program Files\universal\python36\scripts\pip3 install requests” pip fatal error in launcher: unable to create process using ‘”‘
This is because we install in the “C:\Program Files” location. In order to install the required python modules, you can run the following commands from a command prompt (replacing "requests" with the required module name):
'C:\Program Files\Universal\Python36\python.exe' import pip pip.main([‘install’,’requests’])
# -- Import requests, if error then install requests try: import requests except: try: from pip import main as pipmain except: from pip._internal import main as pipmain pipmain( [ "install", "--trusted-host=pypi.python.org", "--trusted-host=pypi.org", "--trusted-host=files.pythonhosted.org", "requests", ] ) import requests
This works for all platforms.
Did this guide help you learn something new? Feel free to share it with your colleagues.