繁体   English   中英

Cassandra驱动程序安装错误

[英]Cassandra driver error in installing

在为Python安装Cassandra驱动程序时出现以下错误。

Command "c:\python33\python.exe -u -c "import setuptools, tokenize;__file__='c:\
\users\\vmasama\\appdata\\local\\temp\\pip-build-we10p7\\cassandra-driver\\setup
.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n
', '\n'), __file__, 'exec'))" install --record c:\users\vmasama\appdata\local\te
mp\pip-olh8j5-record\install-record.txt --single-version-externally-managed --co
mpile" failed with error code 1 in c:\users\vmasama\appdata\local\temp\pip-build
-we10p7\cassandra-driver\

有人对此有任何想法吗? 我想念什么?

当我运行pip install cassandra-driver时,也出现以下错误

Cassandra驱动程序的失败建筑轮子
cassandra驱动程序的清理构建目录失败

python版本:3.3

我在缺少编译器路径的环境中进行了尝试,并观察到了类似的情况。 我认为找不到所需的东西是setuptools错误处理中的问题。 我找到的最简单的方法是使用随Visual Studio一起安装的VS Command Prompt快捷方式:

也许最简单的方法是从Visual Studio命令提示符(随Visual Studio安装的快捷方式来运行构建/安装,该快捷方式会提供适当的环境并提供一个shell)。

http://datastax.github.io/python-driver/installation.html#windows-installation-notes

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM