Error while installing through setup.py
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- mysql, python
- 领域
- build-system
调研方向
先从 setup.py 中的依赖项和安装声明入手,然后检查 mysqlclient 的构建输出以及所引用的 Windows 路径。复现所述的 python setup.py install 命令;当安装在没有报告的路径缺失错误的情况下完成,或所需的环境详细信息已记录时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
I downloaded the zip and unzipped the pattern-master folder to my system.
Then I ran the python setup.py install. After a bunch of modules were installed, it halted because of the following issue:
Searching for mysqlclient
Reading https://pypi.python.org/simple/mysqlclient/
Downloading https://files.pythonhosted.org/packages/ec/fd/83329b9d3e14f7344d1cb31f128e6dbba70c5975c9e57896815dbb1988ad/mysqlclient-1.3.13.tar.gz#sha256=ff8ee1be84215e6c30a746b728c41eb0701a46ca76e343af445b35ce6250644f
Best match: mysqlclient 1.3.13
Processing mysqlclient-1.3.13.tar.gz
Writing C:\Users\Devesh\AppData\Local\Temp\easy_install-7x75oc6a\mysqlclient-1.3.13\setup.cfg
Running mysqlclient-1.3.13\setup.py -q bdist_egg --dist-dir C:\Users\Devesh\AppData\Local\Temp\easy_install-7x75oc6a\mysqlclient-1.3.13\egg-dist-tmp-x3s7s7bo
C:\ProgramData\Miniconda3\lib\distutils\dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
error: Setup script exited with error: [WinError 3] The system cannot find the path specified: 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\PlatformSDK\\lib`
It seems that my system lacks some tools given there but then I am quite new to building Python modules and the like. What possibly could be the issue here?
- 主要语言
- Python
- 星标
- 8.9k
- 派生
- 1.6k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
clips/pattern 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 72/100
-
难度 1/5 1 小时以内 新手友好度 72/100
-
难度 1/5 1 小时以内 新手友好度 65/100
-
难度 1/5 1 小时以内 新手友好度 45/100
-
难度 4/5 3-5 天 新手友好度 30/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
PedestrianDynamics/pyFDS-Evac#343 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
theskumar/python-dotenv#708 ·
-
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 2 天内回复
-
Docs Timedelta
难度 2/5 1-3 小时 新手友好度 72/100
pandas-dev/pandas#69919 ·
维护者通常 1 天内回复
-
API documentation
难度 2/5 1-3 小时 新手友好度 72/100
zephyrproject-rtos/west#1009 · 2 条评论 ·
维护者通常 3 天内回复