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!
Solved! Go to Solution.
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
Can you paste the output of the command "conda list" here.
On a clean environment try
"conda install -c esri arcgis fastai scikit-image pillow"
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.
Downgrade your fastprogress version
conda install -c esri fastprogress=0.1.21 --no-pin
I just downgraded the fastprogress and rerun the jupyter notebook. It seems the same issue still appear.
Thanks!
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 :
conda remove pytorch torchvision --force --no-pin
then install it back using this command
conda install -c esri arcgis fastai pytorch --no-pin
I just reinstalled the esri version pytorch. Restarted the Jupyter and Kernel, and then rerun the code. Still, it pop up the same error.
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
import torch