tubiana / TTClust

clusterize molecular dynamic trajectories (amber, gromacs, charmm, namd, pdb...)
Other
106 stars 36 forks source link

Correct installation, but it does not start #12

Closed jmroldan1975 closed 5 years ago

jmroldan1975 commented 5 years ago

Hi,

I have correctly installed TTClust under Mac OSX, but when I try to use the program I get the following error message:

Traceback (most recent call last):
  File "/Users/admin/anaconda2/bin/ttclust", line 7, in <module>
    from ttclust.ttclust import main
  File "/Users/admin/anaconda2/lib/python2.7/site-packages/ttclust/ttclust.py", line 22, in <module>
    sys.executable = shutil.which("pythonw")
AttributeError: 'module' object has no attribute 'which'

Can you help me? Thanks.

tubiana commented 5 years ago

Sorry for taking so long to answer... I don't own a Mac so it is not always easy to fix issues on it. But now it should work! whichwas added in shutil after Python 3.3 so it was not compatible with Python 2. I add a custom which function to fix this. I close this issues, don't hesitate to re-open if it's still bugged.

Kind regards, Thibault.