root geant4

1.注意環境變量需要設置,每次運行前

source

可以編輯在~/.bashrc中

2.rootpy直接install

pip3 install rootpy

ROOT cannot be imported. Is ROOT installed with PyROOT enabled?

在python3中

import ROOT

https://stackoverflow.com/questions/39112321/python-3-5-importerror-dynamic-module-does-not-define-module-export-function-p

 

 

https://stackoverflow.com/questions/46262604/rootpy-installation-probleme-is-root-installed-with-pyroot-enabled

dynamic module does not define module export function

使用python2沒有問題

import ROOT

 

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章