python - 可以在 Heroku 上安装 PySide 或 PyQt 吗?

标签 python heroku pyqt pyside ghost.py

我无法安装 PySide,也不知道如何在 Heroku 上安装 PyQt。

我需要 PySide 才能使用 Ghost.py。

这是我在requirements.txt中包含的内容:

Ghost.py==0.1b3    
PySide==1.2.2

这是推送到 Heroku 时的错误:

Python architecture is 64bit

       error: Failed to find cmake. Please specify the path to cmake with --cmake parameter.

       ----------------------------------------
       Cleaning up...
       Command /app/.heroku/python/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_u30455/PySide/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-LqhYm6-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_u30455/PySide
       Storing debug log for failure in /app/.pip/pip.log

 !     Push rejected, failed to compile Python app

感谢您提前提供的帮助!

最佳答案

无法在 Heroku 上安装 PySide 或 PyQt。

我的解决方法是将 PhantomJS ( http://phantomjs.org/ ) 与 BeautifulSoup 一起使用。

关于python - 可以在 Heroku 上安装 PySide 或 PyQt 吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25493161/

相关文章:

java - 像 Python 字典一样循环 Java HashMap?

python - 无法在 Python 3 中的 ElementTree.Element 实例上设置属性

php - 如何连接到 heroku postgres 数据库?

javascript - Heroku 上的 Socket.io

python - 如何将参数传递给 PyQt 中的回调函数

Python请求登录麦当劳

python - 添加 [别名] 失败,错误为 : invalid command 'xyz'

python - React 和 Django 网站无法在 Heroku 上加载

python - 在 QDialog reject() 上优雅地终止 QThread

python - 在支持 POSTing 的情况下呈现不带 Selenium 的 JSON/Javascript 后从网页中抓取 HTML