-
Notifications
You must be signed in to change notification settings - Fork 9
Instalation troubleshoot
in general situation installation of PartSeg using pip install PartSeg
should run smoothly, but there are known few problems for which solutions are described below:
PartSeg is not tested against python 3.11 because not all dependent libraries are released for python 3.11. Also, this library that builds processes is not trivial. If you do not have enough experience to build libraries on your side, then it is suggested to change to python 3.10
At the moment of writing, this instruction PyOpenGL-accelerate
still does not have released wheels for python 3.9. This extension build smoothly when you have installed developer tools on your machine. To find information about install developer tools on windows you may check this webpage https://biapol.github.io/blog/robert_haase/ms_build_tools/
If you do not have installed developer tools you may see text like this during installation:
building 'OpenGL_accelerate.wrapper' 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 PyOpenGL-accelerate
Another option to install developer tools on your machine is to download wheels build by Christoph from his webpage www.lfd.uci.edu/~gohlke/pythonlibs/. For PyOpenGL-accelerate
and 64 bytes python it will be PyOpenGL_accelerate‑3.1.5‑cp39‑cp39‑win_amd64.whl
. This will work only for windows.