Questions tagged [pyenv-virtualenv]

61 questions
0
votes
0 answers

Having trouble exiting pyenv-virtualenv on macOS

I'm using pyenv-virtualenv, but when I run deactivate or source deactivate, I remain in the virtual environment. (env1) sashamarinskiy@Sashas-MacBook-Air ~ % deactivate pyenv-virtualenv: deactivate must be sourced. Run 'source deactivate' instead of…
0
votes
0 answers

Why do I have two different python envs linked?

I'm using pyenv with python version 3.9.1 I have two projects. I created virtualenv for each of them with "python -m venv env". When I install tox in one env, I can use it in the other. When I uninstall tox in one env, I lose it in the other. This…
0
votes
1 answer

ModuleNotFoundError with pyenv and python 3.10.6 (not 3.9.13)

I've been using pyenv and my own module for years. Giving 3.10.6 a try and things break. The following works (new install today - runbook is my own code): pyenv install 3.9.13 pyenv shell 3.9.13 pip install -e ~/code/runbook runbook -h When I do…
Brett Stottlemyer
  • 2,734
  • 4
  • 26
  • 38
0
votes
1 answer

How to use a Python interpreter in a virtual environment

In Linux Mint distro I have installed pyenv and pyenv-virtualenv so I can activate and deactivate an environment with a given Python version. I would like to use bpython or ipython interpreters with an environment but I only can install them with…
user1993416
  • 698
  • 1
  • 9
  • 28
0
votes
1 answer

Fail to create Virtualenv with jenkins using pipenv

I'm trying to install dependencies using pipenv, my Jenkinsfile is as the following pipeline { agent any stages{ stage('Install dependencies') { steps { echo 'Install dependencies' …
Smaillns
  • 2,540
  • 1
  • 28
  • 40
0
votes
1 answer

How to make Python version executables global across multiple pyenv-virtualenv virtual environments

A pyenv Python version (e.g. 3.10.4) has the "normal" expected Python executables associated with it (e.g., pip, 2to3, pydoc) $ ls "${PYENV_ROOT}/versions/3.10.4/bin" 2to3 idle idle3.10 pip3 pydoc pydoc3.10 python-config …
Matthew Feickert
  • 786
  • 6
  • 26
0
votes
1 answer

I think I have a problem with pyenv on my server

I have used pyenv to create some virtualenv for my project, and a few month ago, it seems to make some confusing problem. Everytime when I go into the directory which I had set venv, it looks work, but it won't work currectly root@VM-4-7-debian:~#…
Windmourn
  • 1
  • 1
0
votes
0 answers

Command 'python' and 'pip' not found after activating pyenv-virtualenv

Everything is going smooth including activating a created pyenv-virtualenv. But when I execute 'python' or 'pip' it doesn't work and outputs the following results: (value) cz@iZj6ce3j6ldxwyg2tjixztZ:~/workspace/value$ python test.py Command…
0
votes
0 answers

how to activate Pyenv locally

What's the correct way to activate a Pyenv environment? I want to use an env with python version 3.7.4. I tried this following this tutorial: https://akrabat.com/creating-virtual-environments-with-pyenv/ pyenv install 3.7.4 pyenv virtualenv 3.7.4…
x89
  • 2,798
  • 5
  • 46
  • 110
0
votes
2 answers

problems comes while creating virtualenv

I have installed python 3.10.2, while creating virtualenv I did pip install virtualenv. then I create myenv (virtualenv mypython), but I got error like this. could you please help me what do I do the error is : C:\Users\ARROWIN…
0
votes
1 answer

pyenv can't make virtualenv even with pyenv-virtualenvwrapper installed

So first I installed pyenv with brew install pyenv. After trying to install virtualenvs unsuccessfully I installed virtualenv with brew install pyenv-virtualenv. I noticed that there was no folder named ~/.virtualenvs so I made one and ran the…
ChristianOConnor
  • 820
  • 7
  • 29
0
votes
1 answer

"command not found: pyenv" when opening terminal

Some time ago I installed and used pyenv for a purpose I don't need anymore. Then, I uninstalled it. However, whenever I open up my terminal the first thing it prints is: /Users/jcortizrh/.zshrc:1: command not found: pyenv So it looks like my…
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
1 answer

Bash script python pyenv

I use pyenv in my work and try to automate activation pyenv via bash script. Normally i use below commands to activate it (it works well): export PATH="$HOME/.pyenv/bin:$PATH" eval "$(pyenv init -)" eval "$(pyenv virtualenv-init -)" pyenv activate…
dmitriy_one
  • 477
  • 1
  • 5
  • 16
-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…