LTO版本问题
Tofloor
poster avatar
pydjangoshaw
deepin
2018-03-13 01:32
Author
任何版本的python3,输入sudo pip install uswgi就会安装失败。
我在错误代码中找到一句:
bytecode stream generated with LTO version 6.0 instead of the expected 5.2。
而且LTO是个啥玩意我根本就不知道,去搜也搜不到,apt-get也查不到这个包。
Reply Favorite View the author
All Replies
avatar
nevershow
deepin
2018-03-13 02:50
#1
试试这个 https://uwsgi-docs.readthedocs.io/en/latest/WSGIquickstart.html#installing-uwsgi-with-python-support

要先安装python3-dev
Reply View the author
avatar
pydjangoshaw
deepin
2018-03-13 21:04
#2
解决了,原来GCC版本过高也不行
Reply View the author