semantra
semantra copied to clipboard
Error installing semantra.
hi:
The following error was found, please help.
Fatal error from pip prevented installation. Full pip output in file: C:\Users\lh_ti.local\pipx\logs\cmd_2023-04-25_15.39.21_pip_errors.log
pip failed to build package: annoy-fixed
Some possibly relevant errors from pip install: error: subprocess-exited-with-error 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 installing semantra.
It seems that this is not a code error. You may need to install Microsoft's development kit first. The error message indicates that Microsoft Visual C++ needs to be installed beforehand.
The following image shows the package I installed, and Latest package.
Can anyone confirm that Semantra is installable on Windows? I don't have a Windows machine so it's hard for me to validate that it's just a build error.
thanks!
I experienced the same install error. Have you fixed it? how can it be fixed?
I installed the ubuntu virtual machine on my own machine and it was successful.
Solved it on mac by running: xcode-select --install
Closing this issue for now since it appears to be unrelated to Semantra itself. If we get enough common installation issues and how to fix them, I can put together a troubleshooting guide. Many thanks!
I faced some errors when trying to install on windows subsystem on linux but installing gcc and g++ resolved those issues:
(research) chuaxr@MSS21701323:~$ pipx install semantra
Fatal error from pip prevented installation. Full pip output in file:
/home/chuaxr/.local/pipx/logs/cmd_2023-05-04_12.38.19_pip_errors.log
pip failed to build package:
annoy-fixed
Some possibly relevant errors from pip install:
error: subprocess-exited-with-error
error: command 'gcc' failed: No such file or directory
error: legacy-install-failure
(research) chuaxr@MSS21701323:~$ pipx install semantra
Fatal error from pip prevented installation. Full pip output in file:
/home/chuaxr/.local/pipx/logs/cmd_2023-05-04_12.49.24_pip_errors.log
pip failed to build package:
annoy-fixed
Some possibly relevant errors from pip install:
error: subprocess-exited-with-error
gcc: fatal error: cannot execute ‘cc1plus’: execvp: No such file or directory
error: command '/usr/bin/gcc' failed with exit code 1
error: legacy-install-failure
I get the same error attempting to install on Windows in PowerShell, i.e. Microsoft Visual C++ 14.0 or greater is required
. However, the Visual C++ package is already installed.
I'm happy to run it in WSL, but perhaps lack of compatibility with Windows per se should be flagged in the README.