可以在Heroku上安装PySide或PyQt吗? [英] Possible to install PySide or PyQt on Heroku?
本文介绍了可以在Heroku上安装PySide或PyQt吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我无法安装PySide,也无法知道如何在Heroku上安装PyQt。
I am not able to install PySide and cannot figure out how to install PyQt on Heroku.
我需要PySide才能使用Ghost.py。
I need PySide in order to use Ghost.py.
这是我在我的requirements.txt中包含的内容:
Here is what I include in my requirements.txt:
Ghost.py==0.1b3
PySide==1.2.2
这里是推到Heroku:
And here is the error when pushing to 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。
It is not possible to install PySide or PyQt on Heroku.
我的解决方法是与BeautifulSoup一起使用PhantomJS( http://phantomjs.org/ )。
My workaround was to use PhantomJS (http://phantomjs.org/) with BeautifulSoup.
这篇关于可以在Heroku上安装PySide或PyQt吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文