在Windows中安装sasl

时间:2016-10-24 06:31:29

标签: python windows sasl

我在Windows 64bit系统上使用Python 3.4.2。当我尝试使用pip安装sasl时,我收到错误def total_commission commission = self.product&.consignor&.COMMISSION if self.PRICE && commission (self.PRICE * commission) else nil end end

error: INCLUDE environment variable is empty

修改

安装C:\Windows\system32>pip install sasl Collecting sasl Using cached sasl-0.2.1.tar.gz Requirement already satisfied (use --upgrade to upgrade): six in c:\python34\lib \site-packages (from sasl) Installing collected packages: sasl Running setup.py install for sasl ... error Complete output from command C:\Python34\python.exe -u -c "import setuptools , tokenize;__file__='C:\\Users\\username\\AppData\\Local\\Temp\\pip-build-f0i1e62f \\sasl\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read(). replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\username\\AppD ata\Local\Temp\pip-_x6vls5i-record\install-record.txt --single-version-externall y-managed --compile: running install running build running build_py creating build creating build\lib.win-amd64-3.4 creating build\lib.win-amd64-3.4\sasl copying sasl\__init__.py -> build\lib.win-amd64-3.4\sasl running egg_info writing top-level names to sasl.egg-info\top_level.txt writing dependency_links to sasl.egg-info\dependency_links.txt writing requirements to sasl.egg-info\requires.txt writing sasl.egg-info\PKG-INFO warning: manifest_maker: standard file '-c' not found reading manifest file 'sasl.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'sasl.egg-info\SOURCES.txt' copying sasl\saslwrapper.cpp -> build\lib.win-amd64-3.4\sasl copying sasl\saslwrapper.h -> build\lib.win-amd64-3.4\sasl copying sasl\saslwrapper.pyx -> build\lib.win-amd64-3.4\sasl running build_ext building 'sasl.saslwrapper' extension error: INCLUDE environment variable is empty Microsoft Windows SDK for Windows 7 and .NET Framework 4后,它解决了上述问题。

现在我收到错误Microsoft Visual C++ 2010 Redistributable

Cannot open include file: 'sasl/sasl.h'

有人知道如何解决这个问题吗?

0 个答案:

没有答案