[Nix-dev] Need help with virtualenv and python2.6

Cillian de Róiste cillian.deroiste at gmail.com
Tue Sep 16 00:35:39 CEST 2014


On Tue, Sep 16, 2014 at 12:23 AM, Cillian de Róiste
<cillian.deroiste at gmail.com> wrote:
> Hi Jascha,
>
> I wonder how you have python2.7 stuff in the traceback. It seems to
> work fine for me:
>
> $ nix-shell -p python26Packages.virtualenv -p python26
>
> [nix-shell:~]$ virtualenv --python=python2.6 venv2.6test/
> Already using interpreter
> /nix/store/awjf2yn2gfsg0ai9klnpa29a1yx0g8wa-python-2.6.9/bin/python2.6
> New python executable in venv2.6test/bin/python2.6
> Also creating executable in venv2.6test/bin/python
> Installing setuptools, pip...done.
>
> [nix-shell:~]$ venv2.6test/bin/python
> Python 2.6.9 (unknown, Aug 12 2014, 14:10:05)
> [GCC 4.8.3] on linux3
> Type "help", "copyright", "credits" or "license" for more information.
>>>>

Also, when I run nix-shell as in your example:

$ nix-shell -p pythonPackages.virtualenvwrapper -p python26 -p
python27Packages.pip

[nix-shell:~]$ virtualenv --python=python2.6 venv2.6test2
Running virtualenv with interpreter
/nix/store/awjf2yn2gfsg0ai9klnpa29a1yx0g8wa-python-2.6.9/bin/python2.6
New python executable in venv2.6test2/bin/python2.6
Also creating executable in venv2.6test2/bin/python
Installing setuptools, pip...done.

[nix-shell:~]$ venv2.6test2/bin/python
Python 2.6.9 (unknown, Aug 12 2014, 14:10:05)
[GCC 4.8.3] on linux3
Type "help", "copyright", "credits" or "license" for more information.
>>>

>
> On Tue, Sep 16, 2014 at 12:02 AM, Jascha Geerds <jg at ekby.de> wrote:
>> Any update on this topic? Same traceback occurs with vanilla virtualenv
>> (and not virtualenvwrapper).
>>
>> --
>>   Jascha Geerds
>>   jg at ekby.de
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
>
> --
> NixOS: The Purely Functional Linux Distribution
> http://nixos.org



-- 
NixOS: The Purely Functional Linux Distribution
http://nixos.org


More information about the nix-dev mailing list