Open stevenmcsteven opened 3 years ago
that one seems to be, anyway
I'm a Masters student trying to use Uncover ML for a project, and any assistance with getting it up and running would be greatly appreciated.
Sure... did you get any further? My version is on windows, so has its own idiosyncracies - but you will likely have to specify versions of packages in the installation process to get it to work.
I have all the packages from the requirements file installed with the specified versions now except mpi4py. I keep getting an error or everything freezes when 'Building wheel for mpi4py (setup.py)'
Ok - freezes, or errors specifically? What are you installing it with - as per instructions?
It freezes every time now during this step. When I was trying to install it originally I would get 'errored out with exit status 1' but now seems to freeze.
I've been following the instructions for Ubuntu 18.04 on this page: https://geoscienceaustralia.github.io/uncover-ml/installation.html#ubuntu-18-04
Any hints in your errors to if you might be missing development libraries? Which can be a problem on unix.
Just tried again,
I'm getting this error message:
ERROR: Command errored out with exit status 1: /home/ubuntu/maybe/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-q8fox8ou/mpi4py_3d88f68627404f75bcb042e8d15da37b/setup.py'"'"'; file='"'"'/tmp/pip-install-q8fox8ou/mpi4py_3d88f68627404f75bcb042e8d15da37b/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-7ct690kw/install-record.txt --single-version-externally-managed --compile --install-headers /home/ubuntu/maybe/include/site/python3.6/mpi4py Check the logs for full command output.
So missing this one?
/usr/bin/mpicc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread _configtest.o -llmpe -o _configtest
/usr/bin/ld: cannot find -llmpe
collect2: error: ld returned 1 exit status
failure.
I think it finally worked!
For those with the same issues, I resolved it with:
sudo apt install mpich
pip install mpi4py==3.0.2
Very good - that makes sense that something mpi missing, would have been my next thing to look for.
Could maybe add that to the installation notes @zhang01GA ?
I had cause to install on ubuntu, had issues with the install from the repo with numpy api
Second time I made a conda environment, installed the prereqs, then pip installed the uncover-ml package
Had to rollb back jinja2 to an older version doing it this was - 2.11.2 or something taken from what I had in an earlier environment.
rasterio 1.1.5 works too in another environment jinja is at https://github.com/pallets/jinja/commit/737a4cd41d09878e7e6c584a2062f5853dc30150
which leads to markupsafe 1.1.1 by the looks to get working
and in the install in windows 11 I used conda for rasterio which gets you libgdal then geopandas which gets you gdal correctly
Hello there,
I'm trying to install UncoverML using Ubuntu 18.04 through AWS. I have been following the installation instructions, but run into problems with:
pip install -r requirements-pykrige.txt
I don't think this file exists anymore, so I have been trying:
pip install -r requirements.txt
This command points to the correct place (i think) but runs into issues with certain packages:
pykrige 1.3.0, revrand, pyshp, ppretty and mpi4py
Are these packages all still available? Newer versions of pykrige for example install just fine but don't seem to be compatible with uncover ml.
I'm still learning a lot so it's quite possible I've missed something, but any advice you have would be greatly appreciated.
Thank you, Ben