小编abh*_*bhi的帖子

安装的python3.9在linux中不显示

我按照此链接中的步骤安装了 python 3.9 。

  1. sudo apt update
  2. sudo apt install python3.9
  3. python3.9
  4. sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.[old-version] 1
  5. sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 2
  6. sudo update-alternatives --config python3

然而,它python3.9 not found在第三点上抛出了一个错误。另外,我注意到使用第二点安装时显示了 python3.9 Note, selecting 'postgresql-plpython3-9.5' for regex 'python3.9'

完整的消息是

Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'postgresql-plpython3-9.5' for regex 'python3.9'
The following packages were automatically installed and are no longer required:
  linux-aws-headers-4.4.0-1104 linux-aws-headers-4.4.0-1105 linux-aws-headers-4.4.0-1106 linux-aws-headers-4.4.0-1107 linux-aws-headers-4.4.0-1109 linux-aws-headers-4.4.0-1110 linux-aws-headers-4.4.0-1111 …
Run Code Online (Sandbox Code Playgroud)

python python-3.9

5
推荐指数
2
解决办法
1万
查看次数

标签 统计

python ×1

python-3.9 ×1