我正在制作我的第一个 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/