我无法安装 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/