Windows 10: Fix Command python setup.py egg_info failed with error code 1

Discus and support Fix Command python setup.py egg_info failed with error code 1 in Windows 10 News to solve the problem; [ATTACH]If you see Command python setup.py egg_info failed with error code 1 when Installing Python, then the setup tool on your computer might not be... Discussion in 'Windows 10 News' started by WinClub, Jul 29, 2021.

  1. WinClub New Member

    Fix Command python setup.py egg_info failed with error code 1


    Fix Command python setup.py egg_info failed with error code 1 fix-command-python-setup.py-egg.jpg
    If you see Command python setup.py egg_info failed with error code 1 when Installing Python, then the setup tool on your computer might not be installed or updated. In this article, we will fix this error with some simple solutions. Fix Command python setup.py egg_info failed with error code 1 These are the things you […]

    This article Fix Command python setup.py egg_info failed with error code 1 first appeared on TheWindowsClub.com.

    read more...
     
    WinClub, Jul 29, 2021
    #1

  2. python script does not run from commandline

    hello,

    I'm having problems suddenly running .py scripts from the command line. (CMD)

    Before, *.py was associated with python.exe (The association was created during python installation, associating python scripts (.py) with the proper executable.

    With the proper association of the .py file to python.exe , the location of the python.exe in the %PATH% variable - and the python extension in the %PATHEXT% , just typing '.\myscript.py' would launch the script in using the correct python.exe (using the
    CMD line)

    However, for some reason this suddenly changed last week. Now, typing '.\myscript.py' does nothing - simply shows me the next prompt in the CMD window.

    typing 'python myscript.py' still works, but since there are a load of batch files lingering around running the .py scripts without the explicit 'python' prefix - I have no idea what changed and i'd like to find out what's going on and fix this.

    I browsed various forums - mentioning assoc and ftype, but these do not seem to do the trick

    (in fact, on my tablet, typing .\myscript.py perfectly executes, and assoc/ftype seem to have nothing set for python scripts in the CMD window)

    On the pc in question:

    assoc .py returns 'Python.File' , ftype Python.File shows the path/python.exe to my python executable - yet when typing myscript.py in the CMD line, it does nothing.

    I also tried associating the .py extension using the 'Run with' again, (was still showing 'python') but this too changed nothing.

    I also checked the registry, to see what windows might be doing with .py extension, but although there are some references to the .py extension, some of which referring to the python.exe I like to use, it's hard to see what's going on there (not sure which
    registry items are or used for what or even if they are used in win10.)

    I 'repaired' my python install - then completely reinstalled python (adding registry entries) but nothing changed.

    when typing '.\myscript.py' on the command line - nothing happens, just the next prompt.

    when double clicking the python script - it does seem to be associated with the proper python version, it does start using the right python.exe

    My question(s)

    - if possible, how do I see (using the cmd line) what is windows is actually doing (trying to do) when I type 'myscript.py' (can I start CMD using some debug/verbose options?)

    - How/where in windows do i control how a .py script runs in the commandline? - apart from the 'run with' is there any way to tell windows how to run my python script, when I type myscript.py on the command line?

    - are there additional options for the powershell to deal with this?

    - is there a way, again from windows, to add details to the 'run with' , rather then just starting the .py using a python from the list, to tell it to use certain arguments?

    - When using 'run with' , and seeing a python logo - is there a way to tell the exact path/execution line associated with that logo?

    (if not, i really think it should be possible to see this when that list pops up using some advanced settings or something )

    any help and insights would be much appreciated.

    cheers

    GJ
     
    GertJanOurensma, Jul 29, 2021
    #2
  3. Brink Win User
    Python in Visual Studio Code - January 2019 Release


    Read more: Python in Visual Studio Code Python at Microsoft
     
    Brink, Jul 29, 2021
    #3
  4. Brink Win User

    Fix Command python setup.py egg_info failed with error code 1

    Python in Visual Studio Code - May 2018 Release

    Source: Python in Visual Studio Code - May 2018 Release Python at Microsoft
     
    Brink, Jul 29, 2021
    #4
Thema:

Fix Command python setup.py egg_info failed with error code 1

Loading...
  1. Fix Command python setup.py egg_info failed with error code 1 - Similar Threads - Fix Command python

  2. How do I fix error code -1??

    in Windows 10 Gaming
    How do I fix error code -1??: I keep trying to buy something but this error -1 keeps popping up https://answers.microsoft.com/en-us/windows/forum/all/how-do-i-fix-error-code-1/7dacef8c-e71c-4e86-8bcd-f66802517afc
  3. How do I fix error code -1??

    in Windows 10 Software and Apps
    How do I fix error code -1??: I keep trying to buy something but this error -1 keeps popping up https://answers.microsoft.com/en-us/windows/forum/all/how-do-i-fix-error-code-1/7dacef8c-e71c-4e86-8bcd-f66802517afc
  4. How do I fix error code -1??

    in Windows 10 Installation and Upgrade
    How do I fix error code -1??: I keep trying to buy something but this error -1 keeps popping up https://answers.microsoft.com/en-us/windows/forum/all/how-do-i-fix-error-code-1/7dacef8c-e71c-4e86-8bcd-f66802517afc
  5. Failed to build hnswlib in python

    in Windows 10 Software and Apps
    Failed to build hnswlib in python: HII am trying to install chromadb with !pip install chromadb and I get the following messages.Building wheels for collected packages: hnswlib Building wheel for hnswlib pyproject.toml: started Building wheel for hnswlib pyproject.toml: finished with status 'error' Failed to...
  6. Failed to build hnswlib in python

    in Windows 10 Gaming
    Failed to build hnswlib in python: HII am trying to install chromadb with !pip install chromadb and I get the following messages.Building wheels for collected packages: hnswlib Building wheel for hnswlib pyproject.toml: started Building wheel for hnswlib pyproject.toml: finished with status 'error' Failed to...
  7. Failed to build hnswlib in python

    in Windows 10 Installation and Upgrade
    Failed to build hnswlib in python: HII am trying to install chromadb with !pip install chromadb and I get the following messages.Building wheels for collected packages: hnswlib Building wheel for hnswlib pyproject.toml: started Building wheel for hnswlib pyproject.toml: finished with status 'error' Failed to...
  8. Fix SteamVR Fail Error Code -203

    in Windows 10 News
    Fix SteamVR Fail Error Code -203: [ATTACH]A lot of users have complained about Error Code -203 on SteamVR. As per the reports, a game crashes when trying to play it in the SteamVR with the error code in question. This can happen because of multiple reasons, but the good news is that it can be resolved pretty...
  9. Command Prompt exited with code 1

    in Windows 10 BSOD Crashes and Debugging
    Command Prompt exited with code 1: [ATTACH] Hi, I'm having this error problem and couldn't run any file and Jupyter notebook is not working also. https://answers.microsoft.com/en-us/windows/forum/all/command-prompt-exited-with-code-1/8f05ee60-869b-4234-8de6-9b42b3ebd364
  10. Simple python code

    in Windows 10 Customization
    Simple python code: Hi microsoft, I have simple python 3.x code script.py: import os os.popen"pip install pillow".read when I try to call this using "python script.py" I allways get yellow color of texts in command line after the script finishes. Is that only my bug? Thank you...