virtualenv Questions

1

Using snap I installed python38 on an Ubuntu 18 server. now I want to create a new virtual environment but I fail as these commands fail: $ virtualenv --python /snap/bin/python38 myvenv Running vir...
Hereon asked 27/6, 2021 at 13:32

9

Solved

I have gunicorn installed inside my virtual env: $ pip install gunicorn Collecting gunicorn Using cached gunicorn-19.7.1-py2.py3-none-any.whl Installing collected packages: gunicorn Successfully ...
Rafaello asked 18/5, 2017 at 22:5

12

Solved

I am trying to install a package which uses PEP 517. The newest version of Pip won't allow me to install it due to an error involving building wheels for PEP 517. In the past, I've solved this issu...
Baghdad asked 24/9, 2020 at 2:22

3

Solved

First, I'm using hotstick.minimal theme in oh my posh. And it looks like this. As you can see, a current venv doesn't look good. And I made some changes in JSON file. Then it looks like this. I d...
Tertius asked 4/8, 2021 at 10:5

16

Solved

I've recently installed both Pyenv and Poetry and want to create a new Python 3.8 project. I've set both the global and local versions of python to 3.8.1 using the appropriate Pyenv commands (pyenv...
Botelho asked 19/1, 2020 at 13:6

6

I made sure pipenv was installed in the following path C:\Users\Owner> pip install pipenv Then got the following response: Requirement already satisfied: setuptools>=36.2.1 in c:\users\owne...
Earthenware asked 12/5, 2020 at 1:27

9

Solved

Here an issue i'm having on a conda Virtual env. I'm using ubuntu 64b guest on windows 7 host with Virtual Box. So when i'm doing : source activate MyVirtEnv conda list |grep visdom visdom 0.1.05...
Richierichlad asked 16/10, 2017 at 9:28

12

Solved

I am using python 2.7 + virtualenv version 1.10.1 for running myproject projects. Due to some other projects requirement I have to work with another version of Python (3.5). For this I have install...
Cajolery asked 28/3, 2017 at 12:36

2

Bit of backstory, I'm relatively new to Python and development in general and have stupidly been installing project specific packages as system packages. This is now causing me issues when trying t...
Alitta asked 15/7, 2016 at 14:6

35

Solved

When I try to run app.py (Python 3.3, PyCrypto 2.6) my virtualenv keeps returning the error listed above. My import statement is just from Crypto.Cipher import AES. I looked for duplicates and you ...
Farmyard asked 27/10, 2013 at 20:39

2

Solved

I have a monorepo structured like this: myRepo/ ├─ project_1/ │ ├─ .venv/ │ ├─ main.py ├─ project_2/ │ ├─ .venv/ │ ├─ main.py ├─ .gitignore ├─ README.md Can VS Code handle multiple python venvs i...
Riggle asked 25/10, 2021 at 13:21

2

Previously I installed Chrome driver version 103.0.5060.53 on the conda virtual environment but now Chrome is updated with the newer Version 123.0.6312.86 so the script is not working I want to upd...

10

Solved

I have installed a created a virtualenv machinelearn and installed a few python modules (pandas, scipy and sklearn) in that environment. When I run jupyter notebook, I can import pandas and scipy ...
Spangle asked 24/2, 2017 at 23:9

5

Solved

The Problem Newest version of virtualenv (16.7.2) on python v.3.7.4 has 4 additional lines for the "activate.ps1" script, which when run on Windows10 powerhsell gives the error: You must ...
Clastic asked 1/8, 2019 at 23:53

4

Solved

Conda allows me to list all virtual environments as shown here. The commands are: conda info --envs OR conda env list I want to do that using pip. Does pip have any option to list all virtual en...
Moulden asked 1/4, 2020 at 15:2

14

I've got my project set up under a native virtual environment in 3.4 and have had it that way for a while and had it working fine. But for some reason, I am now having issues with running my projec...
Hernardo asked 1/7, 2015 at 13:36

1

I have built a python module which installs kwikapi==0.4.5 and requests==2.22.0. But kwikapi has requests==2.18.4. Now when I install and run my package, I am getting error pkg_resources.Contextua...
Bromley asked 6/2, 2020 at 6:53

3

I want to find how many virtual environments on my machine, and I ran: lsvirtualenv But received the error message: -bash: lsvirtualenv: command not found I didn't use anaconda to create my v...
Yttriferous asked 11/3, 2019 at 22:2

9

Solved

I've had great luck with pip in the past, but working at installing some stuff in a venv on is giving me some headaches. I keep getting errors like No distributions at all found for somepackage St...
Pegg asked 27/1, 2015 at 10:17

5

Solved

I have just installed pyenv following the installation guide pyenv-win, things goes smoothly, but i could not make the pyenv global python as the global interpreter I have rehashed after installati...
Leucocratic asked 30/9, 2020 at 13:23

14

Solved

I installed python environment by means of commands: SYS_INSTALL="apt-get install -y" PIP_INSTALL="pip install" # Be sure to install setuptools before pip to properly replace easy_install. $SYS_I...
Nedanedda asked 10/5, 2016 at 11:48

3

Solved

I have created a virtual environment with pyenv virtualenv 3.5.9 projectname for developing a django project. How can I set environment variables for my code to use? I tried to add the environment ...
Congruency asked 7/9, 2020 at 14:11

3

Solved

I am in a virtualenv and trying to run through pip installs. I know the code works because outside the virtualenv this code has worked. I am running on a Windows 10 machine. Using the Git Bash term...
Ryun asked 16/3, 2018 at 19:52

2

Solved

I want to schedule a job from wsl. The job will need to be run in the nix-shell and then in the python virtual environment under Nix-shell. I try to do this by writing a shell script, run ./enter.s...
Ellmyer asked 29/10, 2020 at 20:29

3

Actually, I wanted to create my first django project. After I did some coding in the cmd then I opened the code using visual studio code. I selected the python interpreter on the status bar, then I...
Donaugh asked 9/10, 2020 at 10:25

© 2022 - 2025 — McMap. All rights reserved.