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

macOS pyenv: pip install not working [SSL: CERTIFICATE_VERIFY_FAILED]

I am trying to install numpy package using pip while working with pyenv (global version 3.8.6). Command: pip install numpy Output: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by…
0
votes
0 answers

Installation of wxPython with pyenv on raspberryPiOS not possible

Update (2020-12-16): Created a log I could reproduce the error and appended a log to the end of the question. Not the whole log. Tried to filter for passages with keyword error. What I want to achieve: Installing wxPython on a Raspberry Pi running…
marco
  • 148
  • 1
  • 3
  • 15
0
votes
1 answer

Setting up virtual environments for python projects

I am trying to properly install python and set up virtual environments to make project development easier. Im stuck on how to install pip now. My question is this: Do I need to install pip in a specific way if I'm trying to set up virtual…
user13614677
0
votes
1 answer

Can't import tkinter in pyenv installed python 3.8.6 on mac

I can't import tkinter, I get the following error message: ModuleNotFoundError: No module named '_tkinter' I am using python version 3.8.6 installed using pyenv on a mac. Please help
Bjorn
  • 1
0
votes
0 answers

Build Python 3.8.3 with pyenv on Fedora

I'm trying to build Python 3.8.3 using pyenv on Fedora 32: pyenv install 3.8.3. The error I'm getting is: ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib? BUILD FAILED (Fedora 32 using python-build 1.2.21-1-g943015eb) I…
gorjan
  • 5,405
  • 2
  • 20
  • 40
0
votes
1 answer

Pyenv can't find system python (3.8) on Ubuntu 20.04

In case anyone is trying to reset to Python "system" in Ubuntu 20.04, you may run into this error: Pyenv can't find system python (3.8) on Ubuntu 20.04 I discovered this when I tried to install Ansible on Ubuntu 20.04 (this was after I had…
Harlin
  • 1,059
  • 14
  • 18
0
votes
1 answer

share pyenv environent for any user using the project

Pyenv generates env in user's home folder, which is a problem for sharing environment I do not want to install NLP and ML packages for each user I do not want to have more than single point of truth when running a project I am familiar of separate…
mPrinC
  • 9,147
  • 2
  • 32
  • 31
0
votes
1 answer

Best practice integrating pyenv virtualenv conda and ASE

I am using a desktop with Linux (specifically Pop_OS! 20.04, which is analogous to ubuntu). I need to run ASE which is python package for atomistic simulations. This can be installed in several ways (apt, pip, conda). For my purpose I need to…
Cippo1987
  • 59
  • 7
0
votes
1 answer

Jupyter kernel problem caused by pyenv+pipx

I installed two versions of python in pyenv, python3.7.5 and 3.8.6. I usually use python3.8.6, so it is globally activated (pyenv global 3.8.6). I also installed pipx by pip install pipx within python3.8.6 to install jupyter lab globally (pipx…
Hoshock
  • 21
  • 2
0
votes
0 answers

Numpy ModuleNotFoundError on pyenv python environment with Numpy installed

I'm rather new to coding, so please bare with me if I'm not using the optimal terminology to ask this question. I've installed and set up python on my Mac using pyenv based on the following…
0
votes
1 answer

How can I fix a py2app error when building with py2app

Trying to build a simple wxpython app using py2app and using pyenv. I created a virtual environment from whence I run the application and build with py2app. It fails during building on a "no such file or directory" error. copying file…
hasii
  • 350
  • 2
  • 9
0
votes
1 answer

Why I still have system interpreter?

I'm using pyenv for managing python versions. I have installed oh-my-zsh. And I don't know why, but I think it isn't clear ~ pyenv versions …
Ian
  • 43
  • 1
  • 7
0
votes
0 answers

python -m test results returns failure

I'm a little concerned that I've messed something up after uninstalling Python 3.8.5 and reinstalling via pyenv. I am following this guide and when I try to test whether I have properly installed Python 3.8.5 by running python -m test I am getting a…
deadant88
  • 920
  • 9
  • 24
0
votes
3 answers

install tkinter on mac os and pyenv

When I import tkinter, I get this error: No module named '_tkinter' I used both the installation here: https://platform.activestate.com/oferlip/ActiveTcl-8.5/distributions and also tried this command: brew install tcl-tk I saw in this github…
Kenny Smith
  • 729
  • 3
  • 9
  • 23
0
votes
2 answers

openssl@1.1 not used? dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib

While attempting to install python via pyenv, I was hitting the a frustrating dynamic link error for openssl, even though I'd installed and configured openssl@1.1 via homebrew months prior: $ pyenv install -v 3.8.2 pyenv:…
fire
  • 410
  • 7
  • 17