Created
September 12, 2017 18:09
-
-
Save goern/c511b2fa029574286d77ce09a80a55e8 to your computer and use it in GitHub Desktop.
$PATH - `pipenv run` vs `pipenv shell`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[goern@tBook p (develop)]$ pipenv run python | |
Python 3.6.2 (default, Jul 17 2017, 16:44:47) | |
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import os | |
>>> os.environ["PATH"] | |
'/Users/goern/.rvm/gems/ruby-2.3.0/bin:/Users/goern/.rvm/gems/ruby-2.3.0@global/bin:/Users/goern/.rvm/rubies/ruby-2.3.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/go/bin:/usr/local/MacGPG2/bin:/usr/local/opt/go/libexec/bin:/Users/goern/.rvm/bin' | |
>>> | |
[goern@tBook piler-dev (develop)]$ pipenv shell | |
Launching subshell in virtual environment. Type 'exit' or 'Ctrl+D' to return. | |
[goern@tBook p (develop)]$ echo $PATH | |
/Users/goern/.local/share/virtualenvs/piler-dev-VN2jPVB_/bin:/Users/goern/.rvm/gems/ruby-2.3.0/bin:/Users/goern/.rvm/gems/ruby-2.3.0@global/bin:/Users/goern/.rvm/rubies/ruby-2.3.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/go/bin:/usr/local/MacGPG2/bin:/usr/local/opt/go/libexec/bin:/Users/goern/.rvm/bin | |
[goern@tBook p (develop)]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment