Open
Description
I have tried installing jsonnet given that its a dependency for jiant
on Windows 10
when trying to run pip install jsonnet
I encounter the following error:
Building wheels for collected packages: jsonnet
Building wheel for jsonnet (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\USER\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\USER\\AppData\\Local\\Temp\\pip-install-n35v5nsc\\jsonnet_ad2aa1e6f8c6402981889d6e4f24d754\\setup.py'"'"'; __file__='"'"'C:\\Users\\USER\\AppData\\Local\\Temp\\pip-install-n35v5nsc\\jsonnet_ad2aa1e6f8c6402981889d6e4f24d754\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\USER\AppData\Local\Temp\pip-wheel-x8qn1rxp'
cwd: C:\Users\USER\AppData\Local\Temp\pip-install-n35v5nsc\jsonnet_ad2aa1e6f8c6402981889d6e4f24d754\
Complete output (4 lines):
running bdist_wheel
running build
running build_ext
error: [WinError 2] The system cannot find the file specified
----------------------------------------
ERROR: Failed building wheel for jsonnet
Running setup.py clean for jsonnet
Failed to build jsonnet
Installing collected packages: jsonnet, datasets, bs4, attrs, jiant
Running setup.py install for jsonnet ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\USER\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\USER\\AppData\\Local\\Temp\\pip-install-n35v5nsc\\jsonnet_ad2aa1e6f8c6402981889d6e4f24d754\\setup.py'"'"'; __file__='"'"'C:\\Users\\USER\\AppData\\Local\\Temp\\pip-install-n35v5nsc\\jsonnet_ad2aa1e6f8c6402981889d6e4f24d754\\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\USER\AppData\Local\Temp\pip-record-83ne6wxg\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\USER\Anaconda3\Include\jsonnet'
cwd: C:\Users\USER\AppData\Local\Temp\pip-install-n35v5nsc\jsonnet_ad2aa1e6f8c6402981889d6e4f24d754\
Complete output (4 lines):
running install
running build
running build_ext
error: [WinError 2] The system cannot find the file specified
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\USER\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\USER\\AppData\\Local\\Temp\\pip-install-n35v5nsc\\jsonnet_ad2aa1e6f8c6402981889d6e4f24d754\\setup.py'"'"'; __file__='"'"'C:\\Users\\USER\\AppData\\Local\\Temp\\pip-install-n35v5nsc\\jsonnet_ad2aa1e6f8c6402981889d6e4f24d754\\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\USER\AppData\Local\Temp\pip-record-83ne6wxg\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\USER\Anaconda3\Include\jsonnet' Check the logs for full command output.