How to obtain arguments passed to setup.py from pip with '--install-option'?

前端 未结 5 1097
花落未央
花落未央 2020-12-03 04:57

I am using pip 1.4.1, attempting to install a package from a local path, for example:

pip install /path/to/my/local/package

This does what

5条回答
  •  南方客
    南方客 (楼主)
    2020-12-03 05:25

    I was having this problem installing pyside.

    I needed to specify the --qmake option.

    This is the form you need:

    pip install --install-option="--qmake=/usr/lib64/qt4/bin/qmake" PySide
    

提交回复
热议问题