Installing wxPython in virtualenv under Linux

后端 未结 2 1086
借酒劲吻你
借酒劲吻你 2021-01-04 23:51

I am trying to set up a wxpython inside virtualenv. As detailed in many places, the easy_install / pip install dosent work as setup.py is not present.

I cam across

2条回答
  •  忘掉有多难
    2021-01-05 00:24

    On Ubuntu 12.04 the following worked for me:

    cd /lib/python-2.7/site-packages
    ln -s /usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/ .
    ln -s /usr/lib/python2.7/dist-packages/wx.pth .
    ln -s /usr/lib/python2.7/dist-packages/wxversion.py .
    ln -s /usr/lib/python2.7/dist-packages/wxversion.pyc .
    

提交回复
热议问题