Category "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

PyCharm error: Cannot run program, error=2, No such file or directory

I am getting the following error message when attempting to execute Python code in PyCharm: Cannot run program "/Users/x/.virtualenvs/untitled/bin/python" (in

PyCharm error: Cannot run program, error=2, No such file or directory

I am getting the following error message when attempting to execute Python code in PyCharm: Cannot run program "/Users/x/.virtualenvs/untitled/bin/python" (in

Pycharm External tools relative to Virtual Environment

Using the PyCharm IDE, when setting up an external tool, how can you set up the external tools with a path relative to use the current virtual env defaults.? A

ReportMissingImports -- Python virtual environment cant find my Imports

I am trying to use a virtual environment in vscode, but when I set the interpreter to the file path in my venv folder it says that the imports can't be resolved

What's the difference between "virtualenv" and "-m venv" in creating Virtual environments(Python)

Sorry if I sound a bit foolish. I'm confused about this what's the difference between the twovirtualenv myvenv and-m venv myvenv The first one works well for me

Is there a way to install Flask globally

I am new to Python. Today I installed flask in C:Users\myName\FolderA using below commands and it worked fine. But when i try to create a structure C:Users\myNa

There is no activate when I am trying to run my virtual env

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 direc

What is the difference between venv, pyvenv, pyenv, virtualenv, virtualenvwrapper, pipenv, etc?

Python 3.3 includes in its standard library the new package venv. What does it do, and how does it differ from all the other packages that seem to match the reg