如何解决没有名为ROOT的模块的问题?

2024-07-03 06:20:40 发布

您现在位置:Python中文网/ 问答频道 /正文

我无法在python中导入ROOT。我在使用MacOS,我该怎么做

from ROOT import *
import numpy as np
from array import array
import ROOT
import math

gROOT.SetBatch(True)

Tags: fromimportnumpytrueasnpmacosmath