[IPython-User] Problem with Notebook and path.py

klo uo klonuo@gmail....
Mon Nov 19 22:06:35 CST 2012


After re-reading the message I realized it was so obvious - I had path.py
file in the folder from where I launched ipython - "My Documents".
Left there from the begging of September.

Heh... file deleted now.


On Tue, Nov 20, 2012 at 5:00 AM, klo uo <klonuo@gmail.com> wrote:

> Until now I could run Notebook only in Opera, but now I get this error:
>
> ========================================
> >ipython notebook --no-browser
> [NotebookApp] Using existing profile dir: u'C:\\Documents and
> Settings\\klo\\.ipython\\profile_default'
> [NotebookApp] Serving notebooks from C:\Documents and Settings\klo\My
> Documents
> [NotebookApp] The IPython Notebook is running at: http://127.0.0.1:8888/
> [NotebookApp] Use Control-C to stop this server and shut down all kernels.
> [NotebookApp] Using MathJax from CDN:
> http://cdn.mathjax.org/mathjax/latest/MathJax.js
> [NotebookApp] Kernel started: 0e915b57-00b1-4dec-b6ab-6e53c840824c
> [NotebookApp] Connecting to: tcp://127.0.0.1:3993
> [NotebookApp] Connecting to: tcp://127.0.0.1:3994
> [NotebookApp] Connecting to: tcp://127.0.0.1:3996
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File
> "C:\Python27\lib\site-packages\ipython-0.13.1-py2.7.egg\IPython\__init__.py",
> line 43, in <module>
>     from .config.loader import Config
>   File
> "C:\Python27\lib\site-packages\ipython-0.13.1-py2.7.egg\IPython\config\__init__.py",
> line 16, in <module>
>     from .application import *
>   File
> "C:\Python27\lib\site-packages\ipython-0.13.1-py2.7.egg\IPython\config\application.py",
> line 31, in <module>
>     from IPython.config.configurable import SingletonConfigurable
>   File
> "C:\Python27\lib\site-packages\ipython-0.13.1-py2.7.egg\IPython\config\configurable.py",
> line 26, in <module>
>     from loader import Config
>   File
> "C:\Python27\lib\site-packages\ipython-0.13.1-py2.7.egg\IPython\config\loader.py",
> line 27, in <module>
>     from IPython.utils.path import filefind, get_ipython_dir
>   File
> "C:\Python27\lib\site-packages\ipython-0.13.1-py2.7.egg\IPython\utils\path.py",
> line 25, in <module>
>     from IPython.utils.process import system
>   File
> "C:\Python27\lib\site-packages\ipython-0.13.1-py2.7.egg\IPython\utils\process.py",
> line 25, in <module>
>     from ._process_win32 import _find_cmd, system, getoutput,
> AvoidUNCPath, arg_split
>   File
> "C:\Python27\lib\site-packages\ipython-0.13.1-py2.7.egg\IPython\utils\_process_win32.py",
> line 31, in <module>
>     from . import text
>   File
> "C:\Python27\lib\site-packages\ipython-0.13.1-py2.7.egg\IPython\utils\text.py",
> line 26, in <module>
>     from IPython.external.path import path
>   File
> "C:\Python27\lib\site-packages\ipython-0.13.1-py2.7.egg\IPython\external\path\__init__.py",
> line 2, in <module>
>     from path import *
>   File "path.py", line 11, in <module>
>     m.wmsimage(service='Ocean_Basemap', xpixels=1200, verbose=True)
> AttributeError: 'Basemap' object has no attribute 'wmsimage'
> [NotebookApp] Kernel 0e915b57-00b1-4dec-b6ab-6e53c840824c failed to
> respond to heartbeat
> ========================================
>
> I can't execute anything. After I restart kernel it just happens again on
> every execution.
> I have no idea where it's pulling "m.wmsimage(service='Ocean_Basemap',
> xpixels=1200, verbose=True)" line from. I searched whole site-packages and
> ipython profile for "Ocean_Basemap" string, but none file contains this
> string.
>
> What could be the problem here?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20121120/0f151afa/attachment.html 


More information about the IPython-User mailing list