nixpkgs-python icon indicating copy to clipboard operation
nixpkgs-python copied to clipboard

Pip?

Open arogozhnikov opened this issue 2 years ago • 7 comments

Hi @domenkozar, thanks for the project.

I am currently trying to use python3.7 on mac os, and I miss how to install packages.

$ nix shell github:cachix/nixpkgs-python#'"3.7"' --extra-experimental-features nix-command --extra-experimental-features flakes
<installation>
$ python 3.7 -m pip
<says there is no pip>

Sorry if missing something obvious.

arogozhnikov avatar Nov 20 '23 08:11 arogozhnikov

Interesting, I wonder why it's not building pip.

domenkozar avatar Feb 18 '24 08:02 domenkozar

Also having this issue

ajaxbits avatar Mar 06 '24 18:03 ajaxbits

I'm having this issue with python 2.7

jordan-bravo avatar Jul 05 '24 20:07 jordan-bravo

A thing worth checking: run python3.7 -m ensurepip. This module is required to install pip in the venv.

ktosiek avatar Jul 21 '24 18:07 ktosiek

Same problem with pip, with python 3.6:

$ python3.6 -m ensurepip
fish: Job 1, 'python3.6 -m ensurepip' terminated by signal SIGSEGV (Address boundary error)

Seems to be a problem with the build configuration: https://bugs.python.org/issue45700

julianneswinoga avatar Jul 22 '24 00:07 julianneswinoga

I just installed 3.12.4. I can confirm that there still is no pip executable installed.

Also:

❯ python3.12 -m ensurepip
fish: Job 1, 'python3.12 -m ensurepip' terminated by signal SIGSEGV (Address boundary error)

samvv avatar Aug 30 '24 21:08 samvv

My issue appears to be another issue. Opening a new one.

samvv avatar Aug 30 '24 21:08 samvv