Solution 1:
For some reason, virtualenvwrapper.sh
installed in /usr/bin/virtualenvwrapper.sh
, instead of under /usr/local/bin
.
The following in my .bash_profile
works…
source "/usr/bin/virtualenvwrapper.sh" export WORKON_HOME="/opt/virtual_env/"
My install seems to work fine without sourcing virtualenvwrapper_bashrc
Solution 2:
Alternatively as mentioned below, you could leverage the chance that virtualenvwrapper.sh
is already in your shell’s PATH
and just issue a source `which virtualenvwrapper.sh`
Related Posts:
- How to leave/exit/deactivate a Python virtualenv
- What is the difference between venv, pyvenv, pyenv, virtualenv, virtualenvwrapper, pipenv, etc?
- Use different Python version with virtualenv
- Virtualenv not compatible with this system or executable
- How do I update\upgrade pip itself from inside my virtual environment?
- How do I update\upgrade pip itself from inside my virtual environment?
- How to uninstall a package installed with pip install –user
- Using Python 3 in virtualenv
- Where does pip install its packages?
- Where does pip install its packages?
- ImportError: No module named psycopg2
- How to activate an Anaconda environment
- No acceptable C compiler found in $PATH when installing python
- Updating matplotlib in virtualenv with pip
- How to run Conda?
- How to activate virtualenv in Linux?
- ImportError: No module named ‘encodings’
- No module named pkg_resources
- What is the purpose of “pip install –user …”?
- What is the easiest way to remove all packages installed by pip?
- PyLint “Unable to import” error – how to set PYTHONPATH?
- Git Bash won’t run my python files?
- Running Bash commands in Python
- Running Bash commands in Python
- Virtualenv Command Not Found
- standard_init_linux.go:178: exec user process caused “exec format error”
- pip install -r requirements.txt [Errno 2] No such file or directory: ‘requirements.txt’
- Python, how to handle the “ValueError: unsupported pickle protocol: 4” error?
- ImportError: No module named Crypto.Cipher
- ‘virtualenv’ is not recognized as an internal or external command, operable program or batch file
- What’s the difference between “virtualenv” and “-m venv” in creating Virtual environments(Python)
- Issue with virtualenv – cannot activate
- Unable to install boto3
- What does the “yield” keyword do?
- Renaming column names in Pandas
- Does Python have a string ‘contains’ substring method?
- Is there a “not equal” operator in Python?
- IndexError: list index out of range and python
- Python: ‘ModuleNotFoundError’ when trying to import module from imported package
- Check if a given key already exists in a dictionary
- ValueError: setting an array element with a sequence
- ‘python’ is not recognized as an internal or external command [duplicate]
- `from … import` vs `import .` [duplicate]
- How to read a text file into a string variable and strip newlines?
- ln (Natural Log) in Python
- How do I select rows from a DataFrame based on column values?
- How to round to 2 decimals with Python?
- How do I concatenate two lists in Python?
- How do I get the row count of a Pandas DataFrame?
- python : comma in print as “\t”
- How can I randomly select an item from a list?
- Python Error: AttributeError: __enter__ [duplicate]
- How to plot a histogram using Matplotlib in Python with a list of data?
- ‘End of statement expected’ in pycharm
- How to import files in python using sys.path.append?
- Tensorflow: why ‘pip uninstall tensorflow’ cannot find tensorflow
- TypeError: object of type ‘int’ has no len() – Python/Pygame
- Python: Open file in zip without temporarily extracting it
- Installing tensorflow with anaconda in windows
- Plotting multiple different plots in one figure using Seaborn
- What does “unsqueeze” do in Pytorch?
- Delete an element from a dictionary
- Change figure size and figure format in matplotlib
- JSON to pandas DataFrame
- Convert decimal to binary in python
- How to remove specific elements in a numpy array
- Converting between datetime and Pandas Timestamp objects
- Overflow / math range error for log or exp
- Creating a Pandas DataFrame from a Numpy array: How do I specify the index column and column headers?
- Overflow Error in Python’s numpy.exp function
- Python can’t find module in the same folder
- Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock
- Pandas long to wide reshape, by two variables
- how to create a list of lists
- Python – ‘ascii’ codec can’t decode byte
- Python assigning multiple variables to same value? list behavior
- IDLE’s subprocess didn’t make a connection. Either IDLE can’t start or personal firewall software is blocking the connection
- How to update a plot in matplotlib?
- ImportError: No module named MySQLdb
- Comparing two dictionaries and checking how many (key, value) pairs are equal
- How to fix “AttributeError: module ‘tensorflow’ has no attribute ‘get_default_graph'”?
- Iterating over a 2 dimensional python list [duplicate]
- How do I get the full path of the current file’s directory?
- How to remove project in PyCharm?
- Parse date string and change format
- Appending to a list gives ‘int’ object has no attribute ‘append’
- What does this Django regular expression mean? `?P`
- Strange error about invalid syntax
- Python Coin Toss
- Is it better to use path() or url() in urls.py for django 2.0?
- gunicorn.errors.HaltServer:
django - What is a clean, Pythonic way to have multiple constructors in Python?
- Python Login Script; Usernames and Passwords in a separate file
- Ignore .pyc files in git repository
- MovieWriter ffmpeg unavailable; trying to use class ‘matplotlib.animation.PillowWriter’ instead
- How can I access global variable inside class in Python
- Python 2.7 mixing iteration and read methods would lose data
- Conditional indexing with Numpy ndarray
- python numpy machine epsilon
- Installing lxml module in python