从Python到TCL:无法运行`elmer`命令OSX

2024-04-26 14:39:04 发布

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

我希望移植Python模块并在TCL中运行它们,为此我需要安装这个名为elmerwebsite的工具

根据自述:

Run the setup.py script in the "src" directory, giving it the "build" command:

cd src python setup.py build

一旦构建,一个名为“build”的子目录将在“src”中创建。至 删除构建,只需删除构建目录及其所有 内容。你知道吗

要安装elmer,请运行设置.py使用“install”命令:

python setup.py install

这将把elmer安装到默认位置,即Python Python库中的“site packages”目录, 以及elmer脚本的“Scripts”目录。你知道吗

我做了python setup.py install --user,当我键入elmer时,它不会运行该工具。你知道吗

我的$PATH是:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin


Tags: 模块install工具thepybuildsrc目录