Anaconda implies a Python3

Bug #1654606 reported by Andreas Roehler on 2017-01-06
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mode.el
High
Andreas Roehler

Bug Description

py-execute-statement-ipython fails like this:

Python 3.5.2 |Anaconda 4.2.0 (64-bit)| (default, Jul 2 2016, 17:53:06)
Type "copyright", "credits" or "license" for more information.

IPython 5.1.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.
~/anaconda3/lib/python3.5/site-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')
~/anaconda3/lib/python3.5/site-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')

Using matplotlib backend: Qt5Agg

In [1]: In [1]: execfile(r'/tmp/py-shell-completion-setup-code.py') # PYTHON-MODE
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-1-b5cc5cb08aa6> in <module>()
----> 1 execfile(r'/tmp/py-shell-completion-setup-code.py') # PYTHON-MODE

NameError: name 'execfile' is not defined

In [2]: 

Changed in python-mode:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Andreas Roehler (a-roehler)
milestone: none → 6.2.3
Andreas Roehler (a-roehler) wrote :
summary: - IPython 5.1.0 needs a Python3
+ Anaconda implies a Python3
Changed in python-mode:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.