Closed ChristopheMineau closed 1 year ago
Hi. Glad you got it running :) Looking intohttps://github.com/eridur-de/mightyscape-1.2/blob/master/requirements.txt
this should be fine. lxml, csssselect, numpy are included in the requirements already. The error you have might belong to a wrong setting of the python interpreter. This can be configured in~/.config/inkscape/preferences.xml
<group
id="extensions"
python-interpreter="/usr/bin/python"
Hi thanks for answering. Well my python configuration is exactly as you suggest. I did install in my python console using pip on your requirement file, but don't know why, these didn't get installed. I know that it ended up failing on openmesh, maybe it's because of that ?
Anyway, now I am having a look at Boxes.py, and it also fails because it misses some dependencies, and these ones are not in the requirement.txt file : I had to do : pip install shapely pip install affine to make it work.
Hi, shapely and affine are in https://github.com/eridur-de/mightyscape-1.2/blob/master/requirements.txt - the problem is that if openmesh fails, the whole requirements.txt fails to continue. So, libs below openmesh are not installed at your system. Thats why you need to install them manually or use some nasty workaround to install everything separate, even when a package fails:
cat requirements.txt | xargs -n 1 pip install
Hi folks, just discovered your work, that's really great ! Thanks very much for putting together all this stuff ! I came here initially for the Living Hinge extension, I was desperate to find something working on Inkscape 1.2 and here you did the job,but, almost ... I had at the first run the following errors
So in total, I had to install additionally : $ pip install lxml $ pip install cssselect $ pip install numpy
And it ended up working. I am on W10, IS 1.2.2, I installed using the git clone method / pip install ..... requirement.txt on my local python 3.10
Thanks again for the great work !