• Register
0 votes
271 views

I am new in python programming. I am tryin gto iinstall some packages with pip commands. I tried to install a package called unroll by using the command:

pip[ install unroll

but it gives me some error like :

"python setup.py egg_info" failed with error code 1

How can I solve this problem?

How can I check my pip version?

How can I upgrade my pip version?

10 7 2
6,060 points

Please log in or register to answer this question.

3 Answers

1 vote

You can follow the official documentaion of python from: 

https://docs.python.org/2/library/errno.html

The error code 1 is defined in error.h and it says that ‘Operation is not permited’

If you don’t have a setuptools get it from:

https://packaging.python.org/tutorials/installing-packages/

 If your setuptools is already installed try:

pip install --upgrade setuptools

If it is already upgraded check that the module name ‘ez_setup’ is not missing.

If it is missing then try:

pip install ez_setup

then again you may try :

pip install unroll

To check your pip version use the command:

pip --version

To upgrade your pip version use the command:
 

python -m pip install –upgrade pip

 

11 6 4
34,950 points
1 vote

According to python documentation, this module makes available standard error number system. The value of each symbol represents the corresponding integer values. The name and descriptions are borrowed from directory linux/include/errno.h. The error code 1 is defined in errno.h and elaborate that “operations are not permitted”.

Solution:

Your setups tools are not installed. You can install setup tools by using the following instructions from the PyPI website.

If the setuptools are already installed then try the following command;

pip install –upgrade setuptools

If setuptools are already up to date, then check whether you have missed module ez_setup or not. For this purpose use the command;

pip install ez_setup

After that try again by using the command;

pip install unroll

If you are still unable to solve the error then, maybe pip did not install or upgrade setup_tools properly. So it is suggested to try;

easy_install –U setuptools

And try again

pip install unroll

I hope this will solve your problem!

Note:

The fastest way to install id by using;

Git clone https//github.com/Zulko/unroll
cd unroll && python setup.py bdist_wheel

Then copy a generated file from the created dist folder into your virtual environment by using the command;

pip install unroll-0.1.0-p2-none-any.whl.

This will help to install your package without any problem.

11 5 2
3,890 points
1 vote

According to python documentation this module makes available standard error number systems. The value of each symbol represents the corresponding integer values. The name and descriptions are borrowed from directory Linux/include/errno.h. The error code 1 is defined in errno.h and elaborate that “operations are not permitted”.

According to your code.

Your setups tools are not installed. You can install setup tools by using the following instructions from the PyPI website.

If the setuptools are already installed then try the following command;

pip install –upgrade setuptools

If setuptools are already up to date, then check whether you have missed module ez_setup or not. For this purpose use the command;

pip install ez_setup

After that try again by using the command;

pip install unroll

If you are still unable to solve the error then, maybe pip did not install or upgrade setup_tools properly. So it is suggested to try;

easy_install –U setuptools

And try again

pip install unroll

I hope this will solve your problem!

Note:

The fastest way to install id by using;

git clone https//github.com/Zulko/unroll

cd unroll && python setup.py bdist_wheel

Then copy a generated file from the created dist folder into your virtual environment by using the command;

pip install unroll-0.1.0-p2-none-any.whl.

This will help to install your package without any problem.

11 5 2
3,890 points

Related questions

0 votes
1 answer 67 views
67 views
Problem: I am trying to install python package rpy2 with pip install on Ubuntu 16.04: pip install rpy2==2.2.7 but get error message (see full output below): Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-EuOI6K/unroll/
asked Jan 10 Mashhoodch 13k points
0 votes
1 answer 14 views
14 views
Problem: How to fix this error: socket.error: command python setup.py egg_info failed HELP! I need help understanding this error: command python setup.py egg_info failed Can someone please help fix this, I am new in python() : command python setup.py egg_info failed
asked Mar 1 Mashhoodch 13k points
0 votes
1 answer 466 views
466 views
Problem : When I executed: pip install xgboost I got this: Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/w4/w49s3mn91plbhyjwf8qjkpxc0000gn/T/pip-build-61dms1/xgboost/
asked Oct 21, 2019 peterlaw 6.9k points
2 votes
1 answer 50 views
50 views
Problem: I am new in programming language. I was trying to setup and then upgrade gcloud using python. I used the command: pip install --upgrade gcloud After that it shows: Collecting gcloud Downloading gcloud-0.18.3.tar.gz (454kB) 100% | ... code 1 in C:\Users\bid\AppData\Local\Temp\pip-build-ppc44asr\googleapis-common-protos\ Whats is happening here can anyone help?
asked Mar 24, 2020 LizzyM 6.1k points
0 votes
1 answer 2 views
2 views
Problem: I've looked on the internet, please, but nothing helpful has been discovered.
asked 3 days ago zayed1 35.6k points
0 votes
1 answer 2 views
2 views
Problem: What went wrong that caused the error?
asked 4 days ago salim1 39k points
0 votes
1 answer 17 views
17 views
Problem: I'm new to Python and have been trying to install some packages with pip. But pip install unroll gives me Command "python setup.py egg_info" failed with error code 1 in C:\Users\MARKAN~1\AppData\Local\Temp\pip-build-wa7uco0k\unroll\ How can I solve this?
asked Feb 18 Mashhoodch 13k points
0 votes
1 answer 22 views
22 views
command "python setup.py egg_info" failed with error code 1 in
asked Feb 16 ArifulIslam 7.5k points
0 votes
1 answer 7 views
7 views
Problem: I get the following error message when trying to set up a virtual environment with virtualenv 15.0.2 but receive: OSError setuptools pip wheel failed with error code 1. Any ideas how to resolve this issue?
asked Mar 24 ummesalma 25.2k points
0 votes
1 answer 2 views
2 views
Problem:
asked 4 days ago salim1 39k points