stevenpawley / Pyspatialml

Machine learning modelling for spatial data
GNU General Public License v3.0
145 stars 29 forks source link

ModuleNotFoundError: No module named 'pyspatialml.temporary_files' #34

Closed Daniel-Trung-Nguyen closed 2 years ago

Daniel-Trung-Nguyen commented 3 years ago

Got this issue when running on Colab

/usr/local/lib/python3.7/dist-packages/pyspatialml/preprocessing.py in () 6 7 from .raster import Raster ----> 8 from .temporary_files import _file_path_tempfile 9 10 ModuleNotFoundError: No module named 'pyspatialml.temporary_files'

stevenpawley commented 3 years ago

Hello,

Maybe try using the version from GitHub because some changes have been made since I last updated pypi; I think that this probably is already resolved. I'm looking to push a new version to pypi over the next few days as well.

Daniel-Trung-Nguyen commented 2 years ago

Hi Steven, Just ran it today from Google Colab. The error still persists in the Pypi version Cheers, Daniel


ModuleNotFoundError Traceback (most recent call last)

in () 5 import numpy as np 6 from pyspatialml import Raster ----> 7 from pyspatialml.preprocessing import xy_coordinates, distance_to_corners, distance_to_samples 8 import pyspatialml.datasets.meuse as ms 9 /usr/local/lib/python3.7/dist-packages/pyspatialml/preprocessing.py in () 6 7 from .raster import Raster ----> 8 from .temporary_files import _file_path_tempfile