Dear HPC team,
Could you please install the latest version of GeoPy library (Welcome to GeoPy’s documentation! — GeoPy 2.3.0 documentation , currently version 2.3.0), both on Baobab and Yggdrasil ?
I need to use it in combination with tensorflow, so currently I load the following modules:
module load fosscuda/2020b TensorFlow/2.4.1 SciPy-bundle/2020.11 scikit-learn/0.23.2
Thanks a lot for your support,
Best regards,
Denisa
Hello,
New software is available as requested
[New software installed: geopy version 2.3.0]
Best regards,
Hello,
Thanks a lot for installing the library. I am able to see it using module spider geopy and I can load the necessary modules using
module load GCCcore/11.3.0 geopy/2.3.0
but when importing the library and trying to use it in python3 I get
ModuleNotFoundError: No module named 'geopy'
You can easy reproduce this just by trying to do: import geopy
in Python3.
Another issue that I might have, even if this one is solved, is the compatibility of GCCcore/11.3.0
with the other modules that I need to load:
module load fosscuda/2020b TensorFlow/2.4.1 SciPy-bundle/2020.11 scikit-learn/0.23.2
which use GCC/10.2.0
So when trying to load everything together:
module load fosscuda/2020b TensorFlow/2.4.1 SciPy-bundle/2020.11 scikit-learn/0.23.2 GCCcore/11.3.0 geopy/2.3.0
Traceback (most recent call last):
File "/opt/ebsofts/SciPy-bundle/2020.11-fosscuda-2020b/lib/python3.8/site-packages/numpy/core/__init__.py", line 22, in <module>
from . import multiarray
File "/opt/ebsofts/SciPy-bundle/2020.11-fosscuda-2020b/lib/python3.8/site-packages/numpy/core/multiarray.py", line 12, in <module>
from . import overrides
File "/opt/ebsofts/SciPy-bundle/2020.11-fosscuda-2020b/lib/python3.8/site-packages/numpy/core/overrides.py", line 7, in <module>
from numpy.core._multiarray_umath import (
ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'
......
Thanks for your support,
Best regards,
Denisa
Hello,
Do you have any updates on this topic? Please let me know if you need more information? A small test?
Thanks for your support,
Denisa
Hi,
We just installed a new version of geopy compatible with GCC-10.2.0.
(baobab)-[alberta@cpu025 ~]$ python3
Python 3.8.6 (default, Mar 19 2021, 17:36:24)
[GCC 10.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import geopy
>>> print(geopy.__version__)
2.1.0
Could you try it ?
Everything works perfect now! Thanks a lot for your support!
Best regards,
Denisa
1 Like