Issue 33 in scitools: scitools.std broken with numpy 1.9

213 views
Skip to first unread message

scit...@googlecode.com

unread,
Jan 20, 2015, 8:44:50 AM1/20/15
to scitoo...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 33 by marvon...@gmail.com: scitools.std broken with numpy 1.9
https://code.google.com/p/scitools/issues/detail?id=33

NumPy 1.9 (released August 2014, I think) removes oldnumeric backwards
compatibility. This causes a crash in numpyutils.py e.g. when doing from
scitools.std import *.

Python 2.7.9 on OSX 10.10.1. py27-scitools installed via MacPorts.

Python 2.7.9 (default, Dec 13 2014, 15:13:49)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.56)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from scitools.std import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>

File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scitools/std.py",
line 26, in <module>
from scitools.easyviz import *

File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scitools/easyviz/__init__.py",
line 3431, in <module>
exec(cmd)
File "<string>", line 1, in <module>

File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scitools/easyviz/matplotlib_.py",
line 29, in <module>
from common import *

File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scitools/easyviz/common.py",
line 5, in <module>
from scitools.numpytools import arrmin, arrmax, NumPyArray

File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scitools/numpytools.py",
line 261, in <module>
(e, __name__))
ImportError: No module named oldnumeric.mlab
numpy import failed!
see doc of scitools.numpytools module for how to choose Numeric instead

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

scit...@googlecode.com

unread,
Jan 20, 2015, 9:22:25 AM1/20/15
to scitoo...@googlegroups.com

Comment #1 on issue 33 by h...@simula.no: scitools.std broken with numpy 1.9
https://code.google.com/p/scitools/issues/detail?id=33

Was this tested with the latest commit in the scitools repository?

scit...@googlecode.com

unread,
Jan 20, 2015, 9:30:08 AM1/20/15
to scitoo...@googlegroups.com

Comment #2 on issue 33 by johannes...@gmail.com: scitools.std broken with
numpy 1.9
https://code.google.com/p/scitools/issues/detail?id=33

The py27-scitools package from MacPorts was used. It looks like this is
using the 0.9.0 release:

https://trac.macports.org/browser/trunk/dports/python/py-scitools/Portfile

scit...@googlecode.com

unread,
Jan 20, 2015, 9:36:42 AM1/20/15
to scitoo...@googlegroups.com

Comment #3 on issue 33 by marvon...@gmail.com: scitools.std broken with
numpy 1.9
https://code.google.com/p/scitools/issues/detail?id=33

I just used MacPorts to install it, so don’t know for sure which revision
it is. I wouldn’t be surprised if it is not the newest though.

What I can find immediately is that is is version 0.9.0 (which is the
newest one as far as I can tell), but I will do some digging to find the
exact revision.

Martin

scit...@googlecode.com

unread,
Jan 20, 2015, 9:45:56 AM1/20/15
to scitoo...@googlegroups.com

Comment #4 on issue 33 by h...@simula.no: scitools.std broken with numpy 1.9
https://code.google.com/p/scitools/issues/detail?id=33

Try

hg clone https://hpl%40sim...@code.google.com/p/scitools/
cd scitools
sudo python setup.py install

Then you get the latest version. We recently did some adjustments for numpy
1.9.

scit...@googlecode.com

unread,
Jan 21, 2015, 4:59:24 AM1/21/15
to scitoo...@googlegroups.com

Comment #5 on issue 33 by marvon...@gmail.com: scitools.std broken with
numpy 1.9
https://code.google.com/p/scitools/issues/detail?id=33

I haven’t found out exactly which patch I got from MacPorts, but I don’t
seem to have any of the patchsets added in 2014, so I guess the version on
MacPorts is quite old.

Anyways it worked without issues to make the install from the repo as
suggested on the webpage.

I’ll notify the MacPorts maintainer about the outdated package.

Martin

scit...@googlecode.com

unread,
Feb 24, 2015, 7:04:17 AM2/24/15
to scitoo...@googlegroups.com
Updates:
Status: Fixed

Comment #6 on issue 33 by johannes...@gmail.com: scitools.std broken with
numpy 1.9
https://code.google.com/p/scitools/issues/detail?id=33

