-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Description
There is a problem with the ipython/terminal/ipapp.py file.
On the first line is this:
#!/usr/bin/env pythonthis is an mistake, because further down in the code there is a relative import that makes the file not executable with ./ipapp.py.
So please remove #!/usr/bin/env python.
Steps to reproduce:
# download repo
cd /tmp/
git clone https://github.com/ipython/ipython.git
# run file
cd ipython/IPython/terminal/
./ipapp.py
Example of error:
Traceback (most recent call last):
File "/tmp/ipython/IPython/terminal/./ipapp.py", line 36, in <module>
from .interactiveshell import TerminalInteractiveShell
ImportError: attempted relative import with no known parent package
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels