我最近安装了Ubuntu 19.04,默认为Python 3.7。我需要处理多个使用Python 3.6的项目。

有没有办法把它安装到迪斯科野狗上?

我试过了对16.04有效的方法milano@milano-desktop:~$ sudo add-apt-repository ppa:jonathonf/python-3.6

...

milano@milano-desktop:~$ sudo apt-get install python3.6

Reading package lists... Done

Building dependency tree

Reading state information... Done

Note, selecting 'python3.6-2to3' for regex 'python3.6'

Note, selecting 'libpython3.6-stdlib' for regex 'python3.6'

The following packages were automatically installed and are no longer required:

fonts-liberation2 fonts-opensymbol gir1.2-geocodeglib-1.0

gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0 gir1.2-gudev-1.0

gir1.2-udisks-2.0 grilo-plugins-0.3-base gstreamer1.0-gtk3 guile-2.2-libs

libboost-date-time1.67.0 libboost-filesystem1.67.0 libboost-iostreams1.67.0

libboost-locale1.67.0 libcdr-0.1-1 libclucene-contribs1v5 libclucene-core1v5

libcmis-0.5-5v5 libcolamd2 libcurl4 libdazzle-1.0-0 libe-book-0.1-1 libeot0

libepubgen-0.1-1 libetonyek-0.1-1 libevent-2.1-6 libfreerdp-client2-2

libfreerdp2-2 libgc1c2 libgee-0.8-2 libgom-1.0-0 libgpgmepp6 libgpod-common

libgpod4 liblangtag-common liblangtag1 liblirc-client0 liblua5.3-0

libmediaart-2.0-0 libminiupnpc17 libmspub-0.1-1 libodfgen-0.1-1

liborcus-0.14-0 libqqwing2v5 libraw19 librevenge-0.0-0 libsgutils2-2

libsuitesparseconfig5 libvncclient1 libwinpr2-2 libxmlsec1 libxmlsec1-nss

lp-solve media-player-info python3-mako python3-markupsafe syslinux

syslinux-common syslinux-legacy usb-creator-common

Use 'sudo apt autoremove' to remove them.

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

milano@milano-desktop:~$ python3.6

Command 'python3.6' not found, did you mean:

command 'python3.8' from deb python3.8-minimal (3.8.0~a3-2)

command 'python3.7' from deb python3.7-minimal (3.7.3-2)

Try: sudo apt install

Python3+选项卡milano@milano-desktop:~$ python3

python3 python3.7 python3.7m python3m

死蛇milano@milano-desktop:~$ sudo add-apt-repository ppa:deadsnakes/ppa

This PPA contains more recent Python versions packaged for Ubuntu.

Disclaimer: there's no guarantee of timely updates in case of security problems or other issues. If you want to use them in a security-or-otherwise-critical environment (say, on a production server), you do so at your own risk.

Update Note

===========

Please use this repository instead of ppa:fkrull/deadsnakes.

Reporting Issues

================

Issues can be reported in the master issue tracker at:

https://github.com/deadsnakes/issues/issues

Supported Ubuntu and Python Versions

====================================

Python 3.6 - Ubuntu 14.04, Ubuntu 16.04

For Ubuntu up to 18.04, there's also packages for old Python versions from 2.3 to 3.4.

The packages may also work on other versions of Ubuntu or Debian, but that is not tested or supported.

Third-Party Python Modules

==========================

Python modules in the official Ubuntu repositories are packaged to work with the Python interpreters from the official repositories. Accordingly, they generally won't work with the Python interpreters from this PPA. As an exception, pure-Python modules for Python 3 will work, but any compiled extension modules won't.

To install 3rd-party Python modules, you should use the common Python packaging tools. For an introduction into the Python packaging ecosystem and its tools, refer to the Python Packaging User Guide:

https://packaging.python.org/installing/

Sources

=======

The package sources are available at:

https://github.com/deadsnakes/

More info: https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa

Press [ENTER] to continue or Ctrl-c to cancel adding it.

Hit:1 http://cz.archive.ubuntu.com/ubuntu disco InRelease

Ign:2 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu disco InRelease

Get:3 http://cz.archive.ubuntu.com/ubuntu disco-updates InRelease [88,4 kB]

Hit:4 http://security.ubuntu.com/ubuntu disco-security InRelease

Hit:5 http://cz.archive.ubuntu.com/ubuntu disco-backports InRelease

Ign:6 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu disco InRelease

Err:7 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu disco Release

404 Not Found [IP: 91.189.95.83 80]

Err:8 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu disco Release

404 Not Found [IP: 91.189.95.83 80]

Reading package lists... Done

E: The repository 'http://ppa.launchpad.net/deadsnakes/ppa/ubuntu disco Release' does not have a Release file.

N: Updating from such a repository can't be done securely, and is therefore disabled by default.

N: See apt-secure(8) manpage for repository creation and user configuration details.

E: The repository 'http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu disco Release' does not have a Release file.

N: Updating from such a repository can't be done securely, and is therefore disabled by default.

N: See apt-secure(8) manpage for repository creation and user configuration details.

ubuntu安装python3.6_如何在Ubuntu19.04上安装Python3.6?相关推荐

  1. 如何在ubuntu14.04上安装轻量级的Budgie桌面(v8)

    如何在ubuntu14.04上安装轻量级的Budgie桌面(v8) Budgie是为Linux发行版定制的旗舰桌面,也是一个定制工程.为思想前卫的用户设计,致力于简单和简洁.它的一个巨大优势是它不是别 ...

  2. 1.【Linux】如何在Ubuntu18.04上安装微信

    ubuntu 阿里云下载地址:http://mirrors.aliyun.com/ubuntu-releases/ 在ubuntu上使用windows上的一些软件需要安装wine. 本教程介绍如何在 ...

  3. 集众家之所长,手把手教你如何在Ubuntu18.04上安装CUDA10.0+CUDNN7.5+Torch7(非Pytorch)(保姆级教学)

    弱小无力的目录 前言 零.动手前的准备 0.1 电脑配置 0.1.1 显卡(使用软件GPU-Z查看) 0.1.2 系统(cmd窗口输入`winver`) 0.2 参考文章(感谢各位大佬的分享┭┮﹏┭┮ ...

  4. 如何在Ubuntu20.04上安装RDP远程

    计算机最有意思的事情,就是你可以用任何方式去实现跨设备连接.例如google通过webrtc实现远程桌面,Linux则是常用ssh等.在远程桌面上一般分为windows的RDP和Unix/Linux的 ...

  5. drupal安装教程 linux,如何在Fedora Linux上安装Drupal 7

    本安装指南提供了有关如何在Fedora Linux系统上安装Drupal 7的step-by-step指导.该指南包含6个易于执行的步骤,以完成整个安装过程.如果您对新的Drupal 7版本有点好奇, ...

  6. centos6.8安装完成后重启进不去登录界面_如何在Ubuntu18.04上安装Unity桌面环境?

    安装Unity 在终端上运行以下两条命令,你可以从官方默认软件仓库中安装Unity sudo apt update sudo apt install ubuntu-unity-desktop Inst ...

  7. 如何在ubuntu16.04上安装eclipse

    一.下载 **    首先我们需要安装jdk1.8及其以上,然后从官网:https://www.eclipse.org/downloads/上下载,需要注意的是官网的服务器太差,响应的速度非常慢,需要 ...

  8. python安装出错0x80072ee7_如何在Windows系统上安装Python?

    现在用Python的人越来越多,很多学习使用Python的人并不是专业的程序员,而是希望利用Python这个工具去提升自己的工作效率,比如数据分析师.数据运营.风控人员.财务人员等职业都对Python ...

  9. ubuntu18.04上安装anaconda-python深度学习环境

    Anaconda是一套Python的发行版,发行版集成了必要的库,使用户可以一次性完成安装.Anaconda是一个侧重于数据分析的发行版,一些有助于数据分析的库,比如Numpy,Matplotlib, ...

最新文章

  1. danfoss 变频器的profinet通讯调试_840D sl系统PLC 开机调试
  2. 在哪里能收到python实例代码-Python分类测试代码实例汇总
  3. python---memcache使用操作
  4. ws配置 zuul_SpringCloud系列研究---服务网关zuul
  5. 用InstallShield9打包 vb6+水晶报表中文版9.2 [转]
  6. IDEA 中tomcat上面有个x 而且找不到配置tomcat的选项
  7. Promise 学习心得
  8. centos7装单机hadoop2.7.3
  9. 《ArcGIS Runtime SDK for Android开发笔记》——(7)、示例代码arcgis-runtime-samples-android的使用...
  10. fabric-sample配置常见错误解析
  11. myeclipse 内存不够用报错PermGen space 和 An internal error has occurred.
  12. 董明珠下台 格力还能一统智能家居吗?
  13. html外联式怎么设置,笔记《三》-html引用css的三种方式-内联,嵌入,外联
  14. 小米 12 Ultra 搭载 3D ToF 摄像头和 Surge C2 ISP
  15. 新版标准日本语高级_第18课
  16. Mac平台安卓模拟器:网易MuMu mac中文免费版(支持12系统)
  17. 1002: 简单多项式求值 ZZULIOJ
  18. AE 3D摄像机工作原理
  19. 北朝皇帝简介-20170610
  20. oracle如何判断数字中有字母,SQL 判断含有字母和数字的字符串

热门文章

  1. 【转】linux tar.gz zip 解压缩 压缩命令
  2. Java - 初识Java
  3. 删除 Ceph 的image报rbd: error: image still has watchers
  4. 2016及以后的自动化测试趋势 -《测试技术六月刊》
  5. Three.js学习笔记
  6. 解决linux下无线网卡被物理禁用问题
  7. secondarynamenode异常
  8. oracle的to_char中的fm
  9. Keeplived配置Nginx双机高可用【转】
  10. Selenium无法点击元素,报错:ElementClickInterceptedException:element click intercepted