I have used Anaconda3-2020.02-Linux-x86_64.sh, the Linux Python 3.7 64-Bit (x86) installer, that is currently at [1].
This to report the following error from the terminal command:
python3 -c "import oommfc; oommfc.test()"
Traceback (most recent call last):
File "", line 1, in
File "/home/username/anaconda3/envs/env4ubermag/lib/python3.6/site-packages/oommfc/init.py", line 3, in
import oommfc.oommf
File "/home/username/anaconda3/envs/env4ubermag/lib/python3.6/site-packages/oommfc/oommf/init.py", line 1, in
from .oommf import OOMMFRunner, TclOOMMFRunner, ExeOOMMFRunner, \
File "/home/username/anaconda3/envs/env4ubermag/lib/python3.6/site-packages/oommfc/oommf/oommf.py", line 11, in
import micromagneticmodel as mm
File "/home/username/anaconda3/envs/env4ubermag/lib/python3.6/site-packages/micromagneticmodel/init.py", line 5, in
import micromagneticmodel.examples
File "/home/username/anaconda3/envs/env4ubermag/lib/python3.6/site-packages/micromagneticmodel/examples/init.py", line 1, in
from .examples import macrospin
File "/home/username/anaconda3/envs/env4ubermag/lib/python3.6/site-packages/micromagneticmodel/examples/examples.py", line 1, in
import discretisedfield as df
File "/home/username/anaconda3/envs/env4ubermag/lib/python3.6/site-packages/discretisedfield/init.py", line 12, in dependencies = pkg_resources.require(name)
File "/home/username/.local/lib/python3.6/site-packages/pkg_resources/init.py", line 901, in require
needed = self.resolve(parse_requirements(requirements))
File "/home/username/.local/lib/python3.6/site-packages/pkg_resources/init.py", line 792, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (tornado 6.0.1 (/home/username/.local/lib/python3.6/site-packages), Requirement.parse('tornado!=6.0.0,!=6.0.1,!=6.0.2'), {'jupyterlab'})
I'm able to workaround the error by using:
conda install tornado=6.0.2
However, it is failing with the above error with tornado 6.0.4 that gets installed using "conda install ubermag -c conda-forge".
I have used Anaconda3-2020.02-Linux-x86_64.sh, the Linux Python 3.7 64-Bit (x86) installer, that is currently at [1].
This to report the following error from the terminal command: python3 -c "import oommfc; oommfc.test()"
I'm able to workaround the error by using:
conda install tornado=6.0.2
However, it is failing with the above error with tornado 6.0.4 that gets installed using "conda install ubermag -c conda-forge".
[1] https://www.anaconda.com/products/individual