Skip to content

DOC: Add instructions how to activate virtual env under windows with pip #29113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Nov 1, 2019
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions doc/source/development/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,16 @@ You'll need to have at least python3.5 installed on your system.
# Create a virtual environment
# Use an ENV_DIR of your choice. We'll use ~/virtualenvs/pandas-dev
# Any parent directories should already exist
# If you are using Windows and command prompt, replace ~ (the tilde sign)
# with %userprofile%
python3 -m venv ~/virtualenvs/pandas-dev

# Activate the virtualenv
# If you are using Windows, you can find the activation scripts under
# ~\virtualenvs\pandas-dev\scripts
# Please refer to the official user guide at
# https://virtualenv.pypa.io/en/stable/userguide/#activate-script
# about how to activate your virtual environment under Windows
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for clarifying this @gbaychev.

Don't you think could be clearer to have the windows instructions in a separate block? Feels like there is too much information in this block now. And having two blocks would let users just read the one they care about, and have the information presented in a clearer way.

Feel free to disagree, but I think we can probably do better at communicating this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You guys are very careful and diplomatic, cheers for that :) Yes @datapythonista, you are absolutely correct, I've split the information into two code-blocks, please see 39f6fa7

. ~/virtualenvs/pandas-dev/bin/activate

# Install the build dependencies
Expand Down