Skip to content

Fail to find the module "libcomcat" after install libcomcat sucessfully #239

@sijiasoniachen

Description

@sijiasoniachen

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-forge

Warning: 'conda-forge' already in 'channels' list, moving to the top
(comcat) PS C:\Users\sonia>
(comcat) PS C:\Users\sonia> conda install libcomcat

Collecting package metadata (current_repodata.json): done
Solving environment: done

All 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 search

ModuleNotFoundError: 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions