Error:
Fatal error in launcher: Unable to create process using '"c:\python39\python.exe" "C:\Python39\Scripts\pip.exe" install virtualenv': The system cannot find the file specified.
Image:
CodePudding user response:
Take a look at this and this It looks to me like you are trying to install without the prerequisites. Have you checked all your dots from everything that is required?
CodePudding user response:
Based on the errors, it seems like your pip is installed in another version of your python, which is the python310. However, the python you executed on default is on python39
Firstly, you can use this command to check how many version of python you've installed and their path
py -0p
Therefore, if you want to call pip from your python310, you have to specify the version of you python. Try this
py -3.10 pip --version
Alternatively, if you want to call pip from c:\python39\python.exe
. You should install your pip in this folder. You may follow this instruction to download pip correctly at desired directory.