pythonocc-core icon indicating copy to clipboard operation
pythonocc-core copied to clipboard

Installation outside conda enviroment

Open AhmedElsayed-17 opened this issue 1 year ago • 2 comments

Is it possible to install it on another Python interpreter outside the anaconda environment? because I have a Python version installed with a software I'm using and I want to install pythonocc inside it and unfortunately I have to stick with the software's interpreter because it has some libraries made specifically for it.

AhmedElsayed-17 avatar Nov 28 '23 09:11 AhmedElsayed-17

From what I see (and currently trying to do myself), it should be possible to just build it with cmake directly. For you the main challenge will likely be convincing cmake to find your special python (pay attention to the Found Python3: line in cmake output. This may require hardcoding some things in pythonocc cmakelists file, as cmake's findpython scripts sometimes just refuse to comply.

Equidamoid avatar Dec 20 '23 21:12 Equidamoid

Would love to see the support of PyPI to use it in requirements.txt

nickger avatar Jan 23 '24 10:01 nickger