although this pj has not been maintained any more, but due to the latest repo does not offer an issuse service, so I have to propose my question there.
When I use the command
pip install magent
I always encounter this error:
ERROR: Command errored out with exit status 1:
command: 'f:\python\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\lenovo\AppData\Local\Temp\pip-install-3sxu7k0d\magent\setup.py'"'"'; file='"'"'C:\Users\lenovo\AppData\Local\Temp\pip-install-3sxu7k0d\magent\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\lenovo\AppData\Local\Temp\pip-record-tiuqc_8j\install-record.txt' --single-version-externally-managed --compile --install-headers 'f:\python\Include\magent'
cwd: C:\Users\lenovo\AppData\Local\Temp\pip-install-3sxu7k0d\magent\
Complete output (55 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.8
creating build\lib.win-amd64-3.8\magent
copying magent\c_lib.py -> build\lib.win-amd64-3.8\magent
copying magent\environment.py -> build\lib.win-amd64-3.8\magent
copying magent\gridworld.py -> build\lib.win-amd64-3.8\magent
copying magent\utility.py -> build\lib.win-amd64-3.8\magent
copying magent__init.py -> build\lib.win-amd64-3.8\magent
creating build\lib.win-amd64-3.8\magent\builtin
copying magent\builtin__init__.py -> build\lib.win-amd64-3.8\magent\builtin
creating build\lib.win-amd64-3.8\magent\builtin\config
copying magent\builtin\config\battle.py -> build\lib.win-amd64-3.8\magent\builtin\config
copying magent\builtin\config\double_attack.py -> build\lib.win-amd64-3.8\magent\builtin\config
copying magent\builtin\config\forest.py -> build\lib.win-amd64-3.8\magent\builtin\config
copying magent\builtin\config\pursuit.py -> build\lib.win-amd64-3.8\magent\builtin\config
copying magent\builtin\config\init__.py -> build\lib.win-amd64-3.8\magent\builtin\config
running egg_info
writing magent.egg-info\PKG-INFO
writing dependency_links to magent.egg-info\dependency_links.txt
writing requirements to magent.egg-info\requires.txt
writing top-level names to magent.egg-info\top_level.txt
reading manifest file 'magent.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '.dylib'
warning: no files found matching '.so'
writing manifest file 'magent.egg-info\SOURCES.txt'
running build_ext
-- Building for: Visual Studio 14 2015
-- Selecting Windows SDK version to target Windows 10.0.18363.
-- The C compiler identification is MSVC 19.0.24210.0
-- The CXX compiler identification is MSVC 19.0.24210.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_BUILD_TYPE
-- Build files have been written to: C:/Users/lenovo/AppData/Local/Temp/pip-install-3sxu7k0d/magent/build/temp.win-amd64-3.8/Release
error: [WinError 2] 系统找不到指定的文件。
although this pj has not been maintained any more, but due to the latest repo does not offer an issuse service, so I have to propose my question there.
When I use the command
I always encounter this error:
ERROR: Command errored out with exit status 1: command: 'f:\python\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\lenovo\AppData\Local\Temp\pip-install-3sxu7k0d\magent\setup.py'"'"'; file='"'"'C:\Users\lenovo\AppData\Local\Temp\pip-install-3sxu7k0d\magent\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\lenovo\AppData\Local\Temp\pip-record-tiuqc_8j\install-record.txt' --single-version-externally-managed --compile --install-headers 'f:\python\Include\magent' cwd: C:\Users\lenovo\AppData\Local\Temp\pip-install-3sxu7k0d\magent\ Complete output (55 lines): running install running build running build_py creating build creating build\lib.win-amd64-3.8 creating build\lib.win-amd64-3.8\magent copying magent\c_lib.py -> build\lib.win-amd64-3.8\magent copying magent\environment.py -> build\lib.win-amd64-3.8\magent copying magent\gridworld.py -> build\lib.win-amd64-3.8\magent copying magent\utility.py -> build\lib.win-amd64-3.8\magent copying magent__init.py -> build\lib.win-amd64-3.8\magent creating build\lib.win-amd64-3.8\magent\builtin copying magent\builtin__init__.py -> build\lib.win-amd64-3.8\magent\builtin creating build\lib.win-amd64-3.8\magent\builtin\config copying magent\builtin\config\battle.py -> build\lib.win-amd64-3.8\magent\builtin\config copying magent\builtin\config\double_attack.py -> build\lib.win-amd64-3.8\magent\builtin\config copying magent\builtin\config\forest.py -> build\lib.win-amd64-3.8\magent\builtin\config copying magent\builtin\config\pursuit.py -> build\lib.win-amd64-3.8\magent\builtin\config copying magent\builtin\config\init__.py -> build\lib.win-amd64-3.8\magent\builtin\config running egg_info writing magent.egg-info\PKG-INFO writing dependency_links to magent.egg-info\dependency_links.txt writing requirements to magent.egg-info\requires.txt writing top-level names to magent.egg-info\top_level.txt reading manifest file 'magent.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '.dylib' warning: no files found matching '.so' writing manifest file 'magent.egg-info\SOURCES.txt' running build_ext -- Building for: Visual Studio 14 2015 -- Selecting Windows SDK version to target Windows 10.0.18363. -- The C compiler identification is MSVC 19.0.24210.0 -- The CXX compiler identification is MSVC 19.0.24210.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project:
How can I fix this?