Is it possible to add PyQt4/PySide packages on a Virtualenv sandbox?

后端 未结 13 1892
失恋的感觉
失恋的感觉 2020-11-28 20:16

I\'m using Virtualenv with profit on my development environment with web.py, simplejson and other web oriented packages.
I\'m going to develop

相关标签:
13条回答
  • 2020-11-28 20:43

    Symbolic links may work.

    I use Linux (Debian/sid), python 3.4, PySide, virtualenv, and PyCharm (IDE), but these same instructions will work for any package and development environment.

    Symbolic links between /usr/lib/python3/dist-packages/PySide/ $VIRTUAL_ENV/lib/python3.4/site-packages/PySide/ work for me.

    cd $VIRTUAL_ENV/lib/python3.4/site-packages/
    mkdir PySide
    cd PySide`
    for x in /usr/lib/python3/dist-packages/PySide/* ; do ln -s $x ; done
    

    Interestingly, if I symbolic link only the PySide directory, it does not work. I need to symlink each file within the directory. That may be a limitation of PyCharm (my IDE) -- I don't know.

    0 讨论(0)
提交回复
热议问题