Issue
I can't tell why this is happening but it seems to have started when I updated (everything - conda update --all). It had been about 1 year since I last had updated. Something must have changed.
Here is the script:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sun Mar 3 11:25:22 2019
@author: pitosalas
"""
print("hello")
And here is the output from pressing the green triangle in spyder:
Python 3.6.6 |Anaconda, Inc.| (default, Jun 28 2018, 11:07:29)
Type "copyright", "credits" or "license" for more information.
IPython 7.3.0 -- An enhanced Interactive Python.
runfile('/Users/pitosalas/Box Sync/datawork/2019Resubmit/deleteme.py', wdir='/Users/pitosalas/Box Sync/datawork/2019Resubmit')
ERROR:root:Invalid alias: The name clear can't be aliased because it is another magic command.
ERROR:root:Invalid alias: The name more can't be aliased because it is another magic command.
ERROR:root:Invalid alias: The name less can't be aliased because it is another magic command.
ERROR:root:Invalid alias: The name man can't be aliased because it is another magic command.
hello
Solution
As indicated on the issue tracker, IPython 7.7.0 sorted out this problem. I can confirm updating to 7.7.0 worked for me (conda 4.7.10 on Ubuntu 18.04, Spyder 3.3.6).
Answered By - fabio_hirono
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.