You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception: The arcgis package was not installed, correctly(knn). Use deep learning essentials metapackage from https://github.com/Esri/deep-learning-frameworks
#2022
Open
Daremitsu1 opened this issue
Sep 9, 2024
· 0 comments
Describe the bug
Getting the following error while trying to import the deep learning modules from arcgis.learn.
Mostly the error is coming from ModuleNotFoundError: No module named 'arcgis.learn._utils.nearest_neighbors' because when I checked the downloaded folders section in arcgis.learn I am not seeing any nearest_neighbors.py.
Could you provide me a link to the nearest_neighbors.py code?
Error Screenshot:
Folder Screenshot:
To Reproduce
Steps to reproduce the behavior:
from arcgis.learn import prepare_textdata
from arcgis.learn.text import SequenceToSequence
error:
/usr/local/lib/python3.10/dist-packages/dask/dataframe/__init__.py:42: FutureWarning:
Dask dataframe query planning is disabled because dask-expr is not installed.
You can install it with `pip install dask[dataframe]` or `conda install dask`.
This will raise in a future version.
warnings.warn(msg, FutureWarning)
torch not available
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/arcgis/learn/models/_rand_lanet_utils.py](https://localhost:8080/#) in <module>
35 try:
---> 36 from .._utils.nearest_neighbors import knn_batch as knn_search
37
ModuleNotFoundError: No module named 'arcgis.learn._utils.nearest_neighbors'
During handling of the above exception, another exception occurred:
Exception Traceback (most recent call last)
7 frames
[/usr/local/lib/python3.10/dist-packages/arcgis/learn/models/_rand_lanet_utils.py](https://localhost:8080/#) in <module>
37
38 except Exception:
---> 39 raise Exception(
40 f"The arcgis package was not installed, correctly(knn). Use deep learning essentials metapackage from https://github.com/Esri/deep-learning-frameworks"
41 )
Exception: The arcgis package was not installed, correctly(knn). Use deep learning essentials metapackage from https://github.com/Esri/deep-learning-frameworks
Expected behavior
The module should be imported without any error.
Platform (please complete the following information):
OS: [e.g. iOS] Windows
Browser [e.g. chrome, safari] chrome
Python API Version [e.g. 1.6.2] (you can get this by typing print(arcgis.__version__) 2.3.0
Additional context
Add any other context about the problem here, attachments etc.
The text was updated successfully, but these errors were encountered:
Describe the bug
Getting the following error while trying to import the deep learning modules from
arcgis.learn
.Mostly the error is coming from ModuleNotFoundError: No module named 'arcgis.learn._utils.nearest_neighbors' because when I checked the downloaded folders section in
arcgis.learn
I am not seeing anynearest_neighbors.py
.Could you provide me a link to the
nearest_neighbors.py
code?Error Screenshot:
Folder Screenshot:
To Reproduce
Steps to reproduce the behavior:
error:
Expected behavior
The module should be imported without any error.
Platform (please complete the following information):
1.6.2
] (you can get this by typingprint(arcgis.__version__)
2.3.0Additional context
Add any other context about the problem here, attachments etc.
The text was updated successfully, but these errors were encountered: