Code Monkey home page Code Monkey logo

Comments (4)

ftoralesacosta avatar ftoralesacosta commented on June 11, 2024 1

Hi,

So I solved the problem by uninstalling root with macports, and then installing it from the root git repository. I then installed root_numpy and root_pandas as @chrisburr described and everything works now.

Thanks again for the help.

from root_pandas.

chrisburr avatar chrisburr commented on June 11, 2024

I think this is actually an issue with root_numpy. Does python -c "import root_numpy" give the same error?

Assuming this is the case:

  1. How did you install ROOT and root_numpy/root_pandas?
  2. What is the output of which python (replace python if you use a different command)?
  3. If you're using pip, try reinstalling with the --no-binary option to force root_numpy to be compiled. You can do this using something like:
python -m pip uninstall root_numpy root_pandas
python -m pip install --user --no-binary root_numpy root_pandas

from root_pandas.

ftoralesacosta avatar ftoralesacosta commented on June 11, 2024

Thanks for the feedback, you're right, its something related to my root_numpy install.

I installed ROOT with macports and installed root_numpy with pip.

Which python results in 2.7:

opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python

After uninstalling both, and attempting to install root_numpy with --no-binary, I run into:

fatal error: 'VecCore/VecCore' /root/Math/Types.h:22:10: fatal error: 'VecCore/VecCore' file not found
#include <VecCore/VecCore>

This is obviously unrelated to root_pandas, however. Thanks very much for the help

from root_pandas.

chrisburr avatar chrisburr commented on June 11, 2024

I haven't used macports and I tend not to use root on macOS but perhaps running this_root.sh first will help:

source $(dirname $(which root))/this_root.sh
python -m pip uninstall root_numpy root_pandas
python -m pip install --user --no-binary root_numpy root_pandas

(I'm closing as this but if you find a solution please report back incase anyone finds this issue in the future.)

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.