Hi,
I am somewhat stuped about the behavior of scipy in a jupyter console:

The following code runs properly as a python program:

import scipy as sp
print(sp.constants.g)

But the same code produces an

AttributeError: module 'scipy' has no attribute 'constants'

when run in a QtConsole, or a Jupyter Notebook.

My setup:
Jupyter QtConsole 4.2.1
Python 3.5.2
Win10
jupyter 1.0.0
jupyter-console 5.0.0
ipython 5.0.0

Can anyone explain why the behavior in the jupyter notebook/qtconsole is 
different than in a python module?
Thanks, thomas

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/a170d2c8-37f0-473b-8450-cb6a7a218013%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to