Hello, I am trying to install scipy on Ubuntu 8.0.4LTS, and am having some serious issues.

I have succesfully downloaded and installed scipy, but when I try and "import scipy" in a program

I am returned:


ImportError Traceback (most recent call last)

/home/tim/Desktop/scipy-0.6.0/<ipython console> in <module>()

/home/tim/Desktop/scipy-0.6.0/scipy/__init__.py in <module>()
52 del linalg
53
---> 54 from __config__ import show as show_config
55 from version import version as __version__
56

ImportError: No module named __config__

Any help? Thanks

In your scipy directory there is the package init file __init__.py and there also should be a __config__.py file. If not, you may have to reinstall or run the setup.py program.

python setup install

Thanks, I figured this one out recently.


the last time I had scipy/numpy installed, scipy wasn't dependent on numpy being imported, however, since I had to mix and match with a combination of binary and source installs on Hardy Heron, it seems that I now have to import numpy first.


Took me forever to set these python tools up :(

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.