Git Product home page Git Product logo

Comments (5)

smuzaffar avatar smuzaffar commented on June 12, 2024 2

although you can disable the new pyroot by using -Dpyroot_experimental=OFF but we would like to move forward with new pyroot and would like to get a version fo rootpy which works with it. Any plans to support the new pyroot? Otherwise I am afraid we have to drop rootpy from CMSSW software stack

from rootpy.

mrodozov avatar mrodozov commented on June 12, 2024 1

@zodiacfireworks
yes, that's because ROOT is moving on to new PyROOT for which they have enable building the new libs by default. You can see this comment from ROOT devs
cms-sw/cmsdist#5531 (comment)
on what has changed. You can also add this cmake flag:
-Dpyroot_experimental=OFF
to have the old lib version

from rootpy.

mrodozov avatar mrodozov commented on June 12, 2024

I was reading the existing issues and I think what you have is similar to my issue which you can read about here: cms-sw/cmsdist#5531 (comment)
in short you are probably building (installing) the newer pyroot libs instead of the old one. If you list your ROOTSYS/lib and there is not libPyROOT but libROOTTPython that is it

from rootpy.

rmanzoni avatar rmanzoni commented on June 12, 2024

Hi @mrodozov,

thanks for the tip.

I bumped into this problem when building ROOT from source indeed (new laptop, I wanted a fresh install), then I decided to take a different approach and install ROOT via conda and encapsulate it in a conda environment.

For the posterity, this worked with root 6.18.00

conda create -n alt_root python=3.7 root -c conda-forge
conda activate alt_root
conda config --env --add channels conda-forge
conda install -n alt_root root_numpy
conda install -n alt_root tensorflow -c conda-forge
conda install -n alt_root keras -c conda-forge
conda install -n alt_root matplotlib
conda install -n alt_root scikit-learn
python -m pip install rootpy --user

from rootpy.

zodiacfireworks avatar zodiacfireworks commented on June 12, 2024

Same issue here!

rootpy 1.0.1
ROOT 6.21/01

I have libROOTTPython, not libPyROOT :(

image

Any plan to update?
How I can help?

:)

from rootpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.