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

[-- Attachment #1: Type: text/plain, Size: 1885 bytes --]

On Guix fa122ac4ca2bd4c87b216e2f478397bcde2c1d8f.

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---

But this does not:

--8<---------------cut here---------------start------------->8---
$ guix install python-pip
$ pip install -r requirements/dev.txt

Traceback (most recent call last):
  File "/path/to/myprofile/bin/pip", line 6, in <module>
    from pip._internal import main
  File "/path/to/myprofile/lib/python3.8/site-packages/pip/_internal/__init__.py", line 40, in <module>
    from pip._internal.cli.autocompletion import autocomplete
  File "/path/to/myprofile/lib/python3.8/site-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>
    from pip._internal.cli.main_parser import create_main_parser
  File "/path/to/myprofile/lib/python3.8/site-packages/pip/_internal/cli/main_parser.py", line 11, in <module>
    from pip._internal.commands import (
  File "/path/to/myprofile/lib/python3.8/site-packages/pip/_internal/commands/__init__.py", line 6, in <module>
    from pip._internal.commands.completion import CompletionCommand
  File "/path/to/myprofile/lib/python3.8/site-packages/pip/_internal/commands/completion.py", line 6, in <module>
    from pip._internal.cli.base_command import Command
  File "/path/to/myprofile/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 26, in <module>
    from pip._internal.index import PackageFinder
ImportError: cannot import name 'PackageFinder' from 'pip._internal.index' (/path/to/myprofile/lib/python3.8/site-packages/pip/_internal/index/__init__.py)
--8<---------------cut here---------------end--------------->8---

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

             reply	other threads:[~2020-06-08 17:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-08 17:08 Pierre Neidhardt [this message]
2020-06-08 17:33 ` bug#41762: Python's pip works from the store but not from profiles zimoun
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=87d069zds7.fsf@ambrevar.xyz \
    --to=mail@ambrevar.xyz \
    --cc=41762@debbugs.gnu.org \
    /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).