This seems to be working with the latest version from the source
repository. Marking this as fixed.

scit...@googlecode.com

unread,
Jul 22, 2015, 8:26:53 AM7/22/15
to scitoo...@googlegroups.com

Comment #7 on issue 33 by fernando...@gmail.com: scitools.std broken with
numpy 1.9
https://code.google.com/p/scitools/issues/detail?id=33

Hi!, I am using Anaconda and Scitools and I am having that problem:

ImportError: No module named oldnumeric.mlab
numpy import failed!
see doc of scitools.numpytools module for how to choose Numeric instead.

I know that anaconda includes Scitools but I also downloaded it from here:
https://code.google.com/p/scitools/wiki/Installation

I don't know what to do, I downloaded Scitools fro Windows from here:

https://code.google.com/p/scitools/wiki/Installation

Any help? thanks

scit...@googlecode.com

unread,
Jul 22, 2015, 10:56:10 AM7/22/15
to scitoo...@googlegroups.com

Comment #8 on issue 33 by h...@simula.no: scitools.std broken with numpy 1.9
https://code.google.com/p/scitools/issues/detail?id=33

First of all, scitools has moved to github, so everything here at
googlecode means old code and outdated information. The problem you refer
should be fixed in the most recent version at github.

Iphy Kelvin

unread,
May 31, 2018, 12:54:46 AM5/31/18
to scitools-dev
The same thing happens in windows. what can i do. need help

Johannes Ring

unread,
May 31, 2018, 2:43:29 AM5/31/18
to scitoo...@googlegroups.com
Scitools is not really maintained anymore, but have you tried the latest version from https://github.com/hplgit/scitools/? And by that, I mean installing from source from the master branch, not installing from the latest stable released tarball.

Johannes

--
You received this message because you are subscribed to the Google Groups "scitools-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scitools-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Iphy Kelvin

unread,
May 31, 2018, 3:03:45 AM5/31/18
to scitoo...@googlegroups.com
I have tried installing it...it still doesn't work..
If u can talk me through it..I will b glad.
You can outline the steps...
And also give me the specific file you want me to install..
Thanks

To unsubscribe from this group and stop receiving emails from it, send an email to scitools-dev...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "scitools-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scitools-dev...@googlegroups.com.

Johannes Ring

unread,
May 31, 2018, 3:09:43 AM5/31/18
to scitoo...@googlegroups.com
You can try this:


Johannes

To unsubscribe from this group and stop receiving emails from it, send an email to scitools-dev+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "scitools-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scitools-dev+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "scitools-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scitools-dev+unsubscribe@googlegroups.com.

Iphy Kelvin

unread,
May 31, 2018, 3:15:32 AM5/31/18
to scitoo...@googlegroups.com

Ohk..I will try it and get back to you.
Sorry I use windows.I didn't tell u.
Hope its compatible??

To unsubscribe from this group and stop receiving emails from it, send an email to scitools-dev...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "scitools-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scitools-dev...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "scitools-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scitools-dev...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "scitools-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scitools-dev...@googlegroups.com.

Iphy Kelvin

unread,
May 31, 2018, 8:43:25 AM5/31/18
to scitoo...@googlegroups.com
I have extracted the files to a folder, so what's the next step

To unsubscribe from this group and stop receiving emails from it, send an email to scitools-dev+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "scitools-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scitools-dev+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "scitools-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scitools-dev+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "scitools-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scitools-dev+unsubscribe@googlegroups.com.

Iphy Kelvin

unread,
Jun 1, 2018, 4:00:15 AM6/1/18
to scitoo...@googlegroups.com
I have the folder from git-hub and i have executed the command line...it still isn't working. since am using windows i tried "python setup.py install" in the cmd with the file directory and still error

Johannes Ring

unread,
Jun 4, 2018, 3:19:13 AM6/4/18
to scitoo...@googlegroups.com
I'm not using Windows, so I don't know what you need to do, but I can confirm that the latest version of scitools from the master branch works fine with the latest version of numpy. Here are the commands I used to install this version of scitools on Linux:

  cd scitools
  pip install .

Johannes

Reply all
Reply to author
Forward
0 new messages