Don’t panic if you get the error message Command Python egg info failed with error code 1 while attempting to install a Python package. In the Python standard errno system symbols, the error code 1 is defined as Operation not authorised. This problem usually occurs when your setuptools aren’t installed or updated. In this article, we’ve outlined the approaches that most users found to resolve this problem effectively.
How to Fix Command Failed With Error Code 1 Python Egg Info
According to user complaints, the problem happens most frequently when your pip or setuptools are old or poorly installed. You may also obtain the pip install failed with error code 1 if the ez_setup module is missing on your PC. So, follow the below troubleshooting methods to resolve the same.
Method 1: Ensure PIP & Setuptools Working Correctly
Before updating, make sure you have pip and setuptools installed. It will display their current version numbers. You can determine whether your pip or setuptools version is outdated and causing the error. Here’s how to figure out the version of pip and setuptools you have.
1. അമർത്തുക വിൻഡോസ് കീ, ടൈപ്പ് ചെയ്യുക cmd, ക്ലിക്കുചെയ്യുക നിയന്ത്രണാധികാരിയായി സമാരംഭിക്കുന്നതിന് കമാൻഡ് പ്രോംപ്റ്റ്.
2. ക്ലിക്ക് ചെയ്യുക അതെ ലെ ഉപയോക്തൃ അക്കൗണ്ട് നിയന്ത്രണം പ്രോംപ്റ്റ്.
3. ടൈപ്പ് ചെയ്യുക പൈപ്പ് ലിസ്റ്റ് command and hit the കീ നൽകുക to get a list of installed packages.
3A. If the സജ്ജീകരണങ്ങൾ show in the packages list, your machine already has it installed.
കുറിപ്പ്: Now, you may check the version and see how it compares to the most recent version.
3B. If pip and the setuptools versions are not displayed, follow the next method to update them.
Method 2: Upgrade Setuptools
If you already have setuptools installed, try upgrading them to the most recent version. Follow the steps below to update your setuptools to fix command failed with error code 1 Python egg info.
1. സമാരംഭിക്കുക കമാൻഡ് പ്രോംപ്റ്റ് അഡ്മിനിസ്ട്രേറ്ററായി.
2. ക്ലിക്ക് ചെയ്യുക അതെ ലെ ഉപയോക്തൃ അക്കൗണ്ട് നിയന്ത്രണം പ്രോംപ്റ്റ്.
3. To update the setuptools, type the following കമാൻഡ് അമർത്തുക കീ നൽകുക.
pip install –upgrade setuptools
കുറിപ്പ്: If you’re using Terminal, ensure you include സുഡോ before the command.
4. It will provide the result വിജയകരമായി ഇൻസ്റ്റാൾ ചെയ്തു.
വായിക്കുക: How to Fix javascript:void(0) Error
Method 3: Upgrade PIP
The command Python setup might also be caused by pip. The command python egg info failed with the error code 1. We recommend that you switch to the most recent version of pip if you are using an older version. Simply follow the procedures below to upgrade pip.
1. തുറക്കുക കമാൻഡ് പ്രോംപ്റ്റ് as administrator from Windows തിരയൽ.
2. ഇനിപ്പറയുന്നത് ടൈപ്പ് ചെയ്യുക കമാൻഡ് എന്നിട്ട് അമർത്തുക കീ നൽകുക to update pip.
python -m pip install -U pip
Method 4: Install ez_setup
The ez setup module helped several users solve their problems. A missing module might sometimes cause your system’s Python egg info issue. For many people, installing it fixed the problem. Follow the instructions below to solve the Python egg info issue:
1. Again, launch the കമാൻഡ് പ്രോംപ്റ്റ് അഡ്മിനിസ്ട്രേറ്ററായി.
2. To install the EZ setup, type the following കമാൻഡ് അമർത്തുക കീ നൽകുക.
pip install ez_setup
3. The message വിജയകരമായി ഇൻസ്റ്റാൾ ചെയ്തു will be returned, along with the version name.
വായിക്കുക: Windows 10-ൽ ജാവ വെർച്വൽ മെഷീൻ സൃഷ്ടിക്കാൻ കഴിഞ്ഞില്ല പരിഹരിക്കുക
Method 5: Install Python Properly
It’s possible that Python isn’t installed on your computer. Run the following command to see if Python is installed properly to fix command failed with error code 1 Python egg info.
1. തുറക്കുക കമാൻഡ് പ്രോംപ്റ്റ് with administrator privilege.
2. ഇനിപ്പറയുന്നത് ടൈപ്പ് ചെയ്യുക പൈത്തൺ -V കമാൻഡ് അമർത്തുക കീ നൽകുക to install EZ setup.
3. If you see an error message, it implies പൈത്തൺ isn’t installed on your machine.
To install Python, follow the instructions below:
1. ഡൗൺലോഡ് ചെയ്യുക പൈത്തൺ അതില് നിന്ന് ഔദ്യോഗിക സൈറ്റ്.
2. പ്രവർത്തിപ്പിക്കുക സജ്ജമാക്കുക ഫയല് when it has been downloaded.
3. Follow the on-screen instructions to install പൈത്തൺ.
കുറിപ്പ്: പരിശോധിക്കുന്നത് ഉറപ്പാക്കുക PATH-ലേക്ക് പൈത്തൺ 3.10 ചേർക്കുക option while installing.
4. എക്സിക്യൂട്ട് ചെയ്യുക പൈത്തൺ -V command once again when the installation is complete.
ശുപാർശ ചെയ്ത:
We hope you found this information useful and that you were able to fix command failed with error code 1 Python Egg Info issue. Please let us know which technique was the most beneficial for you. Please use the form below if you have any queries or comments. Also, let us know what you want to learn next.