geoscixyz / em-apps

Interactive applications for electromagnetics in geophysics
http://em.geosci.xyz
MIT License
31 stars 18 forks source link

Python 3.8 #58

Open prisae opened 4 years ago

prisae commented 4 years ago

This should be a temporary issue.

The command

conda env create -f environment.yml

will now install a Python 3.8 environment. However, not all the dependencies are capable of that yet. So, for instance, the notebook http://localhost:8888/notebooks/notebooks/em/TDEM_UXO.ipynb will fail, because cvxopt cannot be installed in Python 3.8 yet,

try:
    import cvxopt
except ImportError:
    import sys
    !{sys.executable} -m pip install cvxopt

So maybe we could fix the version currently with something like

conda env create python=3.7 -f environment.yml