virtualenv Questions
3
Solved
I apologize if what I'm trying to achieve is not Pythonic - I recently moved to the language.
I have a project directory structured like so:
root
--proj1
----venv
----main.py
--proj2
----venv
----m...
Feverwort asked 23/7, 2020 at 23:52
2
Solved
Hi I'm a beginner of python, I don't remember when and how I installed python3.8 on my Macbook air, only knew the installed path:
% which python
/usr/bin/python
% which python3
/usr/local/bin/pytho...
Adkinson asked 24/7, 2021 at 20:18
5
System information
OS Platform and Distribution (e.g., Linux Ubuntu 18.04)
Ubuntu 20.04
Python version: 3.6
Installed using virtualenv
CUDA/cuDNN version: 11.5 / 8.1.0.77
GPU model and memory: RTX...
Carafe asked 28/1, 2021 at 8:12
1
i'm trying to set a virtual enviroment with:
$ python3 -m venv cv2
But when trying it, i'm getting this exception:
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", lin...
Judicial asked 30/10, 2018 at 9:21
2
the issue: running Python's matplotib from a Windows virtual environment as reported & discussed Github ticket 93 and a relevant suggested fix here.
Code (myp.py):
import matplotlib.pyplot a...
Ashmore asked 19/2, 2016 at 19:30
2
What I have:
local Python3 files that I want to turn into a module test_module
test_module folder containing an empty __init__.py, a setup.py file (see below) and subdirectories with several sou...
Coati asked 27/9, 2018 at 23:35
3
I'm trying to set the log level in a pyspark job. I'm not using the spark shell, so I can't just do what it advises and call sc.setLogLevel(newLevel), since I don't have an sc object.
A lot of sou...
Scare asked 27/3, 2018 at 22:26
6
Solved
I create a virtual environment; let's say test_venv, and I activate it. All successful.
HOWEVER, the path of the Python Interpreter doesn't not change. I have illustrated the situation below.
For c...
Gills asked 21/12, 2020 at 9:13
16
I'm trying to create and activate a virtual environment, using Windows 10 command prompt. I know that virtualenv is installed correctly, as the command
virtualenv venv
Works. I've navigated to m...
Brunson asked 23/10, 2017 at 18:26
5
Solved
I'm very new to working with Flask-
according to http://flask.pocoo.org/docs/0.12/deploying/mod_wsgi/
under the heading "Working with Virtual Environments"
I read:
For Python 3 add the follo...
Wolof asked 8/3, 2017 at 2:14
3
Solved
I want to use Intellij Idea within my existing python django project which was built within a virtual environment in ubuntu. How do I configure Intellij Idea to use the libraries of the virtual env...
Peripatetic asked 2/1, 2014 at 5:51
5
I have just started learning backend dev using django. My question is do I just commit the project files in the server folder alone, or should I also commit the .env folder to the repository?
I ha...
Thyme asked 26/6, 2019 at 4:9
2
Solved
I'm trying to install virtualenvwrapper (not pyenv-virtualenvwrapper) in my macOS (using zsh). I'm using pyenv to mange multiple python versions and pipx to install CLI stuff.
I'm using Python 3.8...
Sukkah asked 27/3, 2020 at 12:4
3
Solved
I have a couple projects that require similar dependencies, and I don't want to have pip going out and DLing the dependencies from the web every time. For instance I am using the norel-django packa...
Rambort asked 9/11, 2012 at 15:45
3
I am trying to update my matplotlib in virtualenv and now it seems everything crashed :(
what I did till now is basically,
source ~/myenv/bin/activate
pip install -U matplotlib
I had previously...
Procurance asked 1/12, 2017 at 14:3
9
When I try to create venv it throws this error:
Error: Command '['C:\\Users\\admin\\env\\Scripts\\python.exe', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
It...
Rampart asked 16/10, 2021 at 8:51
20
I am setting up the base for a django project, I have cloned a repo and I have just created a virtual environment for the project in the same directory.
But when I try to run the command pip instal...
Tittle asked 20/10, 2017 at 17:36
4
Solved
I have just downloaded python 3.6.1 from github and built it in a local dir. Now I am trying to make a virtualenv with that version of python but I keep getting:
Running virtualenv with interprete...
Kwan asked 14/12, 2018 at 1:7
4
Solved
How do I install poetry in my image? (should I use pip?)
Which version of poetry should I use?
Do I need a virtual environment?
There are many examples and opinions in the wild which offer differen...
Viperish asked 1/6, 2022 at 16:45
3
Solved
I just transitioned from pipenv to poetry and I'm having trouble importing a package from a local package I'm developing in a few of my scripts. To make this more concrete, my project looks somethi...
Rabaul asked 4/3, 2021 at 12:15
10
1) I installed virtualenv using pip.
2) I ran the command virtualenv venv
3) Then I ran source venv/bin/activate but it says that there is no such file or directory.
When I cd into venv/bin I fin...
Plum asked 17/1, 2017 at 1:48
3
Solved
I create a python3 virtual environment (explicitly avoiding symlinks, with --copies):
» python3 -m venv --without-pip --copies venv
This is my complete virtual environment now:
» tree venv/
ven...
Musing asked 27/1, 2016 at 10:50
8
I have installed virtualenv (if I type "pip list" there is virtualenv (15.1.0)) and when I try to use it throws an error:
virtualenv : The term 'virtualenv' is not recognized as the name of a c...
Crissy asked 21/2, 2018 at 17:5
8
Solved
I'm trying to register a pyenv-virtual env as a jupiter lab kernel on MacOs. I have this working on ubuntu but I'm running into issues on my MacBook.
I followed the instructions here which creates...
Lanti asked 9/8, 2019 at 2:0
5
Solved
As part of the compilation step for a new python version, I fetch and run get-pip.py, to have the latest pip installed next to the python executable:
$ /opt/python/3.7.0/bin/python --version
Pytho...
Retrace asked 7/8, 2018 at 7:13
1 Next >
© 2022 - 2025 — McMap. All rights reserved.