python2.7 + tensorlfow deepin安装记录

horse@horse-PC:~$ python
Python 3.7.0 (default, Jun 28 2018, 13:15:42)
[GCC 7.2.0] :: Anaconda, Inc. on linux
Type “help”, “copyright”, “credits” or “license” for more information.

exit()
horse@horse-PC:~$ conda create -n py27_env python=2.7
Solving environment: / failed

CondaError: KeyboardInterrupt

horse@horse-PC:~$ conda create -n py27_env python=2.7
Solving environment: done

> WARNING: A newer version of conda exists. <
current version: 4.5.11
latest version: 4.8.5

Please update conda by running

$ conda update -n base -c defaults conda

Package Plan

environment location: /home/horse/.conda/envs/py27_env

added / updated specs:
- python=2.7

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
setuptools-44.0.0          |           py27_0         647 KB  defaults
certifi-2019.11.28         |           py27_0         156 KB  defaults
pip-19.3.1                 |           py27_0         1.9 MB  defaults
python-2.7.18              |       h15b4118_1        12.7 MB  defaults
------------------------------------------------------------
                                       Total:        15.3 MB

The following NEW packages will be INSTALLED:

_libgcc_mutex:   0.1-main                defaults
ca-certificates: 2020.7.22-0             defaults
certifi:         2019.11.28-py27_0       defaults
libedit:         3.1.20191231-h14c3975_1 defaults
libffi:          3.3-he6710b0_2          defaults
libgcc-ng:       9.1.0-hdf63c60_0        defaults
libstdcxx-ng:    9.1.0-hdf63c60_0        defaults
ncurses:         6.2-he6710b0_1          defaults
pip:             19.3.1-py27_0           defaults
python:          2.7.18-h15b4118_1       defaults
readline:        8.0-h7b6447c_0          defaults
setuptools:      44.0.0-py27_0           defaults
sqlite:          3.33.0-h62c20be_0       defaults
tk:              8.6.10-hbc83047_0       defaults
wheel:           0.35.1-py_0             defaults
zlib:            1.2.11-h7b6447c_3       defaults

Proceed ([y]/n)? y

Downloading and Extracting Packages
setuptools-44.0.0 | 647 KB | ################################################################### | 100%
certifi-2019.11.28 | 156 KB | ################################################################### | 100%
pip-19.3.1 | 1.9 MB | ################################################################### | 100%
python-2.7.18 | 12.7 MB | ################################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

To activate this environment, use:

> source activate py27_env

To deactivate an active environment, use:

> source deactivate

horse@horse-PC:~$ source deactivate py27
horse@horse-PC:~$ source activate py27_env
(py27_env) horse@horse-PC:~$ conda install tenosrflow
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  • tenosrflow

Current channels:

  • https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/linux-64
  • https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/noarch
  • https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64
  • https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch
  • https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r/linux-64
  • https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r/noarch
  • https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/pro/linux-64
  • https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/pro/noarch
  • https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2/linux-64
  • https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2/noarch

To search for alternate channels that may provide the conda package you’re
looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.

(py27_env) horse@horse-PC:~$ pip install numpy
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won’t be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting numpy
Downloading https://files.pythonhosted.org/packages/3a/5f/47e578b3ae79e2624e205445ab77a1848acdaa2929a00eeef6b16eaaeb20/numpy-1.16.6-cp27-cp27mu-manylinux1_x86_64.whl (17.0MB)
|▎ | 143kB 6.5kB/s eta 0:42:59^C
ERROR: Operation cancelled by user
(py27_env) horse@horse-PC:~$ conda install numpy
Solving environment: done

> WARNING: A newer version of conda exists. <
current version: 4.5.11
latest version: 4.8.5

Please update conda by running

$ conda update -n base -c defaults conda

Package Plan

environment location: /home/horse/.conda/envs/py27_env

added / updated specs:
- numpy

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
mkl-service-2.3.0          |   py27he904b0f_0         205 KB  defaults
mkl_random-1.1.0           |   py27hd6b4f25_0         332 KB  defaults
numpy-base-1.16.6          |   py27hde5b4d6_0         4.3 MB  defaults
mkl_fft-1.0.15             |   py27ha843d7b_0         164 KB  defaults
numpy-1.16.6               |   py27hbc911f0_0          49 KB  defaults
------------------------------------------------------------
                                       Total:         5.1 MB

The following NEW packages will be INSTALLED:

blas:           1.0-mkl               defaults
intel-openmp:   2020.2-254            defaults
libgfortran-ng: 7.3.0-hdf63c60_0      defaults
mkl:            2020.2-256            defaults
mkl-service:    2.3.0-py27he904b0f_0  defaults
mkl_fft:        1.0.15-py27ha843d7b_0 defaults
mkl_random:     1.1.0-py27hd6b4f25_0  defaults
numpy:          1.16.6-py27hbc911f0_0 defaults
numpy-base:     1.16.6-py27hde5b4d6_0 defaults
six:            1.15.0-py_0           defaults

Proceed ([y]/n)? y

Downloading and Extracting Packages
mkl-service-2.3.0 | 205 KB | ################################################################### | 100%
mkl_random-1.1.0 | 332 KB | ################################################################### | 100%
numpy-base-1.16.6 | 4.3 MB | ################################################################### | 100%
mkl_fft-1.0.15 | 164 KB | ################################################################### | 100%
numpy-1.16.6 | 49 KB | ################################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(py27_env) horse@horse-PC:~$ pip install --no-cache-dir tensorflow
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won’t be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting tensorflow
Downloading https://files.pythonhosted.org/packages/ef/73/205b5e7f8fe086ffe4165d984acb2c49fa3086f330f03099378753982d2e/tensorflow-2.1.0-cp27-cp27mu-manylinux2010_x86_64.whl (421.8MB)
|▏ | 1.6MB 9.3kB/s eta 12:31:47^C
ERROR: Operation cancelled by user
(py27_env) horse@horse-PC:~$ sudo apt-get install python-pip python-dev
请输入密码
[sudo] horse 的密码:
验证成功
正在读取软件包列表… 完成
正在分析软件包的依赖关系树
正在读取状态信息… 完成
将会同时安装下列软件:
build-essential g++ g+±8 javascript-common libjs-jquery libjs-sphinxdoc libjs-underscore
libpython-all-dev libpython-dev libpython2-dev libpython2.7-dev libstdc+±8-dev python-all python-all-dev
python-asn1crypto python-cffi-backend python-configparser python-cryptography python-entrypoints
python-enum34 python-ipaddress python-keyring python-keyrings.alt python-pip-whl python-secretstorage
python-setuptools python-wheel python-xdg python2-dev python2.7-dev
建议安装:
g+±multilib g+±8-multilib gcc-8-doc libstdc++6-8-dbg apache2 | lighttpd | httpd libstdc+±8-doc
python-cryptography-doc python-cryptography-vectors python-enum34-doc gir1.2-gnomekeyring-1.0 python-gdata
python-keyczar python-secretstorage-doc python-setuptools-doc
下列【新】软件包将被安装:
build-essential g++ g+±8 javascript-common libjs-jquery libjs-sphinxdoc libjs-underscore
libpython-all-dev libpython-dev libpython2-dev libpython2.7-dev libstdc+±8-dev python-all python-all-dev
python-asn1crypto python-cffi-backend python-configparser python-cryptography python-dev
python-entrypoints python-enum34 python-ipaddress python-keyring python-keyrings.alt python-pip
python-pip-whl python-secretstorage python-setuptools python-wheel python-xdg python2-dev python2.7-dev
升级了 0 个软件包,新安装了 32 个软件包,要卸载 0 个软件包,有 14 个软件包未被升级。
需要下载 46.5 MB 的归档。
解压缩后会消耗 109 MB 的额外空间。
您希望继续执行吗? [Y/n] y
获取:1 https://community-packages.deepin.com/deepin apricot/main amd64 libstdc+±8-dev amd64 8.3.0.3-3+rebuild [1,532 kB]
获取:2 https://community-packages.deepin.com/deepin apricot/main amd64 g+±8 amd64 8.3.0.3-3+rebuild [9,712 kB]
获取:3 https://community-packages.deepin.com/deepin apricot/main amd64 g++ amd64 4:8.3.0-1 [1,644 B]
获取:4 https://community-packages.deepin.com/deepin apricot/main amd64 build-essential amd64 12.6 [7,576 B]
获取:5 https://community-packages.deepin.com/deepin apricot/main amd64 javascript-common all 11 [6,120 B]
获取:6 https://community-packages.deepin.com/deepin apricot/main amd64 libjs-jquery all 3.3.1~dfsg-3 [332 kB]
获取:7 https://community-packages.deepin.com/deepin apricot/main amd64 libjs-underscore all 1.9.1~dfsg-1 [99.4 kB]
获取:8 https://community-packages.deepin.com/deepin apricot/main amd64 libjs-sphinxdoc all 1.8.4-1 [95.9 kB]
获取:9 https://community-packages.deepin.com/deepin apricot/main amd64 libpython2.7-dev amd64 2.7.16.1-1+dde [31.5 MB]
获取:10 https://community-packages.deepin.com/deepin apricot/main amd64 libpython2-dev amd64 2.7.16-1 [20.9 kB]
获取:11 https://community-packages.deepin.com/deepin apricot/main amd64 libpython-dev amd64 2.7.16-1 [20.9 kB]
获取:12 https://community-packages.deepin.com/deepin apricot/main amd64 libpython-all-dev amd64 2.7.16-1 [1,064 B]
获取:13 https://community-packages.deepin.com/deepin apricot/main amd64 python-all amd64 2.7.16-1 [1,044 B]
获取:14 https://community-packages.deepin.com/deepin apricot/main amd64 python2.7-dev amd64 2.7.16.1-1+dde [295 kB]
获取:15 https://community-packages.deepin.com/deepin apricot/main amd64 python2-dev amd64 2.7.16-1 [1,212 B]
获取:16 https://community-packages.deepin.com/deepin apricot/main amd64 python-dev amd64 2.7.16-1 [1,192 B]
获取:17 https://community-packages.deepin.com/deepin apricot/main amd64 python-all-dev amd64 2.7.16-1 [1,068 B]
获取:18 https://community-packages.deepin.com/deepin apricot/main amd64 python-asn1crypto all 0.24.0-1 [78.1 kB]
获取:19 https://community-packages.deepin.com/deepin apricot/main amd64 python-cffi-backend amd64 1.12.2-1 [78.7 kB]
获取:20 https://community-packages.deepin.com/deepin apricot/main amd64 python-configparser all 3.5.0b2-1 [62.3 kB]
获取:21 https://community-packages.deepin.com/deepin apricot/main amd64 python-enum34 all 1.1.6-2 [35.2 kB]
获取:22 https://community-packages.deepin.com/deepin apricot/main amd64 python-ipaddress all 1.0.17-1+apricot [18.2 kB]
获取:23 https://community-packages.deepin.com/deepin apricot/main amd64 python-cryptography amd64 2.6.1-3+deb10u2 [218 kB]
获取:24 https://community-packages.deepin.com/deepin apricot/main amd64 python-entrypoints all 0.3-1 [5,444 B]
获取:25 https://community-packages.deepin.com/deepin apricot/main amd64 python-secretstorage all 2.3.1-2+apricot [13.9 kB]
获取:26 https://community-packages.deepin.com/deepin apricot/main amd64 python-keyring all 17.1.1-1 [47.1 kB]
获取:27 https://community-packages.deepin.com/deepin apricot/main amd64 python-keyrings.alt all 3.1.1-1 [18.3 kB]
获取:28 https://community-packages.deepin.com/deepin apricot/main amd64 python-pip-whl all 18.1-5 [1,591 kB]
获取:29 https://community-packages.deepin.com/deepin apricot/main amd64 python-pip all 18.1-5 [215 kB]
获取:30 https://community-packages.deepin.com/deepin apricot/main amd64 python-setuptools all 40.8.0-1 [382 kB]
获取:31 https://community-packages.deepin.com/deepin apricot/main amd64 python-wheel all 0.32.3-2 [19.3 kB]
获取:32 https://community-packages.deepin.com/deepin apricot/main amd64 python-xdg all 0.25-5 [35.9 kB]
已下载 46.5 MB,耗时 4分 45秒 (163 kB/s)
正在从软件包中解出模板:100%
正在选中未选择的软件包 libstdc+±8-dev:amd64。
(正在读取数据库 … 系统当前共安装有 237549 个文件和目录。)
准备解压 …/00-libstdc+±8-dev_8.3.0.3-3+rebuild_amd64.deb …
正在解压 libstd

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值