Build PyROOT alone on an already installed ROOT distribution

Hello,

Sorry if this topic already exists, but I could not find anything related. Probably my fault.

I would like to have only one version of ROOT in my computer but still have PyROOT in the different virtual envs I work with which sometimes are different to the one used to build the ROOT distribution.

Is there an easy way of building only the stuff related to python and linked the library to the existing ROOT installation ?

With many thanks,

Carlos


_ROOT Version:Any
_Platform:Any
_Compiler:


AFAIK, the only way is to build from source with your preferred Python version

Dear @lacasta ,

Thank you for reaching out to the forum! Yours is an interesting question, one way to practically achieve what you’re asking for is to manage your different Python environments (with different Python versions) with conda. You can then install ROOT via conda in every different environment you need.

Cheers,
Vincenzo

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.