error when trying to run a code at pycharm and when typing pip at the cmd

20
November 24, 2020, at 6:50 PM

I want to start with web development with python, django, react, javascript and when I download node.js at the windows PowerShell it showed me that its downloading python again and now when I want to run a code at PyCharm it is showing me this error:

Error running 'some new sobject': Cannot run program "C:\Users####\AppData\Local\Programs\Python\Python39\python.exe" (in directory ""): CreateProcess error=2, The system cannot find the file specified

or when I'm typing pip at the cmd it is showing me this error:

Fatal error in launcher: Unable to create process using '"c:\users????\appdata\local\programs\python\python39\python.exe" "C:\Users????\AppData\Local\Programs\Python\Python39\Scripts\pip.exe" ': The system cannot find the file specified.

I searched for some answers and nothing works should I redownload python?

Answer 1

as @Ruli said, it can be due to some special character in the File Name or a Folder, or it can be anything.

My suggestion is to move that whole folder that is default created by PyCharm, and move it somewhere like C:\ , so it is easier to locate the file and run it.

or if you have any other drive like D:\ or E:\ , move it there and try to run the program from the Command Line.

READ ALSO
Upgrading Hapi and JWT validation to latest version

Upgrading Hapi and JWT validation to latest version

I've been asked to update an old project to the latest dependencies, and I'm facing some troubles with JWT authentication

32
my get request does not work but changing it to a post works

my get request does not work but changing it to a post works

I have a get request that should return all of the logged-in user's project they created, I believe the code was written wellwhen I run it on postman I consistently get a 401 unauthorised error, but when I change the request to patch for example, and I also run a patch request...

21
Google mobile friendly url testing tool giving 502 error

Google mobile friendly url testing tool giving 502 error

I am using google search console's URL testing tools API for a while, and I am receiving a bunch of 502 bad gateway errorsI had submitted a quota increase request to bump up our default requests per day and described that we needed an increase in requests...

50