NixOS / nixos

OBSOLETE (go to NixOS/nixpkgs) - NixOS, a Linux distribution based on the Nix package manager - OBSOLETE (go to NixOS/nixpkgs)
MIT License
176 stars 102 forks source link

Installation of python3.3-pip fails #264

Closed pSub closed 11 years ago

pSub commented 11 years ago

My attempt to install the python3 version of pip results in the following error.

 % nix-env -i python3.3-pip                                                                                                   
installing `python3.3-pip-1.4.1'
download-from-binary-cache.pl: still waiting for ‘http://cache.nixos.org/djzn84l5m79568xcyx9czaarki10qd29.narinfo’ after 5 seconds...
these derivations will be built:
  /nix/store/2ybqyv69f12j48x25kv9bqwwbbczimwq-python3.3-pip-1.4.1.drv
  /nix/store/2yg90ps1a5qcd39aryzdvpgbjxw5z4iz-python3.3-virtualenv-1.10.drv
  /nix/store/l7zbh3wrp4dhxpfmp27n6iy2an06x3r0-python3.3-mock-1.0.1.drv
building path(s) `/nix/store/g4cdr2214src8ck0h845dp9h410dpjla-python3.3-mock-1.0.1'
building /nix/store/g4cdr2214src8ck0h845dp9h410dpjla-python3.3-mock-1.0.1
unpacking sources
unpacking source archive /nix/store/wzjiqzyqm2111y7x5dghppylgamf7by5-mock-1.0.1.tar.gz
source root is mock-1.0.1
patching sources
configuring
no configure script, doing nothing
building
installing
installing `mock-1.0.1' with `easy_install'...
Creating /nix/store/g4cdr2214src8ck0h845dp9h410dpjla-python3.3-mock-1.0.1/lib/python3.3/site-packages/site.py
Processing .
Writing /tmp/nix-build-python3.3-mock-1.0.1.drv-0/mock-1.0.1/setup.cfg
Running setup.py -q bdist_egg --dist-dir /tmp/nix-build-python3.3-mock-1.0.1.drv-0/mock-1.0.1/egg-dist-tmp-_a22ri
warning: no files found matching '*.png' under directory 'docs'
warning: no files found matching '*.css' under directory 'docs'
warning: no files found matching '*.html' under directory 'docs'
warning: no files found matching '*.js' under directory 'docs'
zip_safe flag not set; analyzing archive contents...
Adding mock 1.0.1 to easy-install.pth file

Installed /nix/store/g4cdr2214src8ck0h845dp9h410dpjla-python3.3-mock-1.0.1/lib/python3.3/site-packages/mock-1.0.1-py3.3.egg
Processing dependencies for mock==1.0.1
Finished processing dependencies for mock==1.0.1
running tests
running test
Searching for unittest2

Link to https://pypi.python.org/simple/unittest2/ ***BLOCKED*** by --allow-hosts

Couldn't find index page for 'unittest2' (maybe misspelled?)
Scanning index of all packages (this may take a while)

Link to https://pypi.python.org/simple/ ***BLOCKED*** by --allow-hosts

No local packages or download links found for unittest2
error: Could not find suitable distribution for Requirement.parse('unittest2')
builder for `/nix/store/l7zbh3wrp4dhxpfmp27n6iy2an06x3r0-python3.3-mock-1.0.1.drv' failed with exit code 1
cannot build derivation `/nix/store/2ybqyv69f12j48x25kv9bqwwbbczimwq-python3.3-pip-1.4.1.drv': 1 dependencies couldn't be built
error: build of `/nix/store/2ybqyv69f12j48x25kv9bqwwbbczimwq-python3.3-pip-1.4.1.drv' failed
domenkozar commented 11 years ago

Python 3 support is on the way, but lots of packages need fixing. See https://github.com/NixOS/nixpkgs/issues/789

domenkozar commented 10 years ago

This should be fixed now: http://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.python3Packages.pip.x86_64-linux

pSub commented 10 years ago

Thanks! Works like a charm!