On 3/24/16 5:30 PM, Isabelle Phan wrote: > I’ve rebuilt IMP from the git repo > https://github.com/salilab/imp.githttp://github.com/salilab/imp.git > after upgrading my Mac to El Capitan and now IMP throws an AttributeError: > > $ ./setup_environment.sh python ../imp_tutorial/rnapolii/modeling/modeling.py > Traceback (most recent call last): > File "../imp_tutorial/rnapolii/modeling/modeling.py", line 78, in <module> > m = IMP.Model() > File "/opt/imp_latest/imp-fast/lib/IMP/__init__.py", line 4935, in __init__ > self.this.append(this) > AttributeError: 'Model' object has no attribute ‘this'
If you're using SWIG 3.0.8, then you're liking hitting this SWIG bug: https://github.com/swig/swig/issues/583
The simplest solution would be to use SWIG 3.0.7 instead.
Ben