macOS中的pip install malmo

2024-09-26 17:40:37 发布

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

当我试图使用“pip install malmo”或“pip3 install malmo”安装malmo时,但是它的触发器

“找不到满足要求的版本malmo(来自版本:) 找不到malmo的匹配分发” 错误。在

顺便说一下,pypi中存在“malmo”包。 https://pypi.org/project/malmo/

我怎么能在我的Mac上安装malmo???和 有什么问题??在


详细信息:

操作系统:macOS Siera

python:3.5.5、3.6.5、3.7.0(使用自制程序)


Tags: installpiphttpsorg版本projectpypimac
1条回答
网友
1楼 · 发布于 2024-09-26 17:40:37

macos的https://pypi.org/project/malmo/#files下的文件名是:malmo-0.36.0.0-cp37-cp37m-macosx_10_13_x86_64.whl

cp37建议您需要python3.7

10_13建议您需要MacOSX 10.13.3(High Sierra)或更高版本。从你的帖子上看,好像是10点12分

另请参见:https://github.com/Microsoft/malmo/blob/master/doc/install_macosx.md,其中规定:

Installing dependencies for MacOSX

Install Homebrew: http://www.howtogeek.com/211541/homebrew-for-os-x-easily-installs-desktop-apps-and-terminal-utilities/

Install dependencies:
    brew install python3
    brew install ffmpeg boost-python3
    brew cask install java8

If you are installing from source (and not using "pip3 install malmo"), unzip the Malmo zip to some location (e.g. your home folder as assumed in the next step).

Add export MALMO_XSD_PATH=~/MalmoPlatform/Schemas (or your Schemas location) to your ~/.bashrc and do source ~/.bashrc

When you update Malmo you will need to update the MALMO_XSD_PATH too.

Notes:

These instructions were tested on MacOSX 10.13.3 (High Sierra).

如果您从源代码构建,安装可能会更幸运。在

相关问题 更多 >

    热门问题