-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Installation from source fails due to missing cmake exectuable #723
Comments
@bddppq Shall we add |
cmake is a system package, not a python package, so adding it to setup.py doesn't work. |
Thanks guys, updating the README sounds great. |
@bddppq How to add it to our README? I also got the same error while running setup.py for onnx installation from source |
I get same error when using: pip install onnx |
Installing cmake using the command "conda install cmake" worked for me |
I am trying to install it on windows 10 and i am still getting the assert error. Complete output from command python setup.py egg_info: Can someone help? |
@Ananyaaa CMAKE is not available. That is the problem. download cmake from here and then try running the script. |
@Rathna21 thanks for response. I understand that cmake is not available and i installed it using https://chocolatey.org/packages/cmake. But still i am facing the same issue. I will see where cmake gets installed and see whether it actually got installed? Can anyone help on where does the cmake gets installed if i use the chocolatey? |
Thanks @Rathna21. I have manually added the cmake to path variable. Now the earlier assert issue got resolved, but i am getting Cam some one help? |
from anaconda promt, which you will get after installing anaconda package, just enter |
My solution is: CMAKE = find_executable('cmake') or find_executable('cmake3') |
On a MAC, was able to install onyx once I used brew to install Cmake and protobuf (which provides the proto compiler /aka protoc) (Downloading a release and changing $PATH etc did not work). brew install Cmake |
For me, conda solution was not as useful as simple |
try |
I was installing unstructured and got this error "cmake is not available" |
My recent installation attempts from source keeps failing with following error
"AssertionError: Could not find "cmake" executable!
Command "python setup.py egg_info" failed with error code 1"
Is this a known issue?
The text was updated successfully, but these errors were encountered: