Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Numpy 1.9 and FEniCS #249

Closed
bbbales2 opened this issue Sep 29, 2014 · 4 comments
Closed

Numpy 1.9 and FEniCS #249

bbbales2 opened this issue Sep 29, 2014 · 4 comments
Labels

Comments

@bbbales2
Copy link

I upgraded my numpy to the latest version in pip (1.9) and started getting errors when importing dolfin like these guys ("ImportError: No module named oldnumeric"):
spectralpython/spectral#13

I downgraded to numpy 1.8.2 and my dolfin went back to working.

Apparently oldnumeric has been removed, and my Fenics depended on it.

I checked the install scripts, and it looks like the run.ubuntu.sh ones use the package manager numpy, which is out of date.

I think on the Mac, the python in the devtools comes with an outdated numpy as well that seems to work.

Anyway, I think we're lucking out of hitting this problem now but maybe it's important later. I think Ubuntu 14.04 still uses numpy 1.8.1 so we're still safe.

@bbbales2
Copy link
Author

sudo pip install -I numpy==1.8.2

is how to downgrade the version of numpy installed.

@bbbales2 bbbales2 added the bug label Mar 9, 2015
@fogasawara
Copy link

Thanks for posting your comments!

For an OSX 10.9.5 install with FEnICs 1.4.0 (version specifically requested) this fixed the following error:
"Exception: Unable to import the Python Scientific module required by FIAT.
Consider installing the package python-scientific."

@bbbales2
Copy link
Author

bbbales2 commented Oct 9, 2015

Oh okay so FEnICs 1.4.0 works for you? If so that's good to hear. Maybe this isn't a bug anymore

@fogasawara
Copy link

It is still a bug for OSX 10.9 with FEnICs 1.4.0 - your post gave me the clue on how to get dolfin to work with the FEnICs 1.4.0 OSX binary. Thanks again!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants