1

I have a big problem to install rootpy. When I try this command:

sudo pip install rootpy

I have this error message:

ROOT cannot be imported. Is ROOT installed with PyROOT enabled? Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-OIZeCG/rootpy/

I already have ROOT Version 5.34/30, python 2.7 and python 3.5.

I confirm there is python in the list given by:

root-config --features
MLavoie
  • 9,671
  • 41
  • 36
  • 56
darkseall
  • 35
  • 5

1 Answers1

1

You should install libroot-bindings-python-dev package with

sudo apt-get install libroot-bindings-python-dev

before installing rootpy module.

taras
  • 6,566
  • 10
  • 39
  • 50