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
-1
votes
1 answer

ModuleNotFoundError and Pyenv and python 3.8.10

I am working under Windows 10, and I have several version of python, but I need to work under Python 3.8.10 (with pyenv shell 3.8.10 check the picture below). I get this exception when I launch my code: Exception has occurred: ModuleNotFoundError No…
Al Bundy
  • 184
  • 1
  • 12
-1
votes
1 answer

How to install specific python version in virtual environment on Mac without pyenv

My Mac has python 3.10.5, and I have created a virtual environment which has python 3.8.5, now I want to create another virtual environment with python 3.7, I have searched online for a while, most ppl would suggest using pyenv, but I am pretty sure…
Sky
  • 2,212
  • 3
  • 14
  • 22
-1
votes
1 answer

Visual Studio Code - How to set (missing) Python kernel - Jupyter Notebook

Background I am on macOS 12.6.1 I installed pyenv via homebrew I installed 3.10.7 via pyenv pyenv install 3.10.7 I set 3.10.7 to global with pyenv global 3.10.7 I have installed ipykernel with `pip install ipykernel' My .zshrc file contains the…
6135105654
  • 202
  • 2
  • 5
  • 13
-1
votes
1 answer

pyenv does not affect the python being used and activate does not exist

I am using a pyenv guide from here Managing Multiple Python Versions With pyenv I have already created a 3.6.7 version: 13:24:51/hercl $pyenv versions system * 3.6.7 (set by /Users/steve/.pyenv/version) I made 3.6.7 global: pyenv global…
WestCoastProjects
  • 58,982
  • 91
  • 316
  • 560
-1
votes
1 answer

Why is my pyenv showing the wrong active python version?

I'm using an Intel MacBook Pro and have problems with python and pyenv. Can anybody explain how this can happen and how I can correct it? [~] pyenv versions system * 3.10.1 (set by /Users/....../.pyenv/version) [~] python -V Python 2.7.16 [~]…
ThommyB
  • 1,456
  • 16
  • 34
-1
votes
1 answer

How to deactivate pyenv?

So I setup a pyenv environment with python 3.7. Now I want to use a miniforge environment. However even if I activate the miniforge environment it seems the pyenv shell overwrites it because it runs the code with the 3.7 python executable. I have…
DevDog
  • 111
  • 2
  • 9
-1
votes
2 answers

How to setup python3 version on mac?

I have installed python 3.8.0 via pyenv. pyenv which python /Users/myname/.pyenv/versions/3.8.0/bin/python If I run python3 I get python3 Python 3.6.8rc1 (v3.6.8rc1:cc3e73212a, Dec 11 2018, 17:37:34) [GCC 4.2.1 Compatible Apple LLVM 6.0…
emax
  • 6,965
  • 19
  • 74
  • 141
-1
votes
2 answers

Looking for a cross-platform (Linux, MacOS, Windows) tool for managing Python environments

I was investigating the use of Anaconda environments for CI/CD (since, to my knowledge, it is the only platform that supports Linux, MacOS, and Windows). I tried to use Miniconda which is supposed to only install the bare minimum. However, I…
AstrOne
  • 3,569
  • 7
  • 32
  • 54
-1
votes
1 answer

why virtualenv always creating directory with python2.7?

virtual workspace always contains only python2.7 python -V Python 3.6.5 virtualenv vitual_workspace New python executable in vitual_workspace/bin/python2.7 Also creating executable in vitual_workspace/bin/python Installing setuptools, pip,…
Jayanta Baishya
  • 97
  • 1
  • 12
-1
votes
1 answer

No module named 'sklearn' error, though pip or pip3 both show sklearn is installed

I've played a bit today with pyenv trying to install a certain python version as well as sklearn for data science use, but it appears I've broken it - I cannot import sklearn, though when I tried to install it using pip3/pip, I got messages showing…
-1
votes
1 answer

Mac is getting slower. Because of pyenv or zsh, bash setting?

Suddenly my terminal is getting slower seriously! I don't know why but I guess the cause is that something wrong pyenv or zsh, bash setting. Here is my pyenv log When I run ls in Terminal(zsh). +_pyenv_virtualenv_hook:1> local 'ret=0' …
DSDS
  • 57
  • 7
-2
votes
0 answers

Python version 3.10.1 failing to install using pyenv on MacOS Ventura 13.0.1 with message: BUILD FAILED (OS X 13.0.1 using python-build 20180424)

I have been trying to install Python version 3.10.1 using pyenv, but to no avail. I have to install it using pyenv for a take-home project, but it's just not working, as the build fails. I have scrolled through the various forums, and tried many of…
-2
votes
1 answer

Tox can not find python interpreter

I just installed pyenv. After that I installed python 3.8.0 in the system So I have pyenv versions system * 3.8.0 (set by /home/me/.pyenv/version) I have the tox.ini [tox] envlist = py36,py38 skipsdist = True [testenv] # instsall pytest in the…
KansaiRobot
  • 7,564
  • 11
  • 71
  • 150
-2
votes
1 answer

Can I install pyenv on drive D?

I want to install pyenv in D:\Programs after git clone https://github.com/pyenv/pyenv.git idk how to correct add paths and system variable. Can you please explain me how to do it?
Piter
  • 61
  • 1
  • 4
-2
votes
1 answer

How to setup PyCharm to not erase variables after execute?

I'm starting on Python development using PyCharm and I want not erase the variables content after execute de file, like do Spyder to iteracte over data on Python console. Like can see on the print the variable resultado is not available on window to…
Augusto
  • 3,825
  • 9
  • 45
  • 93
1 2 3
57
58