Skip to content
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

setuptools pip wheel failed with error code 1 #2850

Closed
theobarnhart opened this issue Apr 15, 2016 · 25 comments
Closed

setuptools pip wheel failed with error code 1 #2850

theobarnhart opened this issue Apr 15, 2016 · 25 comments

Comments

@theobarnhart
Copy link

I'm working on installing setuptools on OS X 10.11.4, I have an Anaconda python install and pip installed virtualenv, but I keep getting this error when I try and install letsencrypt. I also tried updating setuptools using pip but that didn't help either. Any thoughts on how to fix this would be appreciated. Thanks!

ullr:letsencrypt barnhatb$ ./letsencrypt-auto certonly --debug
Bootstrapping dependencies via Mac OS X...
Using Homebrew to install dependencies...
Warning: augeas-1.4.0 already installed
Warning: dialog-1.3-20160209 already installed
Checking for new version...
Creating virtual environment...
Traceback (most recent call last):
  File "/Users/barnhatb/anaconda/lib/python2.7/site-packages/virtualenv.py", line 2316, in <module>
    main()
  File "/Users/barnhatb/anaconda/lib/python2.7/site-packages/virtualenv.py", line 708, in main
    symlink=options.symlink)
  File "/Users/barnhatb/anaconda/lib/python2.7/site-packages/virtualenv.py", line 941, in create_environment
    download=download,
  File "/Users/barnhatb/anaconda/lib/python2.7/site-packages/virtualenv.py", line 897, in install_wheel
    call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
  File "/Users/barnhatb/anaconda/lib/python2.7/site-packages/virtualenv.py", line 792, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /Users/barnhatb/.loc...ncrypt/bin/python2.7 - setuptools pip wheel failed with error code 1
@bmw
Copy link
Member

bmw commented Apr 15, 2016

Looks like this might be an instance of pypa/virtualenv#741.

@theobarnhart
Copy link
Author

theobarnhart commented Apr 15, 2016

That worked! Thank you.

On Fri, Apr 15, 2016 at 3:10 PM, bmw notifications@github.com wrote:

Looks like this might be an instance of pypa/virtualenv#741
pypa/virtualenv#741.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#2850 (comment)

@swyxio
Copy link

swyxio commented Sep 29, 2016

sept 2016 checking in, still have to downgrade to 2.7.9 per @bmw 's link above

@mahinthjoe
Copy link

Oct 2016 checking in, downgrade to 2.7.9

@kabrink
Copy link

kabrink commented Feb 4, 2017

Feb 2017 checking in, downgrade to 2.7.9 (same link as above).

@tejuafonja
Copy link

Feb 2017, downgrade still works...wow!

@sitaramanp
Copy link

Mar 2017. We still have to downgrade to 2.7.9

@tejuafonja
Copy link

tejuafonja commented Mar 6, 2017 via email

@shintojoseph1234
Copy link

This will work for virtualenv pip wheel errorcode1 problems and also E unable to locate package problems

apt-get update

apt-get install python-software-properties

apt-get install apt-file

apt-file update

apt-get install software-properties-common

apt-get install <your filename>  

@nilooravaei-zz
Copy link

Apr 2017. We still have to downgrade to 2.7.9

@raydai
Copy link

raydai commented May 27, 2017

May 2017, We still have to downgrade to 2.7.9

@bmw
Copy link
Member

bmw commented May 30, 2017

We don't recommend you use certbot-auto on macOS. Support on that platform has always been experimental. If you don't include the --debug flag on the command line when you try to install Certbot using certbot-auto on that system, you get a message like:

FATAL: macOS support is very experimental at present...
if you would like to work on improving it, please ensure you have backups
and then run this script again with the --debug flag!
Alternatively, you can install OS dependencies yourself and run this script
again with --no-bootstrap.

Instead, we recommend you follow our macOS instructions found at https://certbot.eff.org/#osx-other. Our instructions recommend you use Homebrew, but if you prefer MacPorts, there is a port available.

@jwilber
Copy link

jwilber commented Jun 20, 2017

Running conda install -c anaconda virtualenv=15.1.0 worked for me.

(per RubenDuran's comment here: pypa/virtualenv#788 )

@fzhcary
Copy link

fzhcary commented Aug 14, 2017

struggled for hours and finally find solution:
pip uninstall virtualenv
conda install virtualenv

virtualenv in pip doesn't work with conda.

@tatianafrank
Copy link

tatianafrank commented Aug 28, 2017

@fzhcary and @jwilber solutions above don't work for me and downgrading to python 2.7.9 doesnt work either, still getting same error 'setuptools pip wheel failed with error code 1' on macOS

@abdulwahid24
Copy link

same here @tatianafrank , Let me know if you got any solution?

@abdulwahid24
Copy link

I got it resolve by python3 -m venv myenv

@whoget
Copy link

whoget commented Oct 28, 2017

i got it resolve using:
pip install --upgrade virtualenv

@davidespinozao
Copy link

These two commands are the final solution for me:
pip install --upgrade virtualenv
sudo virtualenv .env

Thanks to all

@gowthambalusamy
Copy link

gowthambalusamy commented Nov 10, 2017

Finally I found the solutions

pip uninstall virtualenv
conda install virtualenv

@amorrissette
Copy link

amorrissette commented Jan 26, 2018

Did not need to downgrade from python 2.7.11
Just made the mistake of installing virtualenv using pip instead of conda, so

pip uninstall virtualenv
conda install virtualenv

worked for me as well

@sblcook
Copy link

sblcook commented Apr 11, 2018

Like @amorrissette and others,

pip uninstall virtualenv
conda install virtualenv

fixed everything for me

@abdulwahid24
Copy link

Hey guys,

Check out this super cool and awesome tool pipenv. I guarantee you would fall in love with it.

Thanks

@abinjoabraham
Copy link

I was searching for a fix for hours finally below ones worked for me and I was using minconda versions of python.
pip uninstall virtualenv
conda install virtualenv

@ghost
Copy link

ghost commented Jun 26, 2020

this worked
pip install --upgrade virtualenv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests