bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#41762: Python's pip works from the store but not from profiles


From: zimoun
Subject: bug#41762: Python's pip works from the store but not from profiles
Date: Mon, 8 Jun 2020 19:33:28 +0200

Hi Pierre,

On Mon, 8 Jun 2020 at 19:09, Pierre Neidhardt <mail@ambrevar.xyz> wrote:
>
> On Guix fa122ac4ca2bd4c87b216e2f478397bcde2c1d8f.

With e78275608065ef073775fabb9f1a757da65851f2 it works.


> This works:
>
> --8<---------------cut here---------------start------------->8---
> /gnu/store/czfix13276dvibyf0l4lbk92wiinha37-python-pip-20.0.2/bin/pip install 
> -r requirements/dev.txt
> --8<---------------cut here---------------end--------------->8---


What do you have in 'requirements/dev.txt'?

--8<---------------cut here---------------start------------->8---
$ guix install pip
$ echo sentinelhub > /tmp/req.txt
$ pip install -r /tmp/req.txt
Defaulting to user installation because normal site-packages is not writeable
Collecting sentinelhub
  Using cached sentinelhub-3.0.3.tar.gz (176 kB)
Collecting wheel
  Using cached wheel-0.34.2-py2.py3-none-any.whl (26 kB)
Requirement already satisfied: requests>=2.5.0 in
/gnu/store/qzkgxkivp99ql828sx891hi49asamm3m-profile/lib/python3.8/site-packages
(from sentinelhub->-r /tmp/req.txt (line 1)) (2.22.0)
Collecting click
  Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Requirement already satisfied: numpy in
/gnu/store/qzkgxkivp99ql828sx891hi49asamm3m-profile/lib/python3.8/site-packages
(from sentinelhub->-r /tmp/req.txt (line 1)) (1.17.3)
Collecting tifffile
[...]
--8<---------------cut here---------------end--------------->8---


> Traceback (most recent call last):
>   File "/path/to/myprofile/bin/pip", line 6, in <module>

Have you modified the path?  Looks weird.


Cheers,
simon





reply via email to

[Prev in Thread] Current Thread [Next in Thread]