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

Ubuntu 14.04 pyenv install failed. #430

Closed
fenngwd opened this issue Aug 28, 2015 · 8 comments
Closed

Ubuntu 14.04 pyenv install failed. #430

fenngwd opened this issue Aug 28, 2015 · 8 comments

Comments

@fenngwd
Copy link

fenngwd commented Aug 28, 2015

I tried to install python version 2.7.9 by pyenv. But I failed.
Following is result log:
checking for gettimeofday... yes
checking for major...yes
checking for getaddrinfo...yes
checking getaddrinfo bug...yes
Fatal: You must get working getaddrinfo() function. or you can specify "--disable-ipv6".

I used Ubuntu 14.04 in Parallels Desktop of my mac & pyenv's version is 20150719.
Please help me to figure this out.
Thanks.

@yyuu
Copy link
Contributor

yyuu commented Sep 21, 2015

I'm not sure why getaddrinfo() isn't working on your system, but apparently networking on your system isn't configured properly.

As workaround, as you can see in the error message, try specifying --disable-ipv6 as a configure option.

$ PYTHON_CONFIGURE_OPTS="--disable-ipv6" pyenv install -v 2.7.9

@yyuu yyuu closed this as completed Sep 21, 2015
@fenngwd
Copy link
Author

fenngwd commented Sep 22, 2015

I guess because I used proxychains as a proxy to download the python version.

@kk17
Copy link

kk17 commented Sep 30, 2015

I have the same problem when installing with proxychains.

@intsilence
Copy link

Same problem with proxychains, thanks!

@LittleKey
Copy link

Same problem, thx

@sysarcher
Copy link

It fails on Windows Subsystem for Linux or bash on Windows 10 too. I guess because the subsystem does not have access to the lower level functions...

@turtleizzy
Copy link

Same problem with proxychains, solved by specifying PYTHON_CONFIGURE_OPTS, thanks!

@RGD2
Copy link

RGD2 commented Oct 26, 2022

+1 proxychains and fixed! Thanks!

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

No branches or pull requests

8 participants