網站首頁 編程語言 正文
安裝:
pip install python-ldap==3.4.0
安裝報錯:
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
Collecting python-ldap==3.4.0
Downloading python-ldap-3.4.0.tar.gz (376 kB)
|████████████████████████████████| 376 kB 17 kB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Requirement already satisfied: pyasn1-modules>=0.1.5 in /usr/lib/python3/dist-packages (from python-ldap==3.4.0) (0.2.1)
Requirement already satisfied: pyasn1>=0.3.7 in /usr/lib/python3/dist-packages (from python-ldap==3.4.0) (0.4.2)
Building wheels for collected packages: python-ldap
Building wheel for python-ldap (PEP 517) ... error
ERROR: Failed building wheel for python-ldap
解決方法:
sudo apt-get install libsasl2-dev python-dev libldap2-dev libssl-dev
pip install python-ldap==3.4.0
原文鏈接:https://blog.csdn.net/weixin_38708145/article/details/131488160
- 上一篇:沒有了
- 下一篇:沒有了
相關推薦
- 2022-06-10 C語言?模擬實現memcpy與memmove函數詳解_C 語言
- 2022-06-01 C語言詳細分析常見字符串函數與模擬實現_C 語言
- 2023-11-12 python enumerate函數用法
- 2022-09-02 Python中的Numpy?面向數組編程常見操作_python
- 2022-12-27 golang中日期操作之日期格式化及日期轉換_Golang
- 2022-09-21 三個Python自動化辦公好用到爆的模塊分享_python
- 2022-03-15 ...has been blocked by CORS policy: Response to pr
- 2021-12-02 Android?Gson基本用法學習_Android
- 欄目分類
-
- 最近更新
-
- window11 系統安裝 yarn
- 超詳細win安裝深度學習環境2025年最新版(
- Linux 中運行的top命令 怎么退出?
- MySQL 中decimal 的用法? 存儲小
- get 、set 、toString 方法的使
- @Resource和 @Autowired注解
- Java基礎操作-- 運算符,流程控制 Flo
- 1. Int 和Integer 的區別,Jav
- spring @retryable不生效的一種
- Spring Security之認證信息的處理
- Spring Security之認證過濾器
- Spring Security概述快速入門
- Spring Security之配置體系
- 【SpringBoot】SpringCache
- Spring Security之基于方法配置權
- redisson分布式鎖中waittime的設
- maven:解決release錯誤:Artif
- restTemplate使用總結
- Spring Security之安全異常處理
- MybatisPlus優雅實現加密?
- Spring ioc容器與Bean的生命周期。
- 【探索SpringCloud】服務發現-Nac
- Spring Security之基于HttpR
- Redis 底層數據結構-簡單動態字符串(SD
- arthas操作spring被代理目標對象命令
- Spring中的單例模式應用詳解
- 聊聊消息隊列,發送消息的4種方式
- bootspring第三方資源配置管理
- GIT同步修改后的遠程分支