-
Notifications
You must be signed in to change notification settings - Fork 42
Description
Good afternoon,
I am scraping the USGS Shakemap shape.zip files using Libcomcat. I follow the installation instruction to install libcomcat using "Anaconda Powershell Prompt", the codes are as followed.
_(base) PS C:\Users\sonia> conda create -n comcat --channel conda-forge python=3.8
WARNING: A conda environment already exists at 'C:\Users\sonia\anaconda3\envs\comcat'
Remove existing environment (y/[n])?CondaSystemExit: Exiting.
(base) PS C:\Users\sonia> conda activate comcat
(comcat) PS C:\Users\sonia>
(comcat) PS C:\Users\sonia> conda config --add channels conda-forgeWarning: 'conda-forge' already in 'channels' list, moving to the top
(comcat) PS C:\Users\sonia>
(comcat) PS C:\Users\sonia> conda install libcomcatCollecting package metadata (current_repodata.json): done
Solving environment: doneAll requested packages already installed.
(comcat) PS C:\Users\sonia>
(comcat) PS C:\Users\sonia>_
However, I fail to find the libcomcat module when starting with Spyder (python 3.8):
_from libcomcat.search import search
Traceback (most recent call last):File "", line 1, in
from libcomcat.search import searchModuleNotFoundError: No module named 'libcomcat'_
I have tried to install python for version 3.6, 3.7, and 3.8, but none of them work.
Could you provide any suggestions about this situation?
Thank you!
Sonia