hplgit / scitools

Additional scientific computing functionality in Python - extensions to NumPy/SciPy++
http://hplgit.github.io/scitools/doc/web/index.html
Other
64 stars 30 forks source link

install #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. python setup.py install
2. export PYTHONPATH and PATH ok
3. from scitools.all import *

What is the expected output? What do you see instead?

<type 'exceptions.ImportError'>: No module named all

What version of the product are you using? On what operating system?

Opensuse 10.3

Please provide any additional information below.

 ...

Original issue reported on code.google.com by bernard...@gmail.com on 3 Jul 2008 at 11:46

Attachments:

GoogleCodeExporter commented 9 years ago
Are you sure that you don't have an old version of SciTools in your PYTHONPATH? 
Can you run this in a terminal:

  echo $PYTHONPATH
  python -c "import scitools; print scitools.__file__"

Is the output as expected?

Sorry for the late reply,
Johannes

Original comment by johannes...@gmail.com on 14 Aug 2008 at 6:56

GoogleCodeExporter commented 9 years ago

Original comment by johannes...@gmail.com on 10 Sep 2009 at 11:44

GoogleCodeExporter commented 9 years ago
I am using OpenSuSE 11.1 with Python 2.6, and I get a similar error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named all

The output for "print scitools.__file__" is:
/usr/local/lib64/python2.6/site-packages/scitools/__init__.pyc

Original comment by leefifty...@gmail.com on 7 Apr 2010 at 12:50

GoogleCodeExporter commented 9 years ago
What version of SciTools are you using? This command should print the installed 
version:

  python -c "import scitools; print scitools.__version__"

Also, you should import from scitools.std instead of scitools.all, like this:

  from scitools.std import *

Original comment by johannes...@gmail.com on 7 Apr 2010 at 1:06