python - Pysmell 使用 Textmate 安装错误?

标签 python textmate

我正在尝试使用 Textmate 安装 PySmell -

我在 Mac OS 上使用 TextMate,让事情变得有点复杂的是,我使用 Brew 和几个虚拟环境。就我而言,我只是尝试在默认版本的 Python 中安装 Pysmell。

我已经按照安装说明进行操作 - 并且可以通过 python shell 导入 pysmell - 所以看起来它可以工作。我还为我的项目生成了一个标签文件

但是,如果我尝试在 TextMate 中调用 alt/escape,我会在光标指向后立即生成此文本:

usage: pysmell [-h] [-v] [-x [package [package ...]]] [-o OUTPUT] [-i INPUT]
               [-t] [-d]
               package [package ...]
pysmell: error: no such option: -c

我想我的设置有问题 - 有人知道吗?

提前致谢!

最佳答案

哦!

我不小心创建了指向 pysmell 而不是 python 的 TM_PYTHON 链接。现在工作正常...

关于python - Pysmell 使用 Textmate 安装错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4651693/

相关文章:

python - 为什么 `float.is_integer` 中有下划线,但 `str.isnumeric` 中没有?

python - 使用其他数据框和系列快速替换 pandas 数据框的信息

TextMate 中的 Python - 在 IDLE 中运行脚本?

用于使 TextMate 中最后一个字符大写的正则表达式语法

macos - Vim 与 Textmate

pdf - 如何删除 Textmate 中的 <NUL> 字符

python - 谷歌 foobar python : failure on two tests - lovely lucky lambs (counting of sequences)

python - Django Rest Framework ParentRelatedField 元数据选择

Python 2.7 计算具有给定值的字典项的数量

Textmate 中的 Java 代码格式化