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
Install tikz magic: need to set environment variable #885
Comments
Ok, I was able to set the environment using .profile, but it doesn't solve my problem because of ImageMagick/ImageMagick#1342. In brief, I need to change the policies under /etc. Is that possible? I can't run sudo at all in the postBuild script. |
You can't run things as root and there are no plans to change this. Setting environment variables when your session starts on binder is handled by a If you really absolutely need to edit: can run -> can't run |
You meant "don't", didn't you? I'm trying to get this working with graphicsmagick. This is not the first headache this paranoid imagemagick default policy has caused me. |
For future reference: it works just fine using the imagemagick interface of graphicsmagick. This is all that's needed to get tikz working in pybinder:
|
Ah yes, updated my original comment. |
I'm trying to make the jupyter tikz magic work in my binder.
First I'm installing some deb packages:
Next I add this requirement:
That's fine. The problem is the absurdly restrictive policy imagemagick sets by default since a few months. Because I'm unable to run sudo in postBuild, I have to change it for my user:
But the variable
MAGICK_CONFIGURE_PATH
is not set in my jupyter session. I've seen some example repo in your site that sets thePATH
environment variable like this. If that's not possible, should I write a~/.profile
or~/.bashrc
file?The text was updated successfully, but these errors were encountered: