I just installed canopy 1.0.0.1160 under OS 10.8.3
I can run ipython fine from the shell
Python 2.7.3 | 64-bit | (default, Mar 25 2013, 15:52:02)
Type "copyright", "credits" or "license" for more information.
IPython 1.0.dev -- An enhanced Interactive Python.
However, when I run try to start an ipython notebook
ipython notebook --pylab=inline
it sometimes works in safari, not in chrome. And I can't run my old ipython notebooks created under EPD 7.3
Can I suspect that this is an ipython bug (I only found a youtube video with somebody having very similar issues? Are there any workarounds? Or should I wait for a new ipython build/canopy release?
Related
I'm having trouble getting an ipython console in Spyder. It only offers a python interpreter under the "interpreters" menu.
I've seen this issue for a couple of others in Stackoverflow, but didn't have much joy with the proffered solutions.
I'm running linux Mint 16 and have installed both ipython (v 1.1.0) and Spyder (v 2.2.1) the easy way via the Mint Software Manager. I made sure that I also installed ipython-qtconsole and verified that I could run it from a terminal (i.e. ipython qtconsole).
I can activate an ipython console using the following commands in a Spyder python console:
import IPython
IPython.start_ipython()
though the font coloring is strange and doesn't work well on a white background (e.g. error messages in yellow and light green). It would be nice anyway to be able to start ipython the normal way from the Spyder menu.
You may want to install python-zmq for Python 2 and python3-zmq for Python 3.
I use Ubuntu 14.04, so:
sudo apt-get install python-zmq python3-zmq
I'm also using Linux Mint (18.1, at this time) and I have faced the same issue.
What solved this for me was installing Ipython3 Qt console (that, of course, should be Ipython Qt console if you're using Python 2.x).
In case you have it installed, check if you have the latest version
(In Linux Mint you can do this through Synaptic, aptitude or apt-get.)
I have just installed IPython 2.0 (April 2014) through Anaconda (64 bit) on a brand new pc with windows 7 (64 bit), performed the updates suggested and installed some packages with "$ conda install ".
I am loading IPython notebook with firefox and chrome. they are not the default browsers, so I used the information in this answer: https://stackoverflow.com/a/15748692/2344958
When I run IPython Notebook, it presents the landing pages and open new or imported notebooks, but it does not produce any output for cells.
I have no clue.
The only thing I can see is that the web console reports "Empty string passed to getElementById()."
Console works fine.
Any suggestion?
I found a page describing exactly the problem I had.
here the page:
Getting output with IPython Notebook
I actually have Sophos, but I have no control over it, and the solution that works so far was to start IPython with:
ipython notebook --ip=localhost
It also works by editing the line in configuration file
c.NotebookApp.ip = 'localhost'
So I installed Anaconda on my Ubuntu linux 12.04LTS x64 box. It seems to work fine except for this. So I created a conda environment using the
conda create -n py33dev python=3 anaconda
When I try to run the ipython shell, I would expect to get the Ipython3 shell and notebook. However, it still loads the ipython 2.7.6 shell. I tried using the ipython3 command, but it will then load an ipython3 shell from my computer and not from Anaconda.
I tried to install ipython3 to the Anaconda environment using
pip install ipython3
and
conda install ipython3
However, when I do this I just get a message saying "No packages found matching: ipython3"
So I am not sure why Anaconda runs fine with python2 but not with python3--even though Continuum indicates it is python3 ready. Am I missing a step anywhere? Does anyone know how to solve this?
Did you remember to do "source activate py33dev"?
I've switched to Enthought's Canopy 1.0.0 but I miss the standalone QT shell and the QT notebook. I don't want to use the built-in shell which comes in the IDE. Where can I find the QT shell?
Are you asking about the IPython QtConsole? It and the Ipython notebook (NB this is not a QT notebook; it runs in a browser) are both accessible from the terminal / command prompt:
ipython qtconsole
ipython notebook
But you must have Canopy User Python on your PATH, as described here.
FWIW, the Python shell in Canopy is QtConsole, integrated with the editor and file browser.
I created an ipython notebook with version 0.13.1 of ipython on fedora that works fine. When I try to read it on ipython 0.12.1 on opensuse I obtain a void white notebook. Is there a known problem on backward compatibility?
Both versions of ipython and friend modules run ok on each machine.
Thanks
IPython notebook versions are not backward compatible. IPython 0.13.1 supports nbformat 3, while 0.12 only supports nbformat 2. Here is a script you can use to downgrade v3 notebooks to v2. In future versions (0.13 included), you will get a better message when you try to open an unreadable notebook.