mightyscape-1.2 icon indicating copy to clipboard operation
mightyscape-1.2 copied to clipboard

using boxes in python virtual environment

Open dido77-arduino opened this issue 6 months ago • 7 comments

Hi

I would like to use the plugin in a python virtual environment, I am not successful at the moment.

I have setup the venv, cloned the repo and installed the requirements as needed

source $HOME/venv/bin/activate cat ~/.config/inkscape/extensions/mightyscape-1.2/requirements.txt | sed '/^#/d' | xargs -n 1 pip install --upgrade --no-cache-dir (completed w/o errors)

I have also changed preferences.xml to use the virtual environment

       id="aboutextensions"
       python-interpreter="/home/username/venv/bin/python" />

When I start inkscape and I try any of the Boxes plugins, I receive the error

File` "/home/didomax/.config/inkscape/extensions/mightyscape-1.2/extensions/fablabchemnitz/boxes.py/boxes/scripts/boxes", line 24, in <module>
    import boxes
ModuleNotFoundError: No module named 'boxes'

I tried another plugin (Origami) and it worked w/o glitches.

Where am I missing a step

Thanks Max

dido77-arduino avatar Feb 04 '24 17:02 dido77-arduino