Collecting tornado>=4.0 ImportError: Tornado requires an up-to-date SSL module

部署运行你感兴趣的模型镜像

docker build TensorFlow的parameter server时,出现错误Collecting tornado>=4.0 ImportError: Tornado requires an up-to-date SSL module,原因应是Python2的版本过低,所以升级Python2到2.7.13。

参见https://blog.youkuaiyun.com/furzoom/article/details/53898861

1、安装

# wget https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tar.xz
# xz -d Python-2.7.13.tar.xz 
# tar xf Python-2.7.13.tar 
# cd Python-2.7.13
# ./configure --prefix=/usr/local/python27
# make
# make install

ps,网络不好时使用断点续传:# wget -c https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tar.xz

2、把原来的python删除,建立新的python的软链接

# rm /usr/bin/python
# ln -s /usr/local/python27/bin/python /usr/bin/python
# python -V 
Python 2.7.13

3、注意yum的python版本,确保yum仍然可用:

# vim /usr/bin/yum

修改#!/usr/bin/python2

我在安装前是/usr/bin/python指向的是/usr/bin/python2.7,因此改为

#!/usr/bin/python2.7

 

Done!

您可能感兴趣的与本文相关的镜像

TensorFlow-v2.15

TensorFlow-v2.15

TensorFlow

TensorFlow 是由Google Brain 团队开发的开源机器学习框架,广泛应用于深度学习研究和生产环境。 它提供了一个灵活的平台,用于构建和训练各种机器学习模型

(venv) macx@macminixdeMac-mini ai_team % pip install crewai crewai-tools langchain_openai python-dotenv playwright Collecting crewai Downloading crewai-0.5.0-py3-none-any.whl.metadata (10 kB) ERROR: Ignored the following versions that require a different python version: 0.0.1 Requires-Python >=3.11,<4.0; 0.0.10 Requires-Python >=3.10,<=3.13; 0.0.11 Requires-Python >=3.10,<=3.13; 0.0.12 Requires-Python >=3.10,<=3.13; 0.0.14 Requires-Python >=3.10,<=3.13; 0.0.15 Requires-Python >=3.10,<=3.13; 0.0.16 Requires-Python >=3.10,<=3.13; 0.0.2 Requires-Python >=3.10,<3.12; 0.0.3 Requires-Python >=3.10,<3.12; 0.0.5 Requires-Python >=3.10,<=3.13; 0.0.6 Requires-Python >=3.10,<=3.13; 0.0.7 Requires-Python >=3.10,<=3.13; 0.0.9 Requires-Python >=3.10,<=3.13; 0.1.0 Requires-Python >=3.10,<=3.13; 0.1.1 Requires-Python <=3.13,>=3.10; 0.1.2 Requires-Python <=3.13,>=3.10; 0.1.3 Requires-Python <=3.13,>=3.10; 0.1.4 Requires-Python <=3.13,>=3.10; 0.1.5 Requires-Python <=3.13,>=3.10; 0.1.6 Requires-Python <=3.13,>=3.10; 0.1.7 Requires-Python <=3.13,>=3.10; 0.10.0 Requires-Python >=3.10,<4.0; 0.100.0 Requires-Python <3.13,>=3.10; 0.100.1 Requires-Python <3.13,>=3.10; 0.102.0 Requires-Python <3.13,>=3.10; 0.105.0 Requires-Python <3.13,>=3.10; 0.108.0 Requires-Python <3.13,>=3.10; 0.11.0 Requires-Python >=3.10,<4.0; 0.11.1 Requires-Python >=3.10,<4.0; 0.11.2 Requires-Python >=3.10,<4.0; 0.114.0 Requires-Python <3.13,>=3.10; 0.117.0 Requires-Python <3.13,>=3.10; 0.117.1 Requires-Python <3.13,>=3.10; 0.118.0 Requires-Python <3.13,>=3.10; 0.119.0 Requires-Python <3.13,>=3.10; 0.12.0 Requires-Python <=3.13,>=3.10; 0.12.1 Requires-Python <=3.13,>=3.10; 0.13.0 Requires-Python <=3.13,>=3.10; 0.13.1 Requires-Python <=3.13,>=3.10; 0.13.2 Requires-Python <=3.13,>=3.10; 0.13.4 Requires-Python <=3.13,>=3.10; 0.14.0 Requires-Python <=3.13,>=3.10; 0.14.0 Requires-Python >=3.10,<=3.13; 0.14.0rc0 Requires-Python >=3.10,<3.12; 0.14.0rc1 Requires-Python >=3.10,<=3.13; 0.14.1 Requires-Python >=3.10,<=3.13; 0.14.3 Requires-Python >=3.10,<=3.13; 0.14.4 Requires-Python >=3.10,<=3.13; 0.16.0 Requires-Python >=3.10,<=3.13; 0.16.1 Requires-Python >=3.10,<=3.13; 0.16.2 Requires-Python >=3.10,<=3.13; 0.16.3 Requires-Python >=3.10,<=3.13; 0.17.0 Requires-Python <=3.13,>=3.10; 0.17.0 Requires-Python >=3.10,<=3.13; 0.17.0rc0 Requires-Python >=3.10,<=3.13; 0.17.0rc1 Requires-Python >=3.10,<=3.13; 0.17.0rc2 Requires-Python >=3.10,<=3.13; 0.19.0 Requires-Python >=3.10,<=3.13; 0.2.0 Requires-Python <=3.13,>=3.10; 0.2.1 Requires-Python <=3.13,>=3.10; 0.2.2 Requires-Python <=3.13,>=3.10; 0.2.3 Requires-Python <=3.13,>=3.10; 0.2.4 Requires-Python <=3.13,>=3.10; 0.2.5 Requires-Python <=3.13,>=3.10; 0.2.6 Requires-Python <=3.13,>=3.10; 0.22.0 Requires-Python >=3.10,<=3.13; 0.22.2 Requires-Python >=3.10,<=3.13; 0.22.3 Requires-Python >=3.10,<=3.13; 0.22.4 Requires-Python >=3.10,<=3.13; 0.22.5 Requires-Python >=3.10,<=3.13; 0.25.0 Requires-Python <=3.13,>=3.10; 0.25.1 Requires-Python <=3.13,>=3.10; 0.25.2 Requires-Python <=3.13,>=3.10; 0.25.3 Requires-Python <=3.13,>=3.10; 0.25.4 Requires-Python <=3.13,>=3.10; 0.25.5 Requires-Python <=3.13,>=3.10; 0.25.6 Requires-Python <=3.13,>=3.10; 0.25.7 Requires-Python <=3.13,>=3.10; 0.25.8 Requires-Python <=3.13,>=3.10; 0.27.0 Requires-Python <=3.13,>=3.10; 0.27.0rc0 Requires-Python <=3.13,>=3.10; 0.27.0rc1 Requires-Python <=3.13,>=3.10; 0.27.0rc2 Requires-Python <=3.13,>=3.10; 0.27.0rc3 Requires-Python <=3.13,>=3.10; 0.27.1 Requires-Python <=3.13,>=3.10; 0.27.2 Requires-Python <=3.13,>=3.10; 0.28.0 Requires-Python <=3.13,>=3.10; 0.28.1 Requires-Python <=3.13,>=3.10; 0.28.2 Requires-Python <=3.13,>=3.10; 0.28.3 Requires-Python <=3.13,>=3.10; 0.28.4 Requires-Python <=3.13,>=3.10; 0.28.5 Requires-Python <=3.13,>=3.10; 0.28.6 Requires-Python <=3.13,>=3.10; 0.28.7 Requires-Python <=3.13,>=3.10; 0.28.8 Requires-Python <=3.13,>=3.10; 0.28.9rc1 Requires-Python <=3.13,>=3.10; 0.28.9rc2 Requires-Python <=3.13,>=3.10; 0.3.0 Requires-Python <=3.13,>=3.10; 0.30.0 Requires-Python <=3.13,>=3.10; 0.30.0rc1 Requires-Python <=3.13,>=3.10; 0.30.0rc2 Requires-Python <=3.13,>=3.10; 0.30.0rc3 Requires-Python <=3.13,>=3.10; 0.30.0rc4 Requires-Python <=3.13,>=3.10; 0.30.0rc5 Requires-Python <=3.13,>=3.10; 0.30.0rc6 Requires-Python <=3.13,>=3.10; 0.30.0rc7 Requires-Python <=3.13,>=3.10; 0.30.10 Requires-Python <=3.13,>=3.10; 0.30.11 Requires-Python <=3.13,>=3.10; 0.30.4 Requires-Python <=3.13,>=3.10; 0.30.5 Requires-Python <=3.13,>=3.10; 0.30.8 Requires-Python <=3.13,>=3.10; 0.32.0 Requires-Python <=3.13,>=3.10; 0.32.1 Requires-Python <=3.13,>=3.10; 0.32.2 Requires-Python <=3.13,>=3.10; 0.33.0 Requires-Python <=3.13,>=3.10; 0.35.0 Requires-Python <=3.13,>=3.10; 0.35.3 Requires-Python <=3.13,>=3.10; 0.35.4 Requires-Python <=3.13,>=3.10; 0.35.5 Requires-Python <=3.13,>=3.10; 0.35.6 Requires-Python <=3.13,>=3.10; 0.35.7 Requires-Python <=3.13,>=3.10; 0.35.8 Requires-Python <=3.13,>=3.10; 0.36.0 Requires-Python <=3.13,>=3.10; 0.36.1 Requires-Python <=3.13,>=3.10; 0.37.0 Requires-Python <=3.13,>=3.10; 0.38.0 Requires-Python <=3.13,>=3.10; 0.38.1 Requires-Python <=3.13,>=3.10; 0.4.0 Requires-Python <=3.13,>=3.10; 0.4.1 Requires-Python <=3.13,>=3.10; 0.4.25 Requires-Python <=3.13,>=3.10; 0.4.26 Requires-Python <=3.13,>=3.10; 0.4.3 Requires-Python <=3.13,>=3.10; 0.4.4 Requires-Python <=3.13,>=3.10; 0.4.5 Requires-Python <=3.13,>=3.10; 0.4.6 Requires-Python <=3.13,>=3.10; 0.4.7 Requires-Python <=3.13,>=3.10; 0.4.8 Requires-Python <=3.13,>=3.10; 0.40.0 Requires-Python <=3.13,>=3.10; 0.40.1 Requires-Python <=3.13,>=3.10; 0.41.0 Requires-Python <=3.13,>=3.10; 0.41.1 Requires-Python <=3.13,>=3.10; 0.42.0 Requires-Python <=3.13,>=3.10; 0.42.2 Requires-Python <=3.13,>=3.10; 0.43.0 Requires-Python <=3.13,>=3.10; 0.44.0 Requires-Python <=3.13,>=3.10; 0.5.2 Requires-Python >=3.10,<4.0; 0.5.3 Requires-Python >=3.10,<4.0; 0.5.5 Requires-Python >=3.10,<4.0; 0.51.0 Requires-Python <=3.13,>=3.10; 0.51.1 Requires-Python <=3.13,>=3.10; 0.55.0 Requires-Python <=3.13,>=3.10; 0.55.1 Requires-Python <=3.13,>=3.10; 0.55.2 Requires-Python <=3.13,>=3.10; 0.60.0 Requires-Python <=3.13,>=3.10; 0.61.0 Requires-Python <=3.13,>=3.10; 0.63.0 Requires-Python <=3.13,>=3.10; 0.63.1 Requires-Python <=3.13,>=3.10; 0.63.2 Requires-Python <=3.13,>=3.10; 0.63.5 Requires-Python <=3.13,>=3.10; 0.63.6 Requires-Python <=3.13,>=3.10; 0.64.0 Requires-Python <=3.13,>=3.10; 0.65.0 Requires-Python <=3.13,>=3.10; 0.65.1 Requires-Python <=3.13,>=3.10; 0.65.2 Requires-Python <=3.13,>=3.10; 0.66.0 Requires-Python <=3.13,>=3.10; 0.67.0 Requires-Python <=3.13,>=3.10; 0.67.1 Requires-Python <=3.13,>=3.10; 0.70.0 Requires-Python <=3.13,>=3.10; 0.70.1 Requires-Python <=3.13,>=3.10; 0.74.0 Requires-Python <=3.13,>=3.10; 0.74.1 Requires-Python <=3.13,>=3.10; 0.74.2 Requires-Python <=3.13,>=3.10; 0.75.0 Requires-Python <=3.13,>=3.10; 0.75.1 Requires-Python <=3.13,>=3.10; 0.76.0 Requires-Python <=3.13,>=3.10; 0.76.1 Requires-Python <=3.13,>=3.10; 0.76.2 Requires-Python <=3.13,>=3.10; 0.76.9 Requires-Python <=3.13,>=3.10; 0.79.0 Requires-Python <=3.13,>=3.10; 0.79.1 Requires-Python <=3.13,>=3.10; 0.79.2 Requires-Python <=3.13,>=3.10; 0.79.3 Requires-Python <=3.13,>=3.10; 0.79.4 Requires-Python <=3.13,>=3.10; 0.8.0 Requires-Python <=3.13,>=3.10; 0.8.3 Requires-Python <=3.13,>=3.10; 0.80.0 Requires-Python <=3.13,>=3.10; 0.83.0 Requires-Python <=3.13,>=3.10; 0.85.0 Requires-Python <=3.13,>=3.10; 0.86.0 Requires-Python <=3.13,>=3.10; 0.95.0 Requires-Python <3.13,>=3.10; 0.98.0 Requires-Python <3.13,>=3.10 ERROR: Could not find a version that satisfies the requirement crewai-tools (from versions: none) ERROR: No matching distribution found for crewai-tools
最新发布
05-14
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值