jumpserver 安装python 报错

环境centos7.5

pip3 insatll ./python-gssapi-0.6.4.tar.gz  报错

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-d7ng3hb6-build/
You are using pip version 9.0.1, however version 18.1 is available.
You should consider upgrading via the ‘pip install --upgrade pip‘ command.

解决办法:

python -m pip install --upgrade --force pip

pip install setuptools==33.1.1

在执行 就成功了

原文地址:https://www.cnblogs.com/ylj-linux/p/10159310.html

时间: 2024-10-30 07:05:06

jumpserver 安装python 报错的相关文章

win7安装python报错

新装win7后安装python出现one or more issues caused the setup to fail . Please fix the issues and then retry setup.For more information see the log file 本次解决方法: 进入网址https://www.microsoft.com/zh-CN/download/details.aspx?id=5842 下载windows6.1-KB976932-X64.exe安装后

Python virtualenv安装库报错SSL: CERTIFICATE_VERIFY_FAILED

Python virtualenv安装库报错SSL: CERTIFICATE_VERIFY_FAILED 问题描写叙述 使用pip依照virtualenv报错,例如以下: pip install virtualenv Collecting virtualenv /opt/python27/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:315: SNIMissingWarning: An

python安装locustio报错error: invalid command 'bdist_wheel'的解决方法

locust--scalable user load testing tool writen in Python(是用python写的.规模化.可扩展的测试性能的工具) 安装locustio需要的环境条件是:Python2.6+,但是不支持Python3. 今天在cmd里运行pip install locustio,报错提示:error: invalid command 'bdist_wheel'. 原因:pip和setuptools的版本较低. 解决方案:升级pip和setuptools. 一

Python djangorestframework安装库报错SSL: CERTIFICATE_VERIFY_FAILED

Python djangorestframework 安装库报错SSL: CERTIFICATE_VERIFY_FAILED 问题描述 使用pip按照virtualenv报错,如下: pip install djangorestframework Collecting djangorestframework Could not fetch URL https://pypi.python.org/simple/djangorestframework/: There was a problem co

linux使用python安装paramiko时安装pycrypto报错

在python2.7版本上安装pycrypto报错,如下 [[email protected] /var/tmp/paramiko/pycrypto-2.6]# python setup.py build && python setup.py install running build running build_py running build_ext running build_configure warning: GMP or MPIR library not found; Not

python pip安装 mysqlclient 报错 raise EnvironmentError("%s not found" % (_mysql_config_path,)) OSError: mysql_config not found

raise EnvironmentError("%s not found" % (_mysql_config_path,)) OSError: mysql_config not found 解决办法 yum install mysql-devel python pip安装 mysqlclient 报错 raise EnvironmentError("%s not found" % (_mysql_config_path,)) OSError: mysql_confi

解压版本Python,手动安装pip报错,pip得到报错" No module named 'pip' "

解压版本Python,手动安装pip报错 λ pip Traceback (most recent call last): File "runpy.py", line 193, in _run_module_as_main File "runpy.py", line 86, in _run_code File "D:\tools\python-3.8.1-embed-amd64\Scripts\pip.exe\__main__.py", line

python 安装 SQLAlchemy 报错

安装 SQLAlchemy 报错 安装命令 pip install -i https://pypi.doubanio.com/simple SQLAlchemy 报错截图 编码错误,这里我们需要改下源码 解决方案 重新安装,安装成功 参数文章:https://www.cnblogs.com/lliuye/p/7640645.html 原文地址:https://www.cnblogs.com/zhuchunyu/p/11960658.html

安装MySQL-python报错error: command 'gcc' failed with exit status 1

[[email protected] MySQL-python-1.2.3]# python setup.py install function) .... _mysql.c:133: error: 'ER_SYNTAX_ERROR' undeclared (first use in this function) _mysql.c:380: error: '_mysql_ConnectionObject' has no member named 'connection' _mysql.c:382