UserWarning: Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv.
See original GitHub issue/Users/netsu/.local/share/virtualenvs/csr-44kfYsMA/lib/python2.7/site-packages/IPython/core/interactiveshell.py:726: UserWarning: Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv.
warn("Attempting to work in a virtualenv. If you encounter problems, please "
Python 2.7.14 (default, Nov 14 2017, 19:52:12)
Type "copyright", "credits" or "license" for more information.
IPython 5.5.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: python.el: native completion setup loaded
In [2]: import os, sys, IPython
In [3]: print os.environ['VIRTUAL_ENV']
print sys.executable
print IPython.__file__
print sys.path
/Users/netsu/.virtualenvs/csr-44kfYsMA
In [4]: /Users/netsu/.local/share/virtualenvs/csr-44kfYsMA/bin/python2.7
In [5]: /Users/netsu/.local/share/virtualenvs/csr-44kfYsMA/lib/python2.7/site-packages/IPython/__init__.pyc
In [6]: ['/Users/netsu/.virtualenvs/csr-44kfYsMA/lib/python2.7/site-packages', '', '/Users/netsu/.local/share/virtualenvs/csr-44kfYsMA/bin', '/Users/netsu/.local/share/virtualenvs/csr-44kfYsMA/lib/python27.zip', '/Users/netsu/.local/share/virtualenvs/csr-44kfYsMA/lib/python2.7', '/Users/netsu/.local/share/virtualenvs/csr-44kfYsMA/lib/python2.7/plat-darwin', '/Users/netsu/.local/share/virtualenvs/csr-44kfYsMA/lib/python2.7/plat-mac', '/Users/netsu/.local/share/virtualenvs/csr-44kfYsMA/lib/python2.7/plat-mac/lib-scriptpackages', '/Users/netsu/.local/share/virtualenvs/csr-44kfYsMA/lib/python2.7/lib-tk', '/Users/netsu/.local/share/virtualenvs/csr-44kfYsMA/lib/python2.7/lib-old', '/Users/netsu/.local/share/virtualenvs/csr-44kfYsMA/lib/python2.7/lib-dynload', '/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/Users/netsu/.local/share/virtualenvs/csr-44kfYsMA/lib/python2.7/site-packages', '/Users/netsu/.local/share/virtualenvs/csr-44kfYsMA/lib/python2.7/site-packages/IPython/extensions', '/Users/netsu/.ipython']
What cause that warning?
Issue Analytics
- State:
- Created 6 years ago
- Comments:15 (5 by maintainers)
Top Results From Across the Web
Installing ipython inside virtual environment - Stack Overflow
WARNING: Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv. WARNING: IPython History requires SQLite, ...
Read more >How to Make iPython Work in a virtualenv Virtual Environment
WARNING: Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv.
Read more >Running iPython cleanly inside a virtualenv - Coderwall
WARNING: Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv. Python 2.7.3 (default, Jan 2 2013, ......
Read more >iPython and Virtual Environments - Scott Johnson
... UserWarning: Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv.
Read more >Getting started with PythonOnWheels -Installation
See it work: ... Go on, create a virtualenv and install the requirements ... virtualenv. On Windows: (if you are in your todo...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
May be you should activate the virtual environment again.
(I’m working on it - I think I’ve found a nicer, more robust way to do the check)