【问题标题】:"pip install malmo" in macOS does not workmacOS 中的“pip install malmo”不起作用
【发布时间】:2018-07-31 01:11:31
【问题描述】:

当我尝试使用“pip install malmo”或“pip3 install malmo”安装malmo时,它触发了

" 找不到满足马尔莫要求的版本(来自版本:) 没有找到适合马尔默的匹配分布" 错误。

顺便说一句,'malmo' 包存在于 pypi 中。 https://pypi.org/project/malmo/

如何在我的 Mac 上安装 malmo ???和 有什么问题??


详情:

操作系统:macOS Siera

python:3.5.5、3.6.5、3.7.0(使用自制软件)

【问题讨论】:

  • 我刚刚运行了“pip install malmo”,它安装成功了。

标签: python python-3.x macos malmo


【解决方案1】:

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

cp37建议你需要python 3.7

10_13 建议您需要 MacOSX 10.13.3 (High Sierra) 或更高版本。从你的帖子来看,它看起来像你在 10.12

另请参阅:https://github.com/Microsoft/malmo/blob/master/doc/install_macosx.md 其中声明:

为 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.

注意事项:

这些说明在 MacOSX 10.13.3 (High Sierra) 上进行了测试。

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

【讨论】:

    猜你喜欢
    • 2017-01-31
    • 2013-10-25
    • 2019-11-25
    • 2017-02-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-08-13
    相关资源
    最近更新 更多