source
is a shell command designed for users running on Linux (or any Posix, but whatever, not Windows).
On Windows, virtualenv creates a .bat/.ps1 file, so you should run venv\Scripts\activate
instead (per the virtualenv documentation on the activate script).
Just run activate
, without an extension, so the right file will get used regardless of whether you’re using cmd.exe or PowerShell.
Related Posts:
- 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?
- How to activate an Anaconda environment
- No acceptable C compiler found in $PATH when installing python
- Updating matplotlib in virtualenv with pip
- How to activate virtualenv in Linux?
- ImportError: No module named ‘encodings’
- No module named pkg_resources
- What is the purpose of “pip install –user …”?
- How to leave/exit/deactivate a Python virtualenv
- What is the easiest way to remove all packages installed by pip?
- PyLint “Unable to import” error – how to set PYTHONPATH?
- What is the difference between venv, pyvenv, pyenv, virtualenv, virtualenvwrapper, pipenv, etc?
- Virtualenv Command Not Found
- pip install -r requirements.txt [Errno 2] No such file or directory: ‘requirements.txt’
- bash: mkvirtualenv: command not found
- ImportError: No module named Crypto.Cipher
- Use different Python version with virtualenv
- ‘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)
- Unable to install boto3
- Virtualenv not compatible with this system or executable
- What does the list() function do in Python?
- raw_input function in Python
- How to execute a program or call a system command?
- Adding new column to existing DataFrame in Python pandas
- Confusion between Python and Anaconda
- How to find which version of TensorFlow is installed in my system?
- Understanding the Python ‘with’ statement
- Python ‘If not’ syntax [duplicate]
- What is the maximum recursion depth in Python, and how to increase it?
- How to change the order of DataFrame columns?
- What does %s mean in a python format string?
- ImportError: No module named ‘tensorflow.python’
- How to access environment variable values
- python numpy ValueError: operands could not be broadcast together with shapes
- error: command ‘gcc’ failed with exit status 1 while installing eventlet
- TypeError: ‘dict’ object is not callable
- Error in Python script “Expected 2D array, got 1D array instead:”?
- Get list from pandas dataframe column or row?
- main loop ‘builtin_function_or_method’ object is not iterable
- Understand the Find() function in Beautiful Soup
- ‘DataFrame’ object has no attribute ‘sort’
- No Module named PIL
- Name ‘xrange’ is not defined in Python 3 [duplicate]
- TypeError: cannot unpack non-iterable int objec
- Why are Python’s ‘private’ methods not actually private?
- Pandas DataFrame column to list
- Empty set literal?
- How can I check file size in Python?
- Any way to clear python’s IDLE window?
- Shuffle DataFrame rows
- What is the point of float(‘inf’) in Python?
- Why do I get a “referenced before assignment” error when assigning to a global variable in a function?
- Is there a way to perform “if” in python’s lambda?
- Remove the first character of a string
- How to get the current working directory using python 3?
- Two dimensional array in python
- printing a two dimensional array in python
- min() arg is an empty sequence
- How can I open an Excel file in Python?
- No module named “Torch”
- How do I convert hex to decimal in Python?
- How to get all subsets of a set? (powerset)
- Python throws ValueError: list.remove(x): x not in list
- ‘int’ object has no attribute ‘__getitem__’
- How to change plot background color?
- ImportError: No module named ‘bottle’ – PyCharm
- How can I remove all instances of an element from a list in Python?
- Pip – Fatal error in launcher: Unable to create process using ‘”‘
- Data type conversion error: ValueError: Cannot convert non-finite values (NA or inf) to integer
- Create an empty list in Python with certain size
- What is the perfect counterpart in Python for “while not EOF”
- How to compare individual characters in two strings in Python 3
- Unsupported operand type(s) for +: ‘float’ and ‘str’ error
- Plotting multiple lines, in different colors, with pandas dataframe
- TypeError: cannot concatenate a non-NDFrame object
- What causes a Python segmentation fault?
- function is not defined error in Python
- Need to install urllib2 for Python 3.5.1
- Float must be a string or a number?
- Play audio with Python
- Inheritance and init method in Python
- TypeError: expected str, bytes or os.PathLike object, not _io.TextIOWrapper
- Replacing Pandas or Numpy Nan with a None to use with MysqlDB
- How do I merge lists in python? [duplicate]
- Get a Try statement to loop around until correct value obtained
- Does python have header files like C/C++?
- Making a POST call instead of GET using urllib2
- Extract first and last row of a dataframe in pandas
- Python decoding Unicode is not supported
- TypeError: got multiple values for argument
- How can I recover the return value of a function passed to multiprocessing.Process?
- Python Remove last char from string and return it
- bound method Response.json of Response [200]
- TypeError: coercing to Unicode: need string or buffer