Code Monkey home page Code Monkey logo

Comments (11)

eduardo-rodrigues avatar eduardo-rodrigues commented on June 5, 2024

Hi, I have not encountered this problem. But it is certainly a strange one since your compiler is not finding basic things such as libm and libc :S. I would try and debug in that direction, meaning, where are these libraries in your setup ...

from root_pandas.

chrisburr avatar chrisburr commented on June 5, 2024

How are you installing root? Can you give a full list of the commands used to create the environment?

from root_pandas.

renaudin avatar renaudin commented on June 5, 2024

Thank you for spotting missing libraries, I will look at it.
I tried two things for installing ROOT, conda install -c chrisburr root and also installing it from NLesC, with the same result.

I also tried to install missing libraries with conda install gxx_linux-64 but I was then unable to find the packages installed in my env, only the root ones were found.

from root_pandas.

renaudin avatar renaudin commented on June 5, 2024

So, using conda install gxx_linux-64, I was able to install both root_numpy and root_pandas but when I try to import root_numpy (or root_pandas), I have the following error:

selection_039
Do you have any hint ?
Thanks in advance,

from root_pandas.

chrisburr avatar chrisburr commented on June 5, 2024

Are you using pip install --no-binary root_numpy .... still?

  • If not the problem is probably that root_numpy was compiled with a different ROOT version to the one you have installed
  • If you did then you're picking up the ROOT libraries from the wrong place so you probably need to play with LD_LIBRARY_PATH

from root_pandas.

renaudin avatar renaudin commented on June 5, 2024

Yes I am.
I'm trying to install root only after installing gxx_linux-64, hoping it will use this compiler.

from root_pandas.

chrisburr avatar chrisburr commented on June 5, 2024

What does which gcc and gcc --version give you?

from root_pandas.

renaudin avatar renaudin commented on June 5, 2024

It gives me:
/home/renaudin/miniconda3/envs/cern/bin/gcc
gcc (GCC) 4.8.3 20140120 (prerelease)

My guess is that gcc and the conda cross-platform compiler are in conflict and the first one is picked for root then packages are compiled with the second.

from root_pandas.

renaudin avatar renaudin commented on June 5, 2024

I also tried to install your root without depencies, in hope that only x86_64-conda_cos6-linux-gnu-c++ will be used, but I'm stuck with the same error.
And if I don't install gxx_linux-64, I have a compiler error during the root_numpy installation.

from root_pandas.

renaudin avatar renaudin commented on June 5, 2024

Just to close the issue, I was able to install root_pandas getting back to Anaconda3-4.4.0.
I would be extremely interested if someone is able to make it work with latest anaconda but for the time being, this is all I need.
Many thanks for your help !

from root_pandas.

chrisburr avatar chrisburr commented on June 5, 2024

Thanks for reporting back. A few months ago (v5?) conda made major changes to the way gcc is used. It should be much better, but I'm not aware of anyone who has made an updated ROOT package yet. If anyone would like to I'd be happy to share my ideas for making it in a more maintainable way.

from root_pandas.

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.