LINK : fatal error LNK1181: cannot open input file 'mariadbclient.lib'

未关闭
#259 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
20/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
mysql, python

调研方向

从 setup.py 开始,在 Windows 上重现 python setup.py buildpython 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

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

clips/pattern 的其他 Issue

查看 clips/pattern 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。