Skip to content

无法运行 #1

Description

@nothing132

直接下载了zip包并解压,但是好像代码不全啊
执行的命令:

>conda create -n capquake python=3.10
>conda activate capquake
>conda install -c conda-forge obspy pygame shapely pandas numpy
>pip install requests websocket-client openpyxl Pillow pytz

>conda activate capquake

(capquake)  >python Code\main.py
pygame 2.6.1 (SDL 2.28.4, Python 3.10.20)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
  File " \CAPQuake-main\Code\main.py", line 247, in <module>
    import state
ModuleNotFoundError: No module named 'state'

随后,执行了pip安装命令:

>pip install pygame 
>pip install obspy 
>pip install requests 
>pip install websocket-client 
>pip install pandas 
>pip install openpyxl 
>pip install shapely 
>pip install numpy 
>pip install Pillow 
>pip install pytz

但是报错依旧

另外,我发现项目中的“git clone https://github.com/yourusername/CAPQuake.git ”命令中,用户名是不是不对啊。后续提到的“generate_tiles.py”文件,也没有啊

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions