github上有提供安装方法,但是实际安装部署过程中,各种报错。。。

https://github.com/guohongze/adminset

后经过不断调试,总算安装成功。特此记录一下报错解决步骤

错误1:

ERROR: ipapython 4.6.5 has requirement python-ldap>=3.0.0b1, but you'll have python-ldap 2.4.15 which is incompatible.
ERROR: ipapython 4.6.5 has requirement python-ldap>=3.0.0b1, but you'll have python-ldap 2.4.15 which is incompatible.
ERROR: pyasn1-modules 0.2.8 has requirement pyasn1<0.5.0,>=0.4.6, but you'll have pyasn1 0.4.1 which is incompatible.
ERROR: Cannot uninstall 'python-ldap'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

AdminSet安装部署报错解决方法

通过如下方式强制重新安装python-ldap和pyasn1,问题得到解决:

pip install -I python-ldap==3.0.0b1
pip install -I pyasn1==0.4.6


错误2:
ERROR: pyasn1-modules 0.2.8 has requirement pyasn1<0.5.0,>=0.4.6, but you'll have pyasn1 0.4.1 which is incompatible.
ERROR: Cannot uninstall 'requests'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

AdminSet安装部署报错解决方法

pip install -I pyasn1==0.4.6

在requirements.txt文件中注释requests项即可。

相关文章:

  • 2021-10-21
  • 2021-11-14
  • 2022-12-23
  • 2021-05-04
  • 2021-09-01
  • 2021-07-25
  • 2021-04-18
  • 2022-02-09
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-04-03
  • 2022-01-28
  • 2021-09-26
  • 2021-06-19
  • 2021-07-10
相关资源
相似解决方案