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 pkg_resources pip wheel failed with error code 1 #2883
Comments
same issue! |
Some details: nginx installed and also php7.0 fpm, for the rest clean install |
I solved it: just use "apt-get install letsencrypt". Super lame, but it works now |
Same issue on ubuntu 16.04 with the client from git |
I managed to get it working on Ubuntu 16.04 Server LTS. I deleted the apt-get installed setuptools, reinstalled with pip and it worked. If you get setuptools complaining about the locale, make sure you have locales set. |
I resolved the issue by setting the locale variables. Without these, the script seems to break. |
For those who might have a look at it, and compared to other configuration tasks to be initially done on ubuntu, configuring locales seems opaque. Which guide could one recommend ? |
This helped me: > locale-gen en_US en_US.UTF-8
> dpkg-reconfigure locales |
same issue,
then
... then ...
now it works. So I assume "setuptools" in Ubuntu 16.04 LTS are just too old. |
@chani thank you :) |
Also works for ru_RU locale 🇷🇺
|
I followed the solution given by @evgenity and its perfectly work. |
This thread was helpful, thank you! I couldn't create a Virtual Environment with virtualenv for Python because of pip/locale issues. To fix it I went through everything everyone posted on here (especially reconfiguring the locale and installing pip setuptools) Thanks again! |
Seems this is a duplicate of #2887 |
I've tried the above solutions without solving the same problem.but i find some solution in "lnmp" about aliyun host problems . https://bbs.vpser.net/thread-16253-1-1.html#pid50671. |
locale-gen en_US en_US.UTF-8 & locale-gen |
Ubuntu 16.04 x64 Fixed issue by 2 step:
thanks! |
Add |
Setting the locales also worked for me. Is this considered an actual bug in certbot, a documentation issue, or a user error??? |
+1 on getting this documented OR fixed. |
For me, It worked with this... Please read the error then follow any instructions. $export LC_ALL="en_US.UTF-8" $ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $key Replace $key with the corresponding $key from your GPG error. for SSL certificate Signing with certbot using letsencrypt |
Debian 7 wheezy and starting to be fed up about this pythonesque stuff, I thought it would take 5 mn to use letsencrypt First I got:
Which was solved using http://doc.biblissima-condorcet.fr/loris-setup-guide-ubuntu-debian 1.1 Now I have:
---> error 1
---> fatal error 2
What is this virtual env intended for? I have tried whatever is advised in this thread without success |
It looks to be working now after using the instructions in last comment of https://stackoverflow.com/questions/42189878/pythonsetuptools-pkg-resources-pip-wheel-failed-with-error-code-1-error/42189903 Don't get very well why something that is supposed to ease the life of everybody is so complicate to install, would be much easier with a simple nodejs module |
This error can be reproduced when index-url of pkg-resoures is set to the server without complete resources. This would happen to the user using cloud service with custom pip.conf. Update pip.conf would be a possible solution to this issue.
insert following to pip.conf
Reference (Chinese website): https://blog.csdn.net/Tsinghua2MIT/article/details/79945625 |
I closed #2887 as a duplicate of this, but wanted to keep a link to yan12125's helpful comment. |
I resolved problem by this method |
I resolved the issue by following @wwboy6 answer. |
This commands solved my problem:
|
thanks。This method solved my problem. The virtualenv's version is too old. |
I would strongly advise against running |
I've tried allmost all hints from this page without success, include: and this doesn't help me. But then I did: |
We've made a lot of changes to Certbot since this issue was opened. If you still have this issue with an up-to-date version of Certbot, can you please add a comment letting us know? This helps us to better see what issues are still affecting our users. If there is no activity in the next 30 days, this issue will be automatically closed. |
This issue has been closed due to lack of activity, but if you think it should be reopened, please open a new issue with a link to this one and we'll take a look. |
OS Ubuntu 16.04 LTS
Clean os
The text was updated successfully, but these errors were encountered: