Hi Lukas, The easiest way of doing this is to treat the DIRAC python environment as if it's a virtualenv and install whatever you need in to that (rather than the other way around). # Install DIRAC UI & then start with a clean env... # Get a subshell bash source bashrc unset REQUESTS_CA_BUNDLE SSL_CERT_DIR # These upset pip pip install -e t2kdm # or whatever exit source bashrc # You should now have a python environment with your modules & DIRAC Regards, Simon On Fri, Nov 09, 2018 at 01:16:30PM +0000, Lukas Koch wrote:
Hello,
I am trying to implement a Dirac backend for the software we use at T2K to access the grid data. This software is written in Python and now I am facing the problem that Dirac comes with its own Python distribution that does *not* play nicely with either the system Python or virtual environments.
So my question is this: Is there a(n easy) way to make Dirac compatible with other Python software? Maybe a way to install the Dirac client in a regular virtual Python environment?
Cheers Lukas