Luos-Air:~ luoxiaoran$ python --version
Python 2.7.10
Luos-Air:~ luoxiaoran$ python3 --version
Python 3.8.3
Luos-Air:~ luoxiaoran$
Modeler 其實就是 python 裡的一模塊。讓事情複雜的是:一般的機子上還會有 python 和 python3 這兩個,有時這破模塊會被裝到另一個 python 下,我看你用的是 python3 版,找不到。試試 python (2.7 版)下面有沒有。(註明:我現在不是 modeler 開發者了,12 年前是)On Thu, May 28, 2020 at 18:04 Xiao Ran Luo via modeller_usage <modeller_usage@salilab.org> wrote:Hello,_______________________________________________I just downloaded version 9.24 of Modeller onto by macOS version 10.14.1 using Homebrew, but when I try to run the first few lines of the basic tutorial, I get a lot of "command not found":Luos-Air:~ luoxiaoran$ >P1;TvLDH
-bash: TvLDH: command not found
Luos-Air:~ luoxiaoran$ sequence:TvLDH:::::::0.00: 0.00
-bash: sequence:TvLDH:::::::0.00:: command not found
Luos-Air:~ luoxiaoran$ MSEAAHVLITGAAGQIGYILSHWIASGELYGDRQVYLHLLDIPPAMNRLTALTMELEDCAFPHLAGFVATTDPKA
-bash: MSEAAHVLITGAAGQIGYILSHWIASGELYGDRQVYLHLLDIPPAMNRLTALTMELEDCAFPHLAGFVATTDPKA: command not found
Luos-Air:~ luoxiaoran$ AFKDIDCAFLVASMPLKPGQVRADLISSNSVIFKNTGEYLSKWAKPSVKVLVIGNPDNTNCEIAMLHAKNLKPEN
-bash: AFKDIDCAFLVASMPLKPGQVRADLISSNSVIFKNTGEYLSKWAKPSVKVLVIGNPDNTNCEIAMLHAKNLKPEN: command not found
Luos-Air:~ luoxiaoran$ FSSLSMLDQNRAYYEVASKLGVDVKDVHDIIVWGNHGESMVADLTQATFTKEGKTQKVVDVLDHDYVFDTFFKKI
-bash: FSSLSMLDQNRAYYEVASKLGVDVKDVHDIIVWGNHGESMVADLTQATFTKEGKTQKVVDVLDHDYVFDTFFKKI: command not found
Luos-Air:~ luoxiaoran$ GHRAWDILEHRGFTSAASPTKAAIQHMKAWLFGTAPGEVLSMGIPVPEGNPYGIKPGVVFSFPCNVDKEGKIHVV
-bash: GHRAWDILEHRGFTSAASPTKAAIQHMKAWLFGTAPGEVLSMGIPVPEGNPYGIKPGVVFSFPCNVDKEGKIHVV: command not found
Luos-Air:~ luoxiaoran$ EGFKVNDWLREKLDFTEKDLFHEKEIALNHLAQGG*
-bash: EGFKVNDWLREKLDFTEKDLFHEKEIALNHLAQGG*: command not found
Luos-Air:~ luoxiaoran$
Then when I try to do this (I am not sure what it is supposed to do, but have been guaranteed that it works) I get:
Luos-Air:~ luoxiaoran$ cd /users/luoxiaoran/Documents/modAb101
Luos-Air:modAb101 luoxiaoran$ python3 modelAb101.py
Traceback (most recent call last):
File "modelAb101.py", line 2, in <module>
from modeller import * # Load standard Modeller classes
ModuleNotFoundError: No module named 'modeller'
Luos-Air:modAb101 luoxiaoran$
I have tried troubleshooting it by downloading it via the Mac Installer instead, but that just seemed to interfere with everything so I uninstalled both versions of Modeller using brew uninstall modeller and sudo rm -rf /Library/modeller-9.24/ /usr/local/bin/mod9.24 /Library/Python/2.?/site-packages/modeller.pth /var/db/receipts/org.salilab.modeller.*, and reinstalled it using only brew install modeller. During uninstalling, I also uninstalled and reinstalled Homebrew, and manually deleted all the folders that Terminal informed me could not be deleted automatically (including the Python framework, which I later found out should never be deleted, so I reinstalled python and python@3.8 using both Homebrew and the official Python website's Mac Installer for Python 3.8.3) before the reinstallation of Homebrew and modeller. I also entered the modeller license key by modifying the config.py document, just as the program told me to.
Do you know what's wrong, how to find out what's wrong, and/or how to solve it? Thank you so much!
Best,
Luna
modeller_usage mailing list
modeller_usage@salilab.org
https://salilab.org/mailman/listinfo/modeller_usage