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

"No module dbm" when using pyenv installed python

I'm looking to use pyenv to manage multiple python versions within a docker image. I'm currently having an issue when running python2.7.17 in a debian:buster-slim image where it is missing a package dbm: Python 2.7.17 (default, Apr 22 2021,…
ngrisafi
  • 1
  • 1
0
votes
1 answer

How to choose Python version when making a new virtual environment with virtualenvwrapper?

It seems like the current global Python version provided by pyenv-win is automatically being employed, but there seems to be no option or parameter in the commmand mkvirtualenv of virtualenvwrapper to specify a Python version. E.g. my current global…
Andreas L.
  • 3,239
  • 5
  • 26
  • 65
0
votes
1 answer

How to update Python version running Python in Matlab using pyenv?

On MATLAB (MacOS) with: pe = pyenv; pe.Version ans = "2.7" In terminal: python --version Python 3.8.5 How can I update Python in MATLAB?
Barbab
  • 266
  • 1
  • 8
0
votes
0 answers

First time using linux and trying to improve my pyenv experiance

This is my first time using Linux and I need to use pyenv in the terminal (I am using a virtual ubuntu session on my windows machine). However, every time I start the windows terminal and shift to the ubuntu terminal, the following messages are…
0
votes
2 answers

pyenv - how to get more info re: "system", including version

I'm on MacOS, and I have latest python installed via brew. A few months ago, I started using pyenv to be able to switch between latest python and a project that was fixed at python v3.8. I think I got it all set up but I'm confused. pyenv refuses to…
Mike B
  • 627
  • 3
  • 11
  • 19
0
votes
0 answers

How to Stop Python on VS Code From Showing Working Directory on Run

Screenshot of what I meant I'm on windows 10 using wsl2 with Debian distro. I added python using pyenv. Every time I run a python script, the terminal prints the python interpreter path along with the working directory, and this is annoying me ever…
0
votes
0 answers

Cant add any package with poetry while using pyenv

I decided to try combo of pyenv and poetry. And after creating test project and adding dependencies to it I always have the same error. Why poetry is trying to use not existing wheels, pip and setuptools? Maybe there are some configurations to be…
0
votes
1 answer

How can I get AWS Chalice to use pyenv virtualenv python version?

I have a virtual environment create from pyenv virtualenv 3.8.8 raai which is active. When I install and then invoke chalice it is using the system installed python version. How can I get the chalice command to use the pyenv specified/active…
lovelikelando
  • 7,593
  • 6
  • 32
  • 50
0
votes
2 answers

Tox uses the wrong interpterer

I've spotted some similar questions/answers, but not what I'm having. Thanks for your help! System : ubuntu 20.04 fresh install, python 3.8.5 system installed and pyenv running just fine. Tox,though, creates the venv but keeps running the system…
0
votes
1 answer

How can I change note on docker-compose?

I am traying to run docker-compose, but an error occur: eric@pop-os:~/Documentos/web$ docker-compose up Postgres bash: /home/eric/.local/bin/docker-compose: Arquivo ou diretório inexistente When I run which…
user13052453
0
votes
0 answers

pyenv wont find python version 3.8.7 to install

I am trying to install python version 3.8.7. According to the python documentation (https://docs.python.org/3.8/), this is the most up to date version of 3.8. but if I run pyenv install --list I cannot see version 3.8.7 in the list of available…
0
votes
1 answer

Unable to install Python 3.8.5 using pyenv

I'm trying to install Python 3.8.5 using pyenv on Centos 6 Docker image. I am getting the below error: Downloading Python-3.6.12.tar.xz... -> https://www.python.org/ftp/python/3.6.12/Python-3.6.12.tar.xz Installing Python-3.6.12... BUILD FAILED…
Underoos
  • 4,708
  • 8
  • 42
  • 85
0
votes
1 answer

Run multiple versions of Python with tox in Windows

Could anyone point me to the best way to let Tox find multiple Python interpreters on a Windows system? I am not allowed to modify the tox.ini for my project. The tox.ini file contains: envlist = py27,py37 I would like tox to be able to find the…
Mason3k
  • 151
  • 1
  • 8
0
votes
1 answer

Can not Install python on mac "BigSur" 3.7.1

List versions: pyenv install --list | grep " 3.[78]" 3.7.0 3.7-dev 3.7.1 3.7.2 3.7.3 3.7.4 3.7.5 3.7.6 3.7.7 3.7.8 3.7.9 3.8.0 3.8-dev 3.8.1 3.8.2 3.8.3 3.8.4 3.8.5 3.8.6 Install python: install 3.7.1 python-build: use openssl@1.1 from…
Irina
  • 939
  • 1
  • 8
  • 26
0
votes
0 answers

Configuring Jupyterlab environment

I am following a tutorial on creating a basic webscraper utilising jupyterlab, I have been instructed to perform the following to setup my jupyterlab environment but cannot figure out this basic step for the life of me. # Setup & Install Packages #…
lachlan
  • 13
  • 2