Possible to install PySide or PyQt on Heroku?

孤人 提交于 2020-01-25 04:52:05

问题


I am not able to install PySide and cannot figure out how to install PyQt on Heroku.

I need PySide in order to use Ghost.py.

Here is what I include in my requirements.txt:

Ghost.py==0.1b3    
PySide==1.2.2

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

Thanks for your help ahead of time!


回答1:


It is not possible to install PySide or PyQt on Heroku.

My workaround was to use PhantomJS (http://phantomjs.org/) with BeautifulSoup.



来源:https://stackoverflow.com/questions/25493161/possible-to-install-pyside-or-pyqt-on-heroku

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!