Unable to install sasl-0.1.3 python package on windows machine

前端 未结 3 1188
感情败类
感情败类 2020-12-05 11:19

I am trying to install sasl-0.1.3 python package on windows 7 (64 bit machine). It is fialing wiht C1083 fatal error.

Looks like saslwrapper.cpp is unable to include

3条回答
  •  盖世英雄少女心
    2020-12-05 12:14

    My 5 cents for those who use pipenv and want the package be installed on both Linux and Windows, the following worked for me (sasl 0.2.1):

    [packages]
    ...
    sasl = {version = "==0.2.1", markers = "platform_system == 'Linux'"}
    sasl_win = {version = "==0.2.1", markers = "platform_system == 'Windows'", file = "https://download.lfd.uci.edu/pythonlibs/g5apjq5m/sasl-0.2.1-cp37-cp37m-win_amd64.whl"}
    ...
    

    See the comment on the corresponding Github issue.

提交回复
热议问题