zoukankan      html  css  js  c++  java
  • ubuntu 安装python3.6.6

    http://www.cnblogs.com/yhongji/p/9383857.html

    https://www.jianshu.com/p/1565f38f4236

     ./configure --with-ssl --prefix=/usr/local/python3

    zipimport.ZipImportError: can't decompress data; zlib not available
    Makefile:1079: recipe for target 'install' failed
    make: *** [install] Error 1

    解决办法:安装依赖

    1 sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev 
    2 libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev 
    3 xz-utils tk-dev
    sudo apt-get install build-essential
    sudo apt-get install python3-dev
    sudo apt-get install libxml2-de;
    sudo apt-get install libxslt1-dev
    sudo apt-get install libssl-dev
    apt-get install -y libffi-dev

    安装一个python3.6.6,终于可以pip3下载了。
    ln -s /usr/local/python3/bin/python3.6 /usr/bin/python3
    ln -s /usr/local/python3/bin/pip3 /usr/bin/pip3

    sudo vim /usr/bin/lsb_release

    修改第一行,指明python的版本号,若安装的是python3.6则修改:

    #!/usr/bin/python3

    为:

    #!/usr/bin/python3.6


    https://blog.csdn.net/u012114438/article/details/83578113




    卸载了python3.4,导致没有终端,页面没有状态栏。 不要卸载

    apt-get install nautilus-open-terminal

    https://blog.csdn.net/terence1212/article/details/51340595

    下面这个是重新安装桌面,可能会用到。重新安装桌面要startx启动。

    sudo apt-get install ubuntu-minimal ubuntu-standard ubuntu-desktop
    startx
  • 相关阅读:
    CSS—BFC学习
    JS函数声明及函数表达式相关
    你想要的正则表达式笔记
    WordPress搭建自己的网站
    声纹识别
    WordPress搭建自己的网站
    L--jsp和servlet
    L--网页跳转
    L1--指针
    L--Java关键字final、static
  • 原文地址:https://www.cnblogs.com/yuguangyuan/p/10794743.html
Copyright © 2011-2022 走看看