Skip to main content

All Questions

Tagged with
0 votes
1 answer
2k views

Jupyter Notebook running in a local pyenv does not see PIP installed packages

I am trying to use python, pyenv, and 'jupyter' notebooks on my MacBook. Everything seems configured to use my pyenv properly, but when I run the Jupyter notebook, it can't find some packages I ...
Mark_Sagecy's user avatar
1 vote
0 answers
238 views

How to update pip in all environments created by pyenv

Python warns to update the pip version when I try to upgrade jupyterlab in my jupyter3 environment created using pyenv. I followed the instructions in the output log: [notice] A new release of pip is ...
David Leal's user avatar
  • 6,788
2 votes
2 answers
609 views

pyenv-win shows Error while installing another version of Python

I have installed Python 3.11 on the C:\ drive. Now, I'm planning to install multiple versions of Python without uninstalling 3.11. To achieve this, I've installed pyenv-win. However, when I try to ...
Siddhu's user avatar
  • 68
0 votes
0 answers
523 views

python pip disappearing from venv "no module named pip"

Recently my pip seems to have weird behaviour. First When I set up my virtual environment using python3 -m venv env everything works fine and I can use pip to install packages once I activate the ...
UGN's user avatar
  • 49
0 votes
0 answers
591 views

Debian 11 : pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available

I've installed Python 3.11 in Debian 11 but after installing when I want to use pip3.11 with any package it throws the warning: pip is configured with locations that require TLS/SSL, however the SSL ...
juanmac's user avatar
  • 319
-3 votes
1 answer
1k views

Pip cannot install some Python packages due to missing platform tag in M1 Mac

Lately I have been facing issues installing packages through pip. For e.g. when I try to install the torch package, it fails with the below error > arch arm64 > python --version 3.10.12 ❯ pip --...
Vinay's user avatar
  • 1,681
1 vote
0 answers
162 views

How to resolve "The 'pip' distribution was not" when using pyenv on Mac

I'm attempting to install codalab worksheets cli. I have a Mac M2 machine, with a python version 3.10 installed through homebrew. I tried just pip installing the codalab package, but it didn't work ...
rel-s's user avatar
  • 6,138
0 votes
0 answers
235 views

How to change flask location to work in more than one local path?

I am using VScode I installed flask in the /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11 as shown trough pip show flask. My problem is it is only working in the local path usr/...
Merlin's user avatar
  • 1
0 votes
0 answers
78 views

What is the reliable way to select current directory's python with pyenv + pipenv or pip

I have two problems: pipenv ignores pyenv settings; my pip shortcuts are ignoring pyenv settings too: iuri@tartaruga:~$ pyenv version 3.9.16 (set by /home/iuri/.pyenv/version) iuri@tartaruga:~$ pyenv ...
Iuri Guilherme's user avatar
1 vote
0 answers
761 views

How do I install a specific python version without pyenv within nvidia docker so that it interacts well with poetry?

I am trying to build a docker image that contains cuda, cudnn and python, each with specific versions that are templatable as a base for downstream users. (In this example I have replace all the ...
RunOrVeith's user avatar
  • 4,813
0 votes
0 answers
96 views

pip `ResolutionError` when installing requirements from file to duplicate a virtualenv

I'm trying to create a duplicate of a python virtualenv on my local machine. I ran pip freeze > requirements.txt within my existing virtualenv, then deactivated it before creating and activating a ...
Ben Jeffrey's user avatar
0 votes
2 answers
2k views

Once a Python upgraded to a new version how do you change the path where to Pip install installs?

I've installed a newer version of Python under wsl2 using: pyenv install 3.9.6 pyenv global 3.9.6 Before I was using 3.8 When I pip install it still looks in the previous pip path related to Python 3....
Ludogiraud's user avatar
1 vote
0 answers
331 views

Python version and site-packages mismatch

A few months ago I installed pyenv to experiment with some newer versions of python. Now, whenever I try to run scripts that formerly worked, I see a Module Not Found Exception despite any imported ...
John Harrington's user avatar
0 votes
2 answers
286 views

Installed module via pip, still get ModuleNotFoundError

I'm trying to use w3af to start doing some routine security testing on a webapp that I'm using. Install instructions recommend cloning a git repo, then running the python code and seeing what ...
Weston C's user avatar
  • 3,652
1 vote
1 answer
240 views

pip and python referring to different interpreters

I know "multiple-versions-of-python-mess" is nothing new but my question is more specific. I'm learning how to use venv (and pyenv, etc.) and I've run into a strange situation. I have a ...
thefredster's user avatar

15 30 50 per page