如何安装Vizdoom python

问题描述 投票:1回答:1

我是编程新手,我正在尝试在Windows 10,python上安装vizdoom。使用命令:

pip install vizdoom

并且一直收到此错误,我已经尝试过搜索,花了几个小时但无法解决。

Collecting vizdoom   Using cached vizdoom-1.1.7.tar.gz (4.9 MB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Users\USER\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\python.exe'
-c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\USER\\AppData\\Local\\Temp\\pip-install-sqhbgmz4\\vizdoom\\setup.py'"'"';
__file__='"'"'C:\\Users\\USER\\AppData\\Local\\Temp\\pip-install-sqhbgmz4\\vizdoom\\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\USER\AppData\Local\Temp\pip-pip-egg-info-m7e2idad'
         cwd: C:\Users\USER\AppData\Local\Temp\pip-install-sqhbgmz4\vizdoom\
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\USER\AppData\Local\Temp\pip-install-sqhbgmz4\vizdoom\setup.py", line 14, in <module>
        raise RuntimeError("Building pip package on Windows is not currently available ...")    
    RuntimeError: Building pip package on Windows is not currently available ...
    ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full  command output.

作为最后的手段,我希望从这里得到一些帮助。

python visual-studio windows-10 reinforcement-learning
1个回答
0
投票

没关系,我切换到了ubuntu。

© www.soinside.com 2019 - 2024. All rights reserved.