-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using boxes in python virtual environment #144
Comments
Hi, you can check by
|
Hi @vmario89 actually no, it was not installed - I was assuming it was part of the requirements.txt, my bad. I have now tried to install it, but it does not sound to me right
And actually boxes.py is empty
This is the full error
Which I do not understand, since python is able to find the libraries when called from command line. Any clue what is going on? Max |
hi, you actually installed the wrong boxes module: https://pypi.org/project/boxes/ please try to install like the following command:
then run
the output will be
|
ps: i added the missing dependency in requirements.txt |
Thanks for the prompt answer. Some progress done, I can call boxes both from the command line and in the python (virtual) environment
and
However, I get the very same error as in the previous post when trying to run the extension within inkscape. My preferences.xml
I do not know anymore where to look for issues... |
looks like i will have to check it myself when using venv (actually never tried). Which OS are you running? Linux, Windows, ... ? |
Gentoo Linux with python 3.11.
Thanks
Max
9 Feb 2024 09:07:11 Mario Voigt ***@***.***>:
…
looks like i will have to check it myself when using venv (actually never tried). Which OS are you running? Linux, Windows, ... ?
—
Reply to this email directly, view it on GitHub[#144 (comment)], or unsubscribe[https://github.com/notifications/unsubscribe-auth/ARUZENFB3P5OADBYLNGFFZ3YSXKK7AVCNFSM6AAAAABCZBA4JGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZVGQ4TAMBSHA].
You are receiving this because you authored the thread.
[Tracking image][https://github.com/notifications/beacon/ARUZENADCM3GCSBBKHVMNWLYSXKK7A5CNFSM6AAAAABCZBA4JGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTTLU56Y.gif]
|
i tested the thing with venv and it can confirm the failure. but good news: most of plugins work really well with venv. i will change mightyscape documentation to use venv mainly because it does not mess with system libraries at all |
finally fixed by c5e4801 |
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
When I start inkscape and I try any of the Boxes plugins, I receive the error
I tried another plugin (Origami) and it worked w/o glitches.
Where am I missing a step
Thanks
Max
The text was updated successfully, but these errors were encountered: