标签:adl cdc -- const ble curses tab lan 引入
这就导致使用python3 代码引用第三方库存在问题,故通过源码安装python3.7来解决问题。
wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tgz
tar -zxvf Python-3.7.0.tgz
编译之前,安装一些所要依赖的包
apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev
假如报错了,就删除对应的lock
rm /var/cache/apt/archives/lock
./configure --enable-optimizations --prefix=/usr/local/Python-3.7/ && make && make install
ln -s -b /usr/local/python3.7/bin/python3.7 /usr/bin/python
ln -s -b /usr/local/python3.7/bin/pip3 /usr/bin/pip3
这就导致使用python3 代码引用第三方库存在问题,故通过源码安装python3.7来解决问题。
wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tgz
tar -zxvf Python-3.7.0.tgz
编译之前,安装一些所要依赖的包
apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev
假如报错了,就删除对应的lock
rm /var/cache/apt/archives/lock
./configure --enable-optimizations --prefix=/usr/local/Python-3.7/ && make && make install
ln -s -b /usr/local/python3.7/bin/python3.7 /usr/bin/python
ln -s -b /usr/local/python3.7/bin/pip3 /usr/bin/pip3
标签:adl cdc -- const ble curses tab lan 引入
原文地址:https://www.cnblogs.com/forforever/p/12417156.html