Ask Your Question

How to get inline notebook images under Windows?

asked 2013-04-07 20:23:37 -0500

updated 2013-04-07 22:04:22 -0500

I can't get my images to show in notebook in anything other than a popup. I'm running the framework/iPython under Windows Vista/Chrome v26 --- finally!! :)

I have a batch file with: ipython notebook --pylab inline

Have also tried: ipython notebook --pylab=inline

Both with no success, any help appreciated :)

edit: I'm using v1.3 "Master" version of SimpleCV BTW. Are other Windows users having any success with this feature?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-04-08 08:43:55 -0500

kscottz gravatar image

You need to use the develop version of SimpleCV not the superpack for the pylab flag to work.

edit flag offensive delete link more

answered 2013-04-09 14:47:06 -0500

updated 2013-04-09 14:52:01 -0500

OK tried this from command line (Windows CMD)..

>simplecv notebook --pylab=inline

Traceback (most recent call last):

File "F:\Program Files\Python-v2.7.4\Scripts\", line 5, in < module >

from pkgresources import loadentry_point

File "F:\Program Files\Python-v2.7.4\lib\site-packages\", line 2603, in < module >

workingset.require(_ requires __)

File "F:\Program Files\Python-v2.7.4\lib\site-packages\", line 666, in require

needed = self.resolve(parse_requirements(requirements))

File "F:\Program Files\Python-v2.7.4\lib\site-packages\", line 565, in resolve

raise DistributionNotFound(req) # XXX put more info here

pkg_resources.DistributionNotFound: SimpleCV==1.3

edit flag offensive delete link more


Hrm. Never seen that error before. Could this be a python 2.7.3 vs. 2.7.4 issue? Just a guess.

kscottz ( 2013-04-10 10:00:07 -0500 )edit

As a noob to all things python I really don't know, the muddle of a mess that is python package distribution is a complete mystery to me.

I'm wondering if this is contention between pip and easy_install as they where both involved in the install process? Maybe not if you haven't seen this before.

Richard Plester ( 2013-04-10 10:26:59 -0500 )edit
img = Image("C:/users/rich/pictures/gaffes.png")
disp = Display(displaytype='notebook')

I can crowbar images into the notebook with this, so some progress from my perspective. Does it make sense to you why .show() doesn't inline but this code does?

Richard Plester ( 2013-04-10 11:28:14 -0500 )edit

easyinstall vs pip is a long battle. The main difference is that easyinstall supports EGG's and pip supports installing from zip's and git. EGG's are easy because they are prebuilt. If that is working then indeed .show() may very well have a bug. Can you please submit this as a

xamox ( 2013-04-10 13:31:58 -0500 )edit

issue, to the issue queue:

xamox ( 2013-04-10 13:32:29 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower


Asked: 2013-04-07 20:23:37 -0500

Seen: 414 times

Last updated: Apr 09 '13