pip install customized include path

前端 未结 3 762
梦如初夏
梦如初夏 2021-02-07 06:50

I\'m trying to install a library pyleargist. It requires another lib libfftw3 to be manually installed which I\'ve installed. Since I don\'t have the r

3条回答
  •  青春惊慌失措
    2021-02-07 07:19

    pip has a --global-option flag

    You can use it to pass additional flags to build_ext.

    For instance, to add a -I flag:

    pip install --global-option=build_ext --global-option="-I/home/users/abc/include/" pyOpenSSL
    

提交回复
热议问题