Skip to content

Commit 7aaf270

Browse files
committed
Refer to the official user guide regarding the activation of virtual env
1 parent d94c5a1 commit 7aaf270

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

doc/source/development/contributing.rst

+8-4
Original file line numberDiff line numberDiff line change
@@ -243,12 +243,16 @@ You'll need to have at least python3.5 installed on your system.
243243
# Create a virtual environment
244244
# Use an ENV_DIR of your choice. We'll use ~/virtualenvs/pandas-dev
245245
# Any parent directories should already exist
246+
# If you are using Windows and command prompt, replace ~ (the tilde sign)
247+
# with %userprofile%
246248
python3 -m venv ~/virtualenvs/pandas-dev
249+
247250
# Activate the virtualenv
248-
# If you are using Windows and Powershell you need to run:
249-
# ~/virtualenvs/pandas-dev/Scripts/Activate.ps1
250-
# or if you are using Windows and command prompt (cmd.exe):
251-
# ~/virtualenvs/pandas-dev/Scripts/activate.bat
251+
# If you are using Windows, you can find the activation scripts under
252+
# ~\virtualenvs\pandas-dev\scripts
253+
# Please refer to the official user guide at
254+
# https://virtualenv.pypa.io/en/stable/userguide/#activate-script
255+
# about how to activate your virtual environment under Windows
252256
. ~/virtualenvs/pandas-dev/bin/activate
253257
254258
# Install the build dependencies

0 commit comments

Comments
 (0)