[TerminalIPythonApp] WARNING | Unrecognized alias: 'im', it will have no effect.
See original GitHub issueI’m used to write ipython -im <modulename>
to do interactive Python hacking. However, on one installation it doesn’t work.
Working machine:
(env) brahe$ ipython -im os
Python 3.8.2 (default, Jul 16 2020, 14:00:26)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.18.1 -- An enhanced Interactive Python. Type '?' for help.
In [1]: path
Out[1]: <module 'posixpath' from '/usr/lib/python3.8/posixpath.py'>
In [2]:
Non-working machine:
(env) arvid-m12$ ipython -im os
[TerminalIPythonApp] WARNING | Unrecognized alias: 'im', it will have no effect.
Python 3.8.2 (default, Jul 16 2020, 14:00:26)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.18.1 -- An enhanced Interactive Python. Type '?' for help.
In [1]: path
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-1-012ab3a6b187> in <module>
----> 1 path
NameError: name 'path' is not defined
Both machines have the same versions, only from pip and no system installation:
$ dpkg --list | grep ipyth
$ pip list | grep ipyth
ipython 7.18.1
ipython-genutils 0.2.0
Using python -i -m os
works on both machines.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7
Top Results From Across the Web
Issues with IPython magics [TerminalIPythonApp] WARNING ...
[TerminalIPythonApp] WARNING | Unrecognized alias: 'depth', it will have no effect. Regarding above, ghit hub suggested downgrading from 3.9.11 ...
Read more >Issue with IPython/Jupyter on Spark (Unrecognized alias)
Unrecognized alias : "profile=pyspark", it will probably have no effect. defaults to the default profile not the pyspark profile.
Read more >Solved: Unrecognized alias: '--profile=pyspark' - Cloudera ...
Now the problem is it is not recognizing the profile. Unrecognized alias: '--profile=pyspark', it will probably have no effect. Help me to integrate...
Read more >Step-by-step instruction on notebook with Octave kernel ...
I have a great need to install Octave kernel on IPython notebook( or Jupyter?) ... alias: '--kernel=octave_kernel', it will probably have no effect....
Read more >Configuration options — nbconvert 7.2.6 documentation
input prompts will not appear when converting to PDF, but they will appear when exporting to HTML. CLI Flags and Aliases#. The dynamic...
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
Looks related to #12711, try to split options:
@kalvdans Hey Pal, I finally figured it out, Obtain package compatibility: I got rid of the spyder application with the help of a friend from discord and it was not showing the errors for such stuff on the new M1 macs. I ran this directly from the terminal and this displayed outdated packages that required upgrades. I AM not sure what cause spyder to not be able to recognize such an issue. Maybe a professional can explain further.
I have the same code running fully on the terminal as spyder was experiencing all sorts of glitches, sadly I had to part way with it after using such for so long.
I am really hoping they fix this and as of just now the anaconda navigator is still problematic when downloading such from the website, it’s not running even when deploying the bash file approach still the same. What a shame!!