Skip to content

ModuleNotFoundError: No module named 'easytorch' #22

@shuqincao

Description

@shuqincao

ModuleNotFoundError: No module named 'easytorch'怎么解决呢?
用pip install easytorch时报错

C:\Users>pip install easytorch
Collecting easytorch
Using cached easytorch-3.8.5.tar.gz (34 kB)
ERROR: Command errored out with exit status 1:
command: 'D:\programfiles\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\wd\AppData\Local\Temp\pip-install-y5jdlgli\easytorch\setup.py'"'"'; file='"'"'C:\Users\wd\AppData\Local\Temp\pip-install-y5jdlgli\easytorch\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\wd\AppData\Local\Temp\pip-install-y5jdlgli\easytorch\pip-egg-info'
cwd: C:\Users\wd\AppData\Local\Temp\pip-install-y5jdlgli\easytorch
Complete output (7 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\wd\AppData\Local\Temp\pip-install-y5jdlgli\easytorch\setup.py", line 10, in
_README = (_HERE / "README.md").read_text()
File "D:\programfiles\anaconda3\lib\pathlib.py", line 1217, in read_text
return f.read()
UnicodeDecodeError: 'gbk' codec can't decode byte 0x85 in position 142: illegal multibyte sequence
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions