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
0 answers

yum not working because of difficulty importing python module

I am running a CentOS 7.2 system, and I recently used pyenv to install Python 2.7.5. I am rather new to Linux, and I was under the impression that I should use pyenv to install Python so as not to interfere with the "system Python." Before…
dyson
  • 93
  • 8
0
votes
1 answer

How to install dependencies on different python environment using pyenv

I installed cmus in OSX and I run it with an awesome utility called cmus-osx.py which uses pyobjc and tinytag. It ran perfectly with Python 2.7.11. But I wanted to also run mpsyt, which only works with Python 3, so I installed pyenv in order to be…
oquiroz
  • 85
  • 5
  • 14
0
votes
4 answers

Switching between python2 and python3 as the default python

Is there a standard way to switch between python2 to python3 as the default python, similar to how virtualenv can be used to switch between different sandboxed python environments? I would like to avoid manually fiddling with symlinks and the PATH…
ccpizza
  • 28,968
  • 18
  • 162
  • 169
0
votes
1 answer

Is it safe to delete these python files from /usr/bin?

I've installed python 2x and 3x with Homebrew at /usr/local/Cellar/, and again with pydev at ~/.pyenv for both versions. Also installed with .dmg for both. I can't decide which is nicer to work on. Please advice me. And I'd like to remove some.…
Dean
  • 135
  • 2
  • 10
0
votes
0 answers

Python3.5 is not in the /usr/local/Cellar/opencv3/3.1.0_3/lib path as expected

Why there's no python3.5 in the following path? I have installed OpenCV3 for Python3 using homebrew. You can find the complete homebrew gist for this here. According to this tutorial I should have it after following the steps (so bad I don't know…
Mona Jalal
  • 34,860
  • 64
  • 239
  • 408
0
votes
1 answer

setting system python path in OSX

I am using OSX. Suppose I have installed pyenv and that, when installing a package, I am asked to provide PYTHON2_LIBRARY variable that I set to /home/username/.pyenv/shims/python. Now, I think that there are some lib path conflicts. How can I set…
user1611830
  • 4,749
  • 10
  • 52
  • 89
0
votes
1 answer

Pycharm doesn't have Django, or pyenv, or let me install python modules. Completely lost

I'm trying to work with python in PyCharm, and set up a virtualenv for my project. What I imagine should be the way this works is that I set up a project to pull from a repository. It's a Django project, so I enable Django support. Setting up a…
0
votes
1 answer

python manage.py startapp syntax error

I'm new to Django and Python. Running through the Django Polls app and have errors right away: (rrdj) Jeffreys-MBP:rrdj usr$ python manage.py startapp rr Traceback (most recent call last): File "manage.py", line 8, in from…
Jeff Ericson
  • 61
  • 1
  • 9
0
votes
0 answers

Unable to install 32-bit Python with pyenv, despite appropriate flags set

I'm looking to install the 2.6.6 Python as 32-bit with pyenv on OS X, but get: ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib? Despite having consulted Common Build Problems, and applying the flags suggested there, as…
Pyderman
  • 14,809
  • 13
  • 61
  • 106
0
votes
1 answer

PyEnv looking for virtualenvwrapper on system Python 2.7.9

I have python 2.7.9 installed system wide. Then I've installed virtualenvwrapper on that python version. After that, I've installed pyenv, then I've installed python 3.3.1 pyenv install 3.3.1 Hashed the shims of that version, exported $PATH…
NeoVe
  • 3,857
  • 8
  • 54
  • 134
0
votes
0 answers

Use pyenv local python version with SublimeREPL

My system comes with Python 2.7.6 installed by default. I need to use v2.7.8 so I've installed it using pyenv: pyenv install 2.7.8 and set it up as the local version in the folder where my code resides with: cd /path_to_folder pyenv local…
Gabriel
  • 40,504
  • 73
  • 230
  • 404
0
votes
1 answer

Django, Pyenv and Git file structure on Ubuntu

I am working to set up a django project on ec2 with an Ubuntu 14.4 LTS instance. I want to write my code using python 3 and django. I've been advised that the best way to do this is to use a virtualenv.…
user1592380
  • 34,265
  • 92
  • 284
  • 515
-1
votes
0 answers

remove pyenv from computer

I tried removing pyenv from my computer, but I'm running into problems running a python program in vscode. The vscode terminal still reflects "pyenv shell 3.11.4" and "/Users/me/.pyenv/versions/3.11.4/bin/python". I've already uninstalled pyenv from…
-1
votes
1 answer

Python 3.6.15 (pyenv) cannot find package version while it's presented in list

I participate in a legacy project development, which uses python version 3.6.15. I installed this version with pyenv and created the virtual environment like that: python -m pip install virtualenv python -m virtualenv venv source…
voilalex
  • 2,041
  • 2
  • 13
  • 18
-1
votes
1 answer

PyPI cannot depend on packages which are not also hosted on PyPI

I'm trying to install the molecular-builder python package using a virtual environment as recommended on their installation instructions however I keep running into this error: (base) bradley@bradley-OptiPlex-Tower-Plus-7010:~/Desktop$ pyenv…