Questions tagged [pyenv]

pyenv lets you switch between multiple versions of Python. It's unobtrusive and follows the UNIX tradition of single-purpose tools that do one thing well.

pyenv lets you switch between multiple versions of Python. It's unobtrusive and follows the UNIX tradition of single-purpose tools that do one thing well.

https://github.com/yyuu/pyenv

857 questions
0
votes
1 answer

VSCode debugger not running inside virtual environment

I'm trying to debug my Django application within VSCode, but for some reason VSCode isn't running inside my virtualenv. I've tried multiple ways for it to work, but still no luck. I've set pythonpath to the path of the Pythonfile inside my…
allinws
  • 101
  • 12
0
votes
1 answer

Installing an older version of python

I am currently using a mac version 11.6.1 with Big Sur on it. I have the latest version of python (3.9) on it, however I need to use 3.6 for a project at work. I attempted to use pyenv to install this version but ran into a number of issues with…
Jake Mulhern
  • 660
  • 5
  • 13
0
votes
2 answers

Different Virtual Environments for each Zeppelin user

I have a zeppelin running in an EMR cluster. This zeppelin has multiple users who login into the zeppelin via a Shiro based authentication method. I need a way to create virtual environments for each user so that they can manage their own pip…
0
votes
0 answers

ubuntu20 weird behaviour with python path

I'm getting some weird behaviour when running python.... # which python /root/.pyenv/shims/python # /root/.pyenv/shims/python -V Python 3.9.7 # python -V Python 3.8.10 Like waaaatttt!! So I check my PATH... looks good # echo…
Christian
  • 3,708
  • 3
  • 39
  • 60
0
votes
2 answers

I have broken my poetry installation, and I don't know where to begin to fix it

I was using poetry in combination with pyenv for some hobby projects. I created some virtualenvs with pyenv inside some poetry hobby projects. For some reason, I deleted some of these python installs that broke the virtualenvs within these projects…
SWHJ
  • 344
  • 2
  • 10
0
votes
2 answers

After installing pyenv, my aws-adfs got 'ModuleNotFoundError'

I have been struggling to get my new python environment to work so I was wondering if anyone can share some time for help. So I have install pyenv in order to work with different versions of Python. Pyenv installation was successful and I was able…
0
votes
1 answer

Cannot setup python properly with pyenv

I got a new Mac and I was trying to setup python as I didi in my previous systems. I followed this guide (and double checked many others like that) but I was not successful at having python pointing to the right version. ➜ ~ pyenv versions …
0
votes
0 answers

Problem installing python via pyenv : BUILD FAILED

I tried to install python 3.7.6 via pyenv pyenv install 3.7.6and got this error BUILD FAILED (OS X 11.4 using python-build 20180424) Inspect or clean up the working tree at…
nissy
  • 1
  • 1
0
votes
2 answers

Error message when starting Zsh on Windows Terminal - Pyenv badly configured

I set up Zsh (with OhMyZsh) within Windows Terminal app 8 months ago, and used it many times to develop Python apps. A couple months ago, I started getting the following error message when opening the terminal: # Load pyenv automatically by…
0
votes
1 answer

Is it required to remove pyenv init invocations when uninstalling pyenv?

I recently installed pyenv on my Mac using Homebrew. I installed it by entering the command brew install pyenv in the terminal, that's it. I didn't do any other required steps like executing echo 'eval "$(pyenv init --path)"' >> ~/.zprofile in the…
user16675748
0
votes
1 answer

Python version inconsistency

I've used pyenv to install Python 3.8.11 and 3.9.6 on my mac (Big Sur os) and set 3.8.11 to be the version of Python that I want to use for creating a virtual environment (followed the instructions here). But, even though I've set up system to use…
Vee
  • 1,821
  • 3
  • 36
  • 60
0
votes
1 answer

pyenv set local python for a project

I can't seem to be able to set local python for a project, not even global python. $ pyenv local 3.9.6 $ pyenv global 3.9.6 $ pyenv versions system * 3.9.6 (set by /home/cmap/c-map/.python-version) In .python-version it is written 3.9.6 But when I…
Shreko
  • 321
  • 4
  • 16
0
votes
0 answers

Activate existing venv on pycharm

I created venvs for couple diff projects using python3 -m venv my_project Also use pyenv local version for managing the python version for each project as needed. My projects folder looks like…
BharathYes
  • 787
  • 2
  • 9
  • 25
0
votes
0 answers

Trying to see python version returns -bash: /usr/local/bin/python3.7: No such file or directory

I was trying (unsuccessfully) to change my python version from 2.7.16 to 3.8.5 using pyenv, and now when I try to see my current python version with python -V, I get -bash: /usr/local/bin/python3.7: No such file or directory
0
votes
0 answers

Pyenv: no such command '--python' (Windows)

I'm trying to add a python interpreter with a pyenv environment in Pycharm. But it gives me an error when it tries to execute the following command: C:\Users\Laila\AppData\Local\Programs\Python\Python39\Lib\site-packages\pyenv-win\bin\pyenv.bat…
Laila Campos
  • 801
  • 1
  • 8
  • 21