Why are Python builds suddenly not Framework builds when using virtualenv?

后端 未结 5 1199
我寻月下人不归
我寻月下人不归 2020-12-29 15:15

I\'ve installed Python 2.7 as a Framework build on my Mac. I\'ve installed and confirmed that wxPython works with this Python build. But when I create a virtual environment

5条回答
  •  Happy的楠姐
    2020-12-29 15:54

    Same issue here, pythonw is not available as a Framework. There is a workaround available. We're using it like this to make pythonw available as a Framework app bundle:

    curl -O https://raw.githubusercontent.com/gldnspud/virtualenv-pythonw-osx/master/install_pythonw.py
    curl -O https://raw.githubusercontent.com/gldnspud/virtualenv-pythonw-osx/master/pythonw.c
    python install_pythonw.py `which python`/../..
    rm install_pythonw.py pythonw.c
    

提交回复
热议问题