How can I solve this Error while trying to run github code at Anaconda3 prompt Error Command errored out with exit status 1 python setup py egg info Check the logs for full command output

0 votes
ERROR: Command errored out with exit status 1:
     command: 'c:\users\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\thein\\AppData\\Local\\Temp\\pip-req-build-ct25t2vi\\setup.py'"'"'; __file__='"'"'C:\\Users\\\AppData\\Local\\Temp\\pip-req-build-ct25t2vi\\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\thein\AppData\Local\Temp\pip-pip-egg-info-t38w_tw8'
         cwd: C:\Users\AppData\Local\Temp\pip-req-build-ct25t2vi\
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "c:\users\anaconda3\lib\tokenize.py", line 392, in open
        buffer = _builtin_open(filename, 'rb')
    FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\AppData\\Local\\Temp\\pip-req-build-ct25t2vi\\setup.py'
Dec 16, 2020 in Python by anonymous
• 120 points
3,634 views

1 answer to this question.

0 votes

Hi, @There,

Try this:

Rollback pip to an older version:
python -m pip install pip==18.1

Install desired module:
pip install pyautogui

Update pip:
python -m pip install --upgrade pip
answered Dec 16, 2020 by Gitika
• 65,770 points

Related Questions In Python

0 votes
2 answers
0 votes
1 answer
0 votes
11 answers
0 votes
1 answer

I want to download a file from the website by web scraping. Can anyone explain how to do this in jupyter lab (python) with an example?

Hey, Web scraping is a technique to automatically ...READ MORE

answered Apr 7, 2020 in Python by Gitika
• 65,770 points
2,387 views
0 votes
1 answer

I've been trying to run this code, but the error says "Expected an indented block" for the line, " word_as_list[index] = guess."

Hi, @Paradox, The error message IndentationError: expected an indented ...READ MORE

answered Nov 21, 2020 in Python by anonymous
• 65,770 points
1,080 views
+2 votes
10 answers

How to fix this? ValueError: invalid literal for int() with base 10 error in Python

The following are totally acceptable in python: passing ...READ MORE

answered Nov 16, 2018 in Python by Nymeria
• 3,560 points
409,214 views
0 votes
3 answers
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP