Open xiaoding06 opened 1 month ago
看起来您是在windows上面配置的环境,可以尝试换成ubuntu 这种安装包错误很常见,一般换一下环境,或者更新conda、pip可以解决
hello ,pip 安装为 21.3,安装jsonnet包的时候还是报错Requirement already satisfied: pip in c:\users\ding.conda\envs\xiaoding03\lib\site-packages (21.3.1)
ERROR: Failed building wheel for jsonnet
您好,我安装了jsonnet_binary这个包后,然后运行报错RuntimeError: RUNTIME ERROR: undefined external variable: ie_test_data_path
./training_config/template.libsonnet:255:19-50 object
可以帮忙看看嘛谢谢您
您好,我能加您个联系方式嘛,我真的很想跑起来这个代码,谢谢您!!!
------------------ 原始邮件 ------------------ 发件人: "foxlf823/sodner" @.>; 发送时间: 2024年7月30日(星期二) 上午9:41 @.>; @.**@.>; 主题: Re: [foxlf823/sodner] 安装包报错 (Issue #17)
看起来您是在windows上面配置的环境,可以尝试换成ubuntu 这种安装包错误很常见,一般换一下环境,或者更新conda、pip可以解决
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
加我qq吧,67746487
谢谢您的回复,李老师我加您QQ了哈,麻烦您有空看一下,谢谢您
李老师您好,直接运行train_sample.sh然后报错:file_dict = json.loads(evaluate_file(params_file, ext_vars=ext_vars))
RuntimeError: RUNTIME ERROR: undefined external variable: ie_test_data_path
./training_config/template.libsonnet:255:19-50 object
您好,安装jsonnet包报错,可以帮忙看看嘛 Collecting jsonnet==0.13.0 Using cached jsonnet-0.13.0.tar.gz (255 kB) Building wheels for collected packages: jsonnet Building wheel for jsonnet (setup.py) ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\ding.conda\envs\xiaoding03\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ding\AppData\Local\Temp\2\pip-install-l2ukd4n5\jsonnet_00e8582304cf469bab1fa65e01e25f74\setup.py'"'"'; file='"'"'C:\Users\ding\AppData\Local\Temp\2\pip-install-l2ukd4n5\jsonnet_00e8582304cf469bab1fa65e01e25f74\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\ding\AppData\Local\Temp\2\pip-wheel-9_rhiobs' cwd: C:\Users\ding\AppData\Local\Temp\2\pip-install-l2ukd4n5\jsonnet_00e8582304cf469bab1fa65e01e25f74\ Complete output (4 lines): running bdist_wheel running build running build_ext error: [WinError 2] 系统找不到指定的文件。
ERROR: Failed building wheel for jsonnet Running setup.py clean for jsonnet Failed to build jsonnet Installing collected packages: jsonnet Running setup.py install for jsonnet ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\ding.conda\envs\xiaoding03\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ding\AppData\Local\Temp\2\pip-install-l2ukd4n5\jsonnet_00e8582304cf469bab1fa65e01e25f74\setup.py'"'"'; file='"'"'C:\Users\ding\AppData\Local\Temp\2\pip-install-l2ukd4n5\jsonnet_00e8582304cf469bab1fa65e01e25f74\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\ding\AppData\Local\Temp\2\pip-record-2kk1s_1g\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\ding.conda\envs\xiaoding03\Include\jsonnet' cwd: C:\Users\ding\AppData\Local\Temp\2\pip-install-l2ukd4n5\jsonnet_00e8582304cf469bab1fa65e01e25f74\ Complete output (4 lines): running install running build running build_ext error: [WinError 2] 系统找不到指定的文件。
ERROR: Command errored out with exit status 1: 'C:\Users\ding.conda\envs\xiaoding03\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ding\AppData\Local\Temp\2\pip-install-l2ukd4n5\jsonnet_00e8582304cf469bab1fa65e01e25f74\setup.py'"'"'; file='"'"'C:\Users\ding\AppData\Local\Temp\2\pip-install-l2ukd4n5\jsonnet_00e8582304cf469bab1fa65e01e25f74\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\ding\AppData\Local\Temp\2\pip-record-2kk1s_1g\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\ding.conda\envs\xiaoding03\Include\jsonnet' Check the logs for full command output.