从终端E运行Python脚本

2024-09-28 22:10:18 发布

您现在位置:Python中文网/ 问答频道 /正文

我试图在终端上运行Python脚本(我用sublimetext2编写脚本,并使用macosx)。这绝不是我第一次这么做,但我一直在犯一个我从未见过的错误,我也不明白:

    dyld: Library not loaded: @rpath/Python
    Referenced from: /Users/ronaldoisabeast/Library/Enthought/Canopy_64bit/User/bin/python
    Reason: image not found

我只写了两个命令:

^{pr2}$

Tags: from脚本终端错误librarynotusersmacosx