Error When Installing Cmake For Python Windows
Solution 1:
if the above answers of pip3 or pip install cmake don't work try
sudo apt-get install cmake
Solution 2:
python -m pip install --upgrade pip
and then you can run
pip3 install cmake
This works for me on Pyhton 3.8
Solution 3:
As of today, CMake wheels for python 3.6 are available and pip install cmake
is expected to work.
Background
At the time of your first post, there were no wheels for python 3.6, pip
was rightfully trying to build the wheel using the source distribution.
Considering that:
the project allowing to generate a CMake wheel itself depends on
scikit-build
andcmake
we simply repackage the existing binaries into the windows wheels
... you got the general error message Problem with the CMake installation, aborting build
.
References:
Installing atari-py on windows
Looking at the documentation and open pull requests of the corresponding project, it look like windows is not supported. See https://github.com/openai/atari-py
If you would like to help the project and improve their windows support, let me know and I could try to give you some guidance to create a pull request and simplify their build system.
Solution 4:
Eventually I installed cmake 0.8 from a binary file from their webpage. I originally wanted to install package atari-py that needed cmake. I downloaded that from git and in cmd with administrator rights I ran
python install setup.py
which worked.
python setup.py install
still didn't work. Unfortunately I can't give any further explanation.
Solution 5:
I just downloaded VS Code with C++ libraries and that did the trick, I was able to install CMake. (I was on Windows 10 btw)
Post a Comment for "Error When Installing Cmake For Python Windows"