IrisRainbowNeko / genshin_auto_fish

基于深度强化学习的原神自动钓鱼AI
4.76k stars 724 forks source link

yolox安装错误 #212

Open BeidouStarX opened 2 years ago

BeidouStarX commented 2 years ago

执行python setup.py develop后 running develop running egg_info writing yolox.egg-info\PKG-INFO writing dependency_links to yolox.egg-info\dependency_links.txt writing top-level names to yolox.egg-info\top_level.txt D:\anaconda3\envs\ysfish\lib\site-packages\torch\utils\cpp_extension.py:339: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend. warnings.warn(msg.format('we could not find ninja.')) reading manifest file 'yolox.egg-info\SOURCES.txt' writing manifest file 'yolox.egg-info\SOURCES.txt' running build_ext D:\anaconda3\envs\ysfish\lib\site-packages\torch\utils\cpp_extension.py:274: UserWarning: Error checking compiler version for cl: 'utf-8' codec can't decode byte 0xd3 in position 0: invalid continuation byte warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error)) copying build\lib.win-amd64-3.6\yolox_C.cp36-win_amd64.pyd -> yolox Creating d:\anaconda3\envs\ysfish\lib\site-packages\yolox.egg-link (link to .) yolox 0.1.0 is already the active version in easy-install.pth

Installed d:\genshin_auto_fish Processing dependencies for yolox==0.1.0 Finished processing dependencies for yolox==0.1.0

BeidouStarX commented 2 years ago

问题解决了,是torch版本不对和ninja没安装

nightlye commented 2 years ago

兄弟,怎么看torch版本是否合适的?

BeidouStarX commented 2 years ago

兄弟,怎么看炬版本是否合适的?

可以去官网看看 https://pytorch.org/