python - 须藤: unable to execute/usr/bin/easy_install: No such file or directory

标签 python plugins pip easy-install

我正在制作我的第一个 RPG 游戏,我想检查在完成游戏编程之前是否可以将我在 Tiled 中创建的 .tmx map 加载到 Python 中。

我使用的是 Python 3,并且使用的是 Mac。 我听说我应该先安装插件pytmx。我尝试了一切! pip 安装 pytmx?没用。 sudo easy_install pytmx?没用!我得到的只是

sudo: unable to execute /usr/bin/easy_install: No such file or directory

有人告诉我,我必须首先找到我的 python 启动器的路径目录。我如何找到它?如果我这样做,我该如何使用它来安装pytmx

最佳答案

首先确保you have read the official Python package installation guide .

Then enable pip on your system with get-pip.py command .

Create virtualenv for your project安装的软件包将放置的位置。安装 Python 包时切勿使用 sudo。

关于python - 须藤: unable to execute/usr/bin/easy_install: No such file or directory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32666483/

相关文章:

jquery - CKEditor BBCode 插件中的自定义标签

python - "error: option --single-version-externally-managed not recognized"表示什么?

Python:从 'list' 的 {(tuples): value} 字典写入 csv 文件

python - 如何查找输入中的列表数? (Python)

ios - 'NSInvalidArgumentException',原因 : '*** -[NSURL initFileURLWithPath:]: nil string parameter'

python - 如何创建requirements.txt?

python - pip 如何删除带有前导破折号 : "-pkgname" 的错误安装包

python - 如何使用python将本地文件推送到github? (或通过 Python 发布提交)

python - 从字符串中获取不在另一个列表中的单词列表

ios - 如何从统一的IOS插件中编写的方法中获取值?