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

ubuntu install error #201

Closed
Dongxueyang opened this issue Aug 6, 2019 · 2 comments
Closed

ubuntu install error #201

Dongxueyang opened this issue Aug 6, 2019 · 2 comments

Comments

@Dongxueyang
Copy link

Hi guys, I got an error when I install the anuga in Ubuntu.
When I run " sudo bash tools/install_ubuntu.sh", I got this error " Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-hzu_axsv/netCDF4/"
Can anybody help me?
Thanks a lot
dong

@stoiver
Copy link
Member

stoiver commented Aug 6, 2019

@Dongxueyang

You should go through the installation script one line at a time to isolate the error. Though it looks like there is an error with setting up netCDF4.

It would be useful to get a more detailed error message.

@Dongxueyang
Copy link
Author

@stoiver
Thanks a lot. I have solve the problem. This error is relative to the version of pip.
But when I installed successfully(I run "sudo sh tools/install_ubuntu.sh" without any error)
I try to test and run " python runtest.py"
I got another error like this:

dingwentao@dingwentao:~/Software/anuga_core-master$ python runtests.py
Building, see build.log...
Build OK
Running unit tests for anuga
NumPy version 1.16.4
NumPy relaxed strides checking option: True
NumPy is installed in /usr/local/lib/python2.7/dist-packages/numpy
Python version 2.7.6 (default, Nov 13 2018, 12:45:42) [GCC 4.8.4]
nose version 1.3.7
....../usr/local/lib/python2.7/dist-packages/netCDF4/init.py:3: UserWarning:
WARNING: Backwards incompatible files will be created with HDF5 1.10.x
and netCDF < 4.4.1. Upgrading to netCDF4 >= 4.4.1 or downgrading to
to HDF5 version 1.8.x is highly recommended
(see Unidata/netcdf-c#250).
from ._netCDF4 import *
Segmentation fault (core dumped)

Is this the problem of version of libs?
Hope for your reply

Best regards
dong

@stoiver stoiver closed this as completed Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants