STID icon indicating copy to clipboard operation
STID copied to clipboard

ModuleNotFoundError: No module named 'easytorch'

Open shuqincao opened this issue 5 months ago • 2 comments

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.

shuqincao avatar Sep 09 '24 15:09 shuqincao