I am new to python and I wondered if anyone could interpret what this error message means for me? I am trying to run lead 210 data using PyPlum https://github.com/maquinolopez/PyPlum/blob/PyPlum/README.md
I have downloaded all of the requirements using either conda install -c conda-forge
or sudo easy_install
and I am using miniconda. There definitely is data in the folder so I am not sure what it is telling me?
Thanks
My code is as follows:
conda activate my-py
cd pytwalk-1.5
sudo python3 setup.py install
cd /Users/sophiewilliams/PyPlum
python3
import PyPlum as Plum
BB = Plum.Plum("BB")
BB.runPlum()
That should run the model however I am getting the error:
BB = Plum.Plum("BB")>>> BB = Plum.Plum("BB")
There is no 210Pb data
There is no 14C data or calendar dates
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/sophiewilliams/PyPlum/PyPlum.py", line 85, in __init__
self.def_breaks()
File "/Users/sophiewilliams/PyPlum/PyPlum.py", line 117, in def_breaks
self.breaks = array(arange(min(self.min_data,self.min_date),max(self.max_data,self.max_date)+2*self.by,self.by))
AttributeError: 'Plum' object has no attribute 'min_data'
>>> BB = Plum.Plum("BB")
There is no 210Pb data
There is no 14C data or calendar dates
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/sophiewilliams/PyPlum/PyPlum.py", line 85, in __init__
self.def_breaks()
File "/Users/sophiewilliams/PyPlum/PyPlum.py", line 117, in def_breaks
self.breaks = array(arange(min(self.min_data,self.min_date),max(self.max_data,self.max_date)+2*self.by,self.by))
AttributeError: 'Plum' object has no attribute 'min_data'
question from:
https://stackoverflow.com/questions/65883812/error-message-in-python-3-object-has-no-attribute-min-data 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…