FileNotFoundError Traceback (most recent call last)
Cell In[5], line 54
51 gp.marginal("obs", observed=y - lc_model)
53 # Double check that everything looks good - we shouldn't see any NaNs!
---> 54 print(model.check_test_point())
56 # Optimize the model
57 map_soln = model.test_point
File /opt/anaconda3/envs/rmeffect/lib/python3.8/site-packages/pymc3/model.py:1384, in Model.check_test_point(self, test_point, round_vals)
1380 if test_point is None:
1381 test_point = self.test_point
1383 return Series(
-> 1384 {RV.name: np.round(RV.logp(test_point), round_vals) for RV in self.basic_RVs},
1385 name="Log-probability of test_point",
1386 )
File /opt/anaconda3/envs/rmeffect/lib/python3.8/site-packages/pymc3/model.py:1384, in (.0)
1380 if test_point is None:
1381 test_point = self.test_point
1383 return Series(
-> 1384 {RV.name: np.round(RV.logp(test_point), round_vals) for RV in self.basic_RVs},
1385 name="Log-probability of test_point",
1386 )
...
--> 454 for f in os.listdir(d.strip('"')):
455 if f.endswith(".so") or f.endswith(".dylib") or f.endswith(".dll"):
456 if any([f.find(ll) >= 0 for ll in l]):
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib'
Your setup (please complete the following information):
To Reproduce Running this portion of the transit fitting example code (https://gallery.exoplanet.codes/tutorials/quick-tess/)
import pymc3 as pm import aesara_theano_fallback.tensor as tt
import pymc3_ext as pmx from celerite2.theano import terms, GaussianProcess
with pm.Model() as model:
Stellar parameters
produces this error
Output exceeds the size limit. Open the full output data in a text editor
FileNotFoundError Traceback (most recent call last) Cell In[5], line 54 51 gp.marginal("obs", observed=y - lc_model) 53 # Double check that everything looks good - we shouldn't see any NaNs! ---> 54 print(model.check_test_point()) 56 # Optimize the model 57 map_soln = model.test_point
File /opt/anaconda3/envs/rmeffect/lib/python3.8/site-packages/pymc3/model.py:1384, in Model.check_test_point(self, test_point, round_vals) 1380 if test_point is None: 1381 test_point = self.test_point 1383 return Series( -> 1384 {RV.name: np.round(RV.logp(test_point), round_vals) for RV in self.basic_RVs}, 1385 name="Log-probability of test_point", 1386 )
File /opt/anaconda3/envs/rmeffect/lib/python3.8/site-packages/pymc3/model.py:1384, in(.0)
1380 if test_point is None:
1381 test_point = self.test_point
1383 return Series(
-> 1384 {RV.name: np.round(RV.logp(test_point), round_vals) for RV in self.basic_RVs},
1385 name="Log-probability of test_point",
1386 )
...
--> 454 for f in os.listdir(d.strip('"')):
455 if f.endswith(".so") or f.endswith(".dylib") or f.endswith(".dll"):
456 if any([f.find(ll) >= 0 for ll in l]):
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib'
Your setup (please complete the following information):