通过anaconda安装cgabindings会降低我的python版本

2024-10-03 02:36:25 发布

您现在位置:Python中文网/ 问答频道 /正文

我试图通过anaconda安装python cgal绑定包,但它会自动将我的python从3.7降级到2.7。这些是我做的步骤

conda create -p cenvs/test
conda activate cenvs/test
conda install -c rustychris python-cgal-bindings

下面是装置。在安装软件包之前,我已验证我的环境为3.7

Collecting package metadata (repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 4.7.11
  latest version: 4.9.2

Please update conda by running

    $ conda update -n base -c defaults conda



## Package Plan ##

  environment location: /home_nfs/haziq/cenvs/ikea2

  added / updated specs:
    - python-cgal-bindings


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    _libgcc_mutex-0.1          |             main           3 KB
    boost-1.57.0               |                1        14.2 MB  rustychris
    cgal-4.3.0                 |                4         3.9 MB  rustychris
    gmp-6.2.1                  |       h2531618_2         814 KB
    mpfr-3.1.2                 |          2wakari         419 KB  rustychris
    python-cgal-bindings-0.1   |                5         5.7 MB  rustychris
    ------------------------------------------------------------
                                           Total:        25.0 MB

The following NEW packages will be INSTALLED:

  _libgcc_mutex      pkgs/main/linux-64::_libgcc_mutex-0.1-main
  boost              rustychris/linux-64::boost-1.57.0-1
  bzip2              pkgs/main/linux-64::bzip2-1.0.8-h7b6447c_0
  ca-certificates    pkgs/main/linux-64::ca-certificates-2021.1.19-h06a4308_1
  certifi            pkgs/main/noarch::certifi-2020.6.20-pyhd3eb1b0_3
  cgal               rustychris/linux-64::cgal-4.3.0-4
  gmp                pkgs/main/linux-64::gmp-6.2.1-h2531618_2
  libedit            pkgs/main/linux-64::libedit-3.1.20191231-h14c3975_1
  libffi             pkgs/main/linux-64::libffi-3.3-he6710b0_2
  libgcc-ng          pkgs/main/linux-64::libgcc-ng-9.1.0-hdf63c60_0
  libstdcxx-ng       pkgs/main/linux-64::libstdcxx-ng-9.1.0-hdf63c60_0
  mpfr               rustychris/linux-64::mpfr-3.1.2-2wakari
  ncurses            pkgs/main/linux-64::ncurses-6.2-he6710b0_1
  pip                pkgs/main/linux-64::pip-19.3.1-py27_0
  python             pkgs/main/linux-64::python-2.7.18-h15b4118_1
  python-cgal-bindi~ rustychris/linux-64::python-cgal-bindings-0.1-5
  readline           pkgs/main/linux-64::readline-8.1-h27cfd23_0
  setuptools         pkgs/main/linux-64::setuptools-44.0.0-py27_0
  sqlite             pkgs/main/linux-64::sqlite-3.33.0-h62c20be_0
  tk                 pkgs/main/linux-64::tk-8.6.10-hbc83047_0
  wheel              pkgs/main/noarch::wheel-0.36.2-pyhd3eb1b0_0
  zlib               pkgs/main/linux-64::zlib-1.2.11-h7b6447c_3


Proceed ([y]/n)? y

Tags: kbmainversionlinuxmbbindingsngconda