Skip to content

Instantly share code, notes, and snippets.

@QGB
Created April 9, 2019 04:12
Show Gist options
  • Save QGB/a4a922ca43746cfd3f958a023889dac2 to your computer and use it in GitHub Desktop.
Save QGB/a4a922ca43746cfd3f958a023889dac2 to your computer and use it in GitHub Desktop.
│···
Removing ipython from Pipfile… │···
Locking [dev-packages] dependencies… │···
Locking [packages] dependencies… │···
✔ Success! │···
Updated Pipfile.lock (4f9dd2)! │···
(pipenv-test) (base) /root/pipenv-test 19:54:51# │···
(pipenv-test) (base) /root/pipenv-test 19:54:53# │···
(pipenv-test) (base) /root/pipenv-test 19:54:54# pipenv run ipython │···
/root/anaconda3/lib/python3.7/site-packages/IPython/core/interactiveshell.py:925: UserWarning: Attempting to work in a virtualenv. If you encounter problems, please install IPython insi│···
de the virtualenv. │···
warn("Attempting to work in a virtualenv. If you encounter problems, please " │···
Python 3.7.3 (default, Mar 27 2019, 22:11:17) │···
Type 'copyright', 'credits' or 'license' for more information │···
IPython 7.4.0 -- An enhanced Interactive Python. Type '?' for help. │···
│···
In [1]: import django │···
│···
In [2]: django │···
Out[2]: <module 'django' from '/root/.local/share/virtualenvs/pipenv-test-dCuHWilL/lib/python3.7/site-packages/django/__init__.py'> │···
│···
In [3]: │···
Do you really want to exit ([y]/n)? y │···
(reverse-i-search)`d': pipenv install ^Cango │···
(pipenv-test) (base) /root/pipenv-test 20:02:08# pipenv install ipython │···
Installing ipython… │···
Adding ipython to Pipfile's [packages]… │···
✔ Installation Succeeded │···
Pipfile.lock (413e12) out of date, updating to (4f9dd2)… │···
Locking [dev-packages] dependencies… │···
Locking [packages] dependencies… │···
✔ Success! │···
Updated Pipfile.lock (413e12)! │···
Installing dependencies from Pipfile.lock (413e12)… │···
🐍 ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 17/17 — 00:00:03 │···
(pipenv-test) (base) /root/pipenv-test 20:05:28# pipenv --where │···
/root/pipenv-test │···
(pipenv-test) (base) /root/pipenv-test 20:07:12# pipenv --py │···
/root/.local/share/virtualenvs/pipenv-test-dCuHWilL/bin/python │···
(pipenv-test) (base) /root/pipenv-test 20:07:20# pipenv --ipython │···
Usage: pipenv [OPTIONS] COMMAND [ARGS]... │···
Try "pipenv -h" for help. │···
│···
Error: no such option: --ipython │···
(pipenv-test) (base) /root/pipenv-test 20:07:32# pipenv run which ipython │···
/root/.local/share/virtualenvs/pipenv-test-dCuHWilL/bin/ipython │···
(pipenv-test) (base) /root/pipenv-test 20:07:45# pipenv run which python │···
/root/.local/share/virtualenvs/pipenv-test-dCuHWilL/bin/python │···
(pipenv-test) (base) /root/pipenv-test 20:08:07# │···
───────────────────────────────────────────────────────────────────
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment