unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: Pierre Neidhardt <mail@ambrevar.xyz>
Cc: 41762@debbugs.gnu.org
Subject: bug#41762: Python's pip works from the store but not from profiles
Date: Mon, 8 Jun 2020 19:33:28 +0200	[thread overview]
Message-ID: <CAJ3okZ0DbuG9E1vgBc73upqOtnOFnjZ9t7+wHXR5XP7xPLxLxA@mail.gmail.com> (raw)
In-Reply-To: <87d069zds7.fsf@ambrevar.xyz>

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	other threads:[~2020-06-08 17:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-08 17:08 bug#41762: Python's pip works from the store but not from profiles Pierre Neidhardt
2020-06-08 17:33 ` zimoun [this message]
2020-06-10  8:31   ` Pierre Neidhardt
2020-06-10  9:17     ` zimoun
2020-06-10  9:37       ` Pierre Neidhardt
2020-09-11 14:13         ` zimoun
2020-09-12 10:18           ` Pierre Neidhardt
2020-09-13  6:30             ` Efraim Flashner
2020-09-14  8:35               ` Pierre Neidhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ3okZ0DbuG9E1vgBc73upqOtnOFnjZ9t7+wHXR5XP7xPLxLxA@mail.gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=41762@debbugs.gnu.org \
    --cc=mail@ambrevar.xyz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).