When I try to follow the steps in one ESRI sample notebook. It indicated that I don't have the required packages which I have already installed. Does anyone encounter this issue before? Any feedbacks would be appreciated. Thanks!
I would suggest you to create a new cloned environment from default environment, it might be better to start on a clean environment.
and use this command to install the required packages
conda install -c esri arcgis fastai scikit-image pillow --no-pin
as i have written in my previous message do this
import torch
The ArcGIS package has been upgraded; however, failed to import pytorch (the other three are good).
You have installed an outdated version of arcgis, use the following command to update
conda install -c esri arcgis=1.7.1 --no-pin
your torchvision package is from pytorch channel you need to change it to arcgis channel
conda remove pytorch torchvision --force --no-pin
conda install -c esri pytorch torchvision --no-pin
also try to import torch and check if it works
in your notebook execute this command in a cell
I just reinstalled the esri version pytorch. Restarted the Jupyter and Kernel, and then rerun the code. Still, it pop up the same error.
your pytorch package is not from esri channel, can you import torch. If you are not able to import torch try to install pytorch from esri channel
use this command to uninstall existing one :
then install it back using this command
conda install -c esri arcgis fastai pytorch --no-pin
Downgrade your fastprogress version
conda install -c esri fastprogress=0.1.21 --no-pin
Sandeep Kumar Thank you for your reply! I tried "conda install -c esri arcgis fastai scikit-image pillow" in a new environment; however, it turns out into the same error.
Thanks!
On a clean environment try
"conda install -c esri arcgis fastai scikit-image pillow"
Can you paste the output of the command "conda list" here.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.