Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install the package #35

Open
stefcon opened this issue Mar 21, 2022 · 0 comments
Open

Can't install the package #35

stefcon opened this issue Mar 21, 2022 · 0 comments

Comments

@stefcon
Copy link

stefcon commented Mar 21, 2022

Error message:

Building wheel for pyemd (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\a-sbrankovic\Anaconda3\envs\env-01\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\a-sbrankovic\AppData\Local\Temp\pip-install-0hfs4j_s\pyemd_8ad09ff0ac7849d8b344211e55ed7432\setup.py'"'"'; file='"'"'C:\Users\a-sbrankovic\AppData\Local\Temp\pip-install-0hfs4j_s\pyemd_8ad09ff0ac7849d8b344211e55ed7432\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\a-sbrankovic\AppData\Local\Temp\pip-wheel-i4vc1okh'
cwd: C:\Users\a-sbrankovic\AppData\Local\Temp\pip-install-0hfs4j_s\pyemd_8ad09ff0ac7849d8b344211e55ed7432
Complete output (11 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.8
creating build\lib.win-amd64-3.8\pyemd
copying pyemd_about_.py -> build\lib.win-amd64-3.8\pyemd
copying pyemd_init_.py -> build\lib.win-amd64-3.8\pyemd
running build_ext
building 'pyemd.emd' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
ERROR: Failed building wheel for pyemd
Running setup.py clean for pyemd
Installing collected packages: pyemd, moverscore, gin-config, blanc, summ-eval
ERROR: Command errored out with exit status 1:
command: 'C:\Users\a-sbrankovic\Anaconda3\envs\env-01\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\a-sbrankovic\AppData\Local\Temp\pip-install-0hfs4j_s\pyemd_8ad09ff0ac7849d8b344211e55ed7432\setup.py'"'"'; file='"'"'C:\Users\a-sbrankovic\AppData\Local\Temp\pip-install-0hfs4j_s\pyemd_8ad09ff0ac7849d8b344211e55ed7432\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\a-sbrankovic\AppData\Local\Temp\pip-record-g6e3vfmx\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\a-sbrankovic\Anaconda3\envs\env-01\Include\pyemd'
Complete output (11 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.8
creating build\lib.win-amd64-3.8\pyemd
copying pyemd_about_.py -> build\lib.win-amd64-3.8\pyemd
copying pyemd_init_.py -> build\lib.win-amd64-3.8\pyemd
running build_ext
building 'pyemd.emd' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\a-sbrankovic\Anaconda3\envs\env-01\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\a-sbrankovic\AppData\Local\Temp\pip-install-0hfs4j_s\pyemd_8ad09ff0ac7849d8b344211e55ed7432\setup.py'"'"'; file='"'"'C:\Users\a-sbrankovic\AppData\Local\Temp\pip-install-0hfs4j_s\pyemd_8ad09ff0ac7849d8b344211e55ed7432\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\a-sbrankovic\AppData\Local\Temp\pip-record-g6e3vfmx\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\a-sbrankovic\Anaconda3\envs\env-01\Include\pyemd' Check the logs for full command output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant