econchick / new-coder

New Coder tutorials
zlib License
597 stars 394 forks source link

About Setting up your computer Page #201

Open rocchow opened 8 years ago

rocchow commented 8 years ago

I am a newbie but I think I found that there is something wrong on this page. http://newcoder.io/begin/setup-your-machine/#linux

I am a Ubuntu user. The description about virtualenv & virtualenvwrapper for Ubuntu user should be the upper part of code. image

Let me know if I am wrong.

merwok commented 8 years ago

I don’t understand your request. Could you rephrase, or post a screenshot with arrows?

Hamfri commented 8 years ago

I second him too. The upper part is for Ubuntu and the lower part is for RHEL/Fedora/centos

merwok commented 8 years ago

I suspect that the paths changed on Ubuntu, or that the code was written before the deb packaging was changed, or it can be an issue of “installed with pip” vs. “installed with apt”, NOT a mix-up between doc for Fedora and doc for Ubuntu.

The debian package installs things in /usr/share: http://anonscm.debian.org/cgit/collab-maint/virtualenvwrapper.git/tree/debian/virtualenvwrapper.bash-completion

To clear things up, we’d need a few people to check on Debian, Ubuntu and Fedora where the file ends up installed after a pip install.

cstcyr commented 8 years ago

I can confirm I needed to use "echo 'source /usr/local/bin/virtualenvwrapper.sh' >> ~/.bash_profile" on Linux Mint 17.1 (would have followed the Ubuntu/Debian instructions)