-
Notifications
You must be signed in to change notification settings - Fork 439
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-7SrToZ/gitsome/ #4
Comments
What version of python are you running?
|
That prints out But I installed pip on Python 2.7, because when I try to install it it gives me: I will try to get the newer python, thanks for your help. |
I had the same problem on OSX and
Solve my issue (I have both python versions installed). |
@pacuna thanks I solved it in the same way:
|
Great! I'll reopen this and investigate if there's anything I can do on my end and so others who run into this issue can more easily find this ticket. |
For now, I added the following based on the discussions in this ticket. I'll keep this open for a little longer. https://github.com/donnemartin/gitsome#pip3
|
I faced a similar issue. Turns out I had Python 2.7 and 3.4 installed. However the pip command was configured for Python 2.7. So I had to install pip3 (since I had a fresh install of Linux on my machine):
Then I used pip3 in all places where pip was mentioned in the installation instructions:
These fixed it for me. |
@jashgala thanks for that note...how do you feel about a pull request :) Might be helpful to update the dev install section, maybe something like this? |
Updated README with #22. |
As instructed in Readme I installed pip3 |
Issue #4 is closed now, and I eventually got the install to work OK. Just for feedback, however, here's an annotated summary of what happened to me. I got a few messages that may be of interest. This is on a recent install of Linux Mint.
OK, install 'python-pip' then, as instructed.
Seemed to work OK, but see ahead for problems.
Upgrade something that I just installed? Um, OK. I'll run the upgrade command then.
Weird. I did what the message recommended, but the message keeps recommending it. Looked back at the gitsome instructions and decided to try pip3 instead of pip.
Seemed to work I guess.
I'm not sure if that's a total failure or just some warning that can be ignored. Decided to try running the subsequent command in the gitsome instructions.
That can't be good. Try upgrading again?
Maybe the old 'pip' is confusing 'pip3' somehow. Try removing it.
OK, now re-try the first install command from the instructions.
Ugh. Why didn't the gitsome instructions mention that part? Oh, well. Try installing setuptools. I'm guessing that's a pip3 thing, not apt-get.
I guess it needs sudo powers.
I see a success message, but also a warning about needing sudo -H. Well, try it again with sudo -H then.
It's my old friend the 'pip install --upgrade pip' message! OK, how about we try it with sudo powers then.
Er, how about we try it with pip3 instead of pip?
Seems like some warnings still, but I see 'Successfully' at the end, so let's try the original command.
Try again with sudo, I guess.
OK, OK, sudo -H, not just sudo.
W00T! It worked. I think. Maybe. Try the next command in the instructions.
Fine. Give sudo -H powers to it. Give it to everyone. You get a sudo -H. And you. And YOU. EVERYBODY GETS A SUDO -H.
Looks like it finally worked. |
Hi @DarthFudd, sorry you ran into so many issues installing on Linux Mint, really appreciate the play-by-play, I think this will be helpful if others run into a similar issue. I'll see if I can try to update the install instructions based on your feedback...or I'd be happy to look at a pull request if you're interested :)
lol! |
apt-get install libcurl4-openssl-dev |
can you help me?i have this error in windows 64 bit. even though i installed Anaconda 3. what should i do?Command "python setup.py egg_info" failed with error code 1 in C:\Users\mehdi\AppData\Local\Temp\pip-build-qge995dn\pydot\ |
Installing libcurl with: |
I use ubuntu and I met the similar problem. I solve it after install the software it notices. |
I get the error the same like you.
but it say
and I try
but it say
What should I do? |
Please use python3.5 with gitsome
wt., 27 lut 2018 o 14:38 użytkownik blank_zby <notifications@github.com>
napisał:
… I get the error the same like you.
But my python version is 3.6.1.
I try to do this
sudo pip3 install git+https://github.com/donnemartin/gitsome.git
but it say
Collecting git+https://github.com/donnemartin/gitsome.git
Cloning https://github.com/donnemartin/gitsome.git to /private/tmp/pip-oq2nrb1c-build
Complete output from command python setup.py egg_info:
gitsome currently requires Python 3.4 or 3.5
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-oq2nrb1c-build/
and I try
sudo -H pip3 install gitsome
but it say
Collecting gitsome
Downloading gitsome-0.7.2.tar.gz (314kB)
100% |████████████████████████████████| 317kB 724kB/s
Complete output from command python setup.py egg_info:
gitsome currently requires Python 3.4 or 3.5
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-hj45gqu_/gitsome/
What should I do?
Thanks a lot!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAYTQBRbhfJ7t6tVADOVQ7t1oYOk9cK2ks5tZAVvgaJpZM4IaJ_5>
.
|
Using Windows 10, when I try to install matplotlib through command "pip3 install matplotlib", I am getting the following error message: Command "python setup.py egg_info" failed with error code 1 in C:\Users\USERPC~1\AppData\Local\Temp\pip-install-vc3pb4nv\matplotlib" |
while installing boilerpipe with pip install boilerpipe-py3 |
I get the same error when writing: |
@blank-black im with the same issue :/ |
@blank-black same issue |
Hi all, check out #160, gitsome now supports Python 3.7. Uploaded to PyPI: https://pypi.org/project/gitsome/ |
(mac)I fixed this problem by using this: pip install psycopg2-binary found this in the documents: |
hello, I have the same error like this in window. How can I solved? Please help me. |
I don't know why, but for me it works when writing: |
Easy solution step by step work for me and work for almost everyone!
|
thank you brother
…On Wed, Apr 8, 2020 at 2:30 PM Mobin ***@***.***> wrote:
Easy solution step by step work for me and work for almost everyone!
1st You need to install apt-get package
sudo apt-get install mysql-server
sudo apt-get install libmysqlclient-dev
sudo apt-get install libmariadbclient-dev
2nd you need to install pip package
pip install mysqlclient
then you are ready to install any package which have problem of
python setup.py egg_info Check
pip install your-package-name
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHS5A7RIBG7UYD2CPGZGJJLRLQVLRANCNFSM4CDIT74Q>
.
|
I have the same error as NIravMeghani: "ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output." Do you know how to solve the issue? Thank you in advance. |
|
I am facing the error while installing hdbscan Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-047g1g8c/hdbscan/ |
@donnemartin, I am facing the below error. How can I fix it? Error Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in feedparser setup command: use_2to3 is invalid.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output. EDIT: I had to fix the |
Update by donnemartin on 2019-04-07:
gitsome now supports Python 3.7, see #160.
PyPI: https://pypi.org/project/gitsome/
I get this error when I run:
What am I doing wrong?
I am on ubuntu 16.04
The text was updated successfully, but these errors were encountered: