-
Notifications
You must be signed in to change notification settings - Fork 20
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
Installation issues #146
Comments
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. |
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' I've been following the instructions for Ubuntu 18.04 on this page: |
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: |
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 pallets/jinja@737a4cd |
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
The text was updated successfully, but these errors were encountered: