Category "virtualenv"

How do you set your pythonpath in an already-created virtualenv?

What file do I edit, and how? I created a virtual environment.

How to correct virtualenv command output

I am learning to use virtual environments like and I realize that by using the use the virtualenv command: virtualenv env_dj_cuatro my virtual environment is

The term '\venv\Scripts\activate.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program

I have been trying to get a venv to activate for the last week. Currently, the errors say The module 'venv' could not be loaded. For more information, run 'Impo

PkgResourcesDeprecationWarning: 0.1.36ubuntu1 is an invalid version, has anyone seen this before

/home/user/.local/lib/python3.8/site-packages/pkg_resources/init.py:116: PkgResourcesDeprecationWarning: 0.1.36ubuntu1 is an invalid version and will not be sup

Problem with virtual env: can't import installed packages in the virtualenv

I am doing some tests with virtualenv to see how it works and I think I ran into some trouble. First I created a folder and changed my path to it: $ mkdir n

Django: Error: You don't have permission to access that port

I'm very new to this whole setup so please be nice. On dev the command usually works with no errors but since I have been experimenting with different commands

Ubuntu 21.04, Virtualenv and its configuration of Python

EDIT: In addition to the behaviour outlined below, the Python3.10 based environment seems to be ignoring packages installed with the pip -e option (development

virtualenv to path on Windows 10

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

How to export PYTHONPATH when I activate a virtual environment on pyenv-virtualenv?

I am using pyenv and its plugin pyenv-virtualenv. My questions is: How to modify PYTHONPATH environment variable when I activate some virtual environment on py

how to deactivate virtualenv from a bash script

I'm a novice in shell scripting, but I want to make a bash script for activate/deactivate a virtual enviroment using virtualenv. Then I want to use this script

python: error while loading shared libraries: libpython3.4m.so.1.0: cannot open shared object file: No such file or directory

I have created a python virtual environment using virtualenv, after activating it, I can see where is Python installed in my shell as following: (virtualenv-te

pyvenv not working because ensurepip is not available

I upgraded from ubuntu 14.04 to ubuntu 16.04 a few days ago. When I try to create a virtual env by using pyvenv .venv or python3 -m venv .venv There is an err

What is the difference between pyenv, virtualenv, anaconda?

I am a ruby programmer trying to learn python. I am pretty familiar with pyenv since it is like a copy and paste from rbenv. Pyenv helps allow to have more than

Issue with activating virtualenv

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

MWAA - Airflow - PythonVirtualenvOperator requires virtualenv

I am using AWS's MWAA service (2.2.2) to run a variety of DAGs, most of which are implemented with standard PythonOperator types. I bundle the DAGs into an S3 b

How do I reset PYTHONPATH to "default" value in virtualenv?

I was struggling with installing dependencies for an external library (the requirements were already fulfilled) when I read that I should check if the install p

Installing M2Crypto inside of virtualenv without installing swig to the system

I am working in a virtual environment and when I pip install M2Crypto on a machine that happens to have swig installed (system-wide) then it installs fine. I ne

Does Conda replace the need for virtualenv?

I recently discovered Conda after I was having trouble installing SciPy, specifically on a Heroku app that I am developing. With Conda you create environments,

pip freeze does not show all installed packages

I am using a virtualenv. I have fabric installed, with pip. But a pip freeze does not give any hint about that. The package is there, in my virtualenv, but pip

VirtualEnv and python-embed

I have a Windows machine running many apps using Python 2. I want to add a new program I wrote using Python 3. To make sure I don't screw anything up, I wanted