weixin_39789979
2021-01-07 04:43Unable to install pypiwin32 on python 2.7
When trying to install the package using pip, getting below error: C:\Users\abc\Downloads>pip install pypiwin32-219.zip Unpacking c:\users\abc\downloads\pypiwin32-219.zip Running setup.py (path:c:\users\abc\appdata\local\temp\pip-v9iuar-build\s etup.py) egg_info for package from file:///C:/Users/abc/Downloads/pypiwin32 -219.zip Building pywin32 2.7.219.0 Traceback (most recent call last): File "", line 17, in File "c:\users\abc\appdata\local\temp\pip-v9iuar-build\setup.py", lin e 1930, in """ % dirs).split(), File "c:\users\abc\appdata\local\temp\pip-v9iuar-build\setup.py", lin e 588, in init if os.path.isfile(os.path.join(sdk_dir, "include", "activdbg.h")): File "C:\Python27\lib\ntpath.py", line 96, in join assert len(path) > 0 TypeError: object of type 'NoneType' has no len() Complete output from command python setup.py egg_info: Building pywin32 2.7.219.0
Traceback (most recent call last):
File "", line 17, in
File "c:\users\abc\appdata\local\temp\pip-v9iuar-build\setup.py", line 19 30, in
""" % dirs).split(),
File "c:\users\abc\appdata\local\temp\pip-v9iuar-build\setup.py", line 58 8, in init
if os.path.isfile(os.path.join(sdk_dir, "include", "activdbg.h")):
File "C:\Python27\lib\ntpath.py", line 96, in join
assert len(path) > 0
TypeError: object of type 'NoneType' has no len()
Cleaning up... Command python setup.py egg_info failed with error code 1 in c:\users\abc\a ppdata\local\temp\pip-v9iuar-build Storing debug log for failure in C:\Users\abc\pip\pip.log
Reported by: navalkgupta
Original Ticket: pywin32/bugs/699
该提问来源于开源项目:mhammond/pywin32
- 点赞
- 回答
- 收藏
- 复制链接分享
4条回答
为你推荐
- 安卓开发 java.lang.RuntimeException: Unable to start activity ComponentInfo{(xxx)}: java.lang.NullPointerException
- android
- 1个回答
- SSL错误:UNABLE_TO_VERIFY_LEAF_SIGNATURE
- laravel
- postman
- php
- ssl
- 1个回答
- 安卓运行报错android.content.ActivityNotFoundException: Unable to find explicit activity class
- android-studio
- android
- xml
- 3个回答
- python中easy_install无法使用
- python
- 1个回答
- Strus2 Unable to load configuration.
- struts
- 2个回答