[Nix-dev] "Disallowed host" while building Python packages?

Jeffrey David Johnson jefdaj at gmail.com
Mon Feb 16 04:56:35 CET 2015


I've had this happen a couple times now when trying to build Python packages. An error like:

Searching for paste
Note: Bypassing https://pypi.python.org/simple/paste/ (disallowed host; see http://bit.ly/1dg9ijs for details).
Couldn't find index page for 'paste' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Note: Bypassing https://pypi.python.org/simple/ (disallowed host; see http://bit.ly/1dg9ijs for details).
No local packages or download links found for paste
error: Could not find suitable distribution for Requirement.parse('paste')

According to <http://bit.ly/1dg9ijs> you're supposed to make a setup.cfg file with contents like:

[easy_install]
allow_hosts = *.python.org

Is there a Nix equivalent?
Thanks
Jeff


More information about the nix-dev mailing list