在Windows上的virtualenv中安装python-ldap [英] Installing python-ldap in a virtualenv on Windows

查看:1057
本文介绍了在Windows上的virtualenv中安装python-ldap的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用一个正在使用ldap身份验证模块的Django项目。这是在我们的服务器上工作,但是我遇到了在我的Windows开发机器上运行的问题。



我的环境正在使用virtualevn,当尝试安装pip python-ldap我收到以下消息:

 错误:无法找到vcvarsall.bat 
/ pre>

有谁知道会发生什么问题?

解决方案

不幸的是,许多Python模块在Windows上安装有问题。您收到的错误是我无法修复的错误,即使在网络上提供了大量信息。为预编译版本尝试此链接: http:// www .lfd.uci.edu /〜gohlke / pythonlibs /#python-ldap


I'm working on a Django project that is using an ldap authentication module. This is working on our server but I am running into issues getting this running on my windows dev machine.

My environment is using virtualevn and when trying to install pip python-ldap I receive the following message:

error: Unable to find vcvarsall.bat

Does anyone have any idea what could be going wrong?

解决方案

Unfortunately, many Python modules have trouble installing on Windows. The error you're receiving is one that I was never able to get fixed, even given the vast amount of information available on the web. Give this link a try for a pre-compiled version: http://www.lfd.uci.edu/~gohlke/pythonlibs/#python-ldap

这篇关于在Windows上的virtualenv中安装python-ldap的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