LINK : fatal error LNK1181: cannot open input file 'mariadbclient.lib'
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 20/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- mysql, python
调研方向
从 setup.py 开始,在 Windows 上重现 python setup.py build 和 python setup.py install 之间的差异。检查 mariadbclient.lib 附近的链接器配置;当安装命令成功完成,或所需的库设置已得到清晰记录时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
when I use this command :python setup.py build is ok.
but when I use command:python setup.py install is error.
Error Messages:
Processing mysqlclient-1.4.2.post1.tar.gz
Writing c:\users\appdata\local\temp\easy_install-eycove\mysqlclient-1.4.2.post1\setup.cfg
Running mysqlclient-1.4.2.post1\setup.py -q bdist_egg --dist-dir c:\users\appdata\local\temp\easy_install-eycove\mysqlclient-1.4.2.post1\egg-dist-tmp-ziwvkr
e:\python\Lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
_mysql.c
MySQLdb/_mysql.c(304) : warning C4244: 'initializing' : conversion from 'Py_ssize_t' to 'int', possible loss of data
MySQLdb/_mysql.c(951) : warning C4244: 'function' : conversion from 'Py_ssize_t' to 'unsigned long', possible loss of data
MySQLdb/_mysql.c(956) : warning C4244: 'function' : conversion from 'Py_ssize_t' to 'unsigned long', possible loss of data
MySQLdb/_mysql.c(1126) : warning C4090: 'function' : different 'const' qualifiers
MySQLdb/_mysql.c(1215) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
MySQLdb/_mysql.c(1217) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
MySQLdb/_mysql.c(1253) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
MySQLdb/_mysql.c(1255) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
MySQLdb/_mysql.c(1671) : warning C4244: 'function' : conversion from 'SOCKET' to 'long', possible loss of data
LINK : fatal error LNK1181: cannot open input file 'mariadbclient.lib'
error: Setup script exited with error: command 'C:\\Users\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\link.exe' failed with exit status 1181
how to solve it ? I search "mariadbclient.lib" in google , can't find this lib.
- 主要语言
- Python
- 星标
- 8.9k
- 派生
- 1.6k
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 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
-
triage/confirmed
难度 2/5 1-3 小时 新手友好度 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
难度 1/5 1 小时以内 新手友好度 92/100
NousResearch/hermes-agent#118866 ·
-
bug
难度 1/5 1 小时以内 新手友好度 90/100
apache/cloudstack#14222 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
-
bug
难度 2/5 1-3 小时 新手友好度 82/100