Not able to install skbuild

邮差的信 提交于 2020-02-28 07:32:37

问题


I am trying to install "CMake" with command

pip3 install CMake. 

Its gives an error for a module "skbuild"

from skbuild import setup, ModuleNotFoundError: No module named 'skbuild' 

But but when tried to install skbuild with command

pip3 install skbuild 

it gives error

"Could not find a version that satisfies the requirement skbuild (from versions: ) No matching distribution found for skbuild". 

I am not able to solve this error. Please help. I trying the implementation it on Window 10. Using Python 3.7.0. I tried couple of versions of pip3 (10.0.1, 9.0.3, 9.0.2, 9.0.1). Nothing is working.


回答1:


There are pre-compiled binaries available on THIS page for Windows as MSI packages and ZIP files. You can find the one for the OS you are using.

If you want to proceed with your current approach then can you can probably refer THIS LINK




回答2:


Try pip install scikit-build. For me, pip install cmake works properly afterwards.




回答3:


You don't install CMake with pip, you need to install MacPorts and then follow the instructions that are on that page which say to install using sudo port install cmake.



来源:https://stackoverflow.com/questions/51154143/not-able-to-install-skbuild

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!