GeoscienceAustralia / uncover-ml

Machine Learning system for Geoscience Australia uncover project
Apache License 2.0
30 stars 20 forks source link

uncoverml pre-req and setup issues for new user #40

Closed s-m-t-c closed 5 years ago

s-m-t-c commented 6 years ago

Uncover ML - set up errors

Current

Module / python egg related error

uncovermlmodulerror.txt

virtualenvwrapper.user_scripts could not run "/g/data/ge3/john/venvs/preactivate": [Errno 8] Exec format error
mpirun: WARNING: unable to determine OpenMPI version of uncoverml, runtime version may be incompatible
File "/g/data1a/ge3/john/venvs/catboost/bin/uncoverml", line 11, in <module>
    load_entry_point('uncover-ml', 'console_scripts', 'uncoverml')()

Solved

Tried $ pip install -v --no-binary :all: --user mpi4py as a solution but generates error (this worked for previous missing module errors).

Full output here: uncovermlerrortext.txt

basaks commented 6 years ago
virtualenvwrapper.user_scripts could not run "/g/data/ge3/john/venvs/preactivate": [Errno 8] Exec format error
mpirun: WARNING: unable to determine OpenMPI version of uncoverml, runtime version may be incompatible
File "/g/data1a/ge3/john/venvs/catboost/bin/uncoverml", line 11, in <module>
    load_entry_point('uncover-ml', 'console_scripts', 'uncoverml')()

What are you trying to do? All tests run ok in your environment.

That error was due to the fact that the virtualenv WORKON_HOME env variable was pointing to the wrong directory. It should be fixed now that you have removed the env variable.