| # andconda版本 |
| Anaconda3-5.2.0-Linux-x86_64.sh |
| # python版本 |
| [root@master bin]# python3 |
| Python 3.6.5 |Anaconda, Inc.| (default, Apr 29 2018, 16:14:56) |
| [GCC 7.2.0] on linux |
| Type "help", "copyright", "credits" or "license" for more information. |
| >>> |
- 报错1:
SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443):
查看详情
| [root@master software] |
| Solving environment: failed |
| |
| |
| |
| `$ /home/software/anaconda3/bin/conda create --name env_dev python=3.6` |
| |
| environment variables: |
| CIO_TEST=<not set> |
| CONDA_HOME=/home/software/anaconda3 |
| CONDA_ROOT=/home/software/anaconda3 |
| PATH=/usr/local/flink/bin:/usr/local/kafka/bin:/usr/local/sbin:/usr/local/b |
| in:/usr/sbin:/usr/bin:/usr/local/hbase-2.2.6/bin:/usr/local/scala/bin: |
| /home/software/spark-2.3.4-bin- |
| hadoop2.7/bin:/home/software/spark-2.3.4-bin-hadoop2.7/sbin:/home/soft |
| ware/anaconda3/bin:/home/software/jdk1.8.0_181/bin:/home/software/jdk1 |
| .8.0_181/bin:/home/software/hadoop-3.2.1/bin:/home/software/hadoop-3.2 |
| .1/sbin:/home/software/hadoop-3.2.1/etc/hadoop/bin:/home/software/apac |
| he-hive-3.1.2-bin/bin:/root/bin |
| REQUESTS_CA_BUNDLE=<not set> |
| SSL_CERT_FILE=<not set> |
| |
| active environment : None |
| user config file : /root/.condarc |
| populated config files : /root/.condarc |
| conda version : 4.5.4 |
| conda-build version : 3.10.5 |
| python version : 3.6.5.final.0 |
| base environment : /home/software/anaconda3 (writable) |
| channel URLs : https://mirrors.aliyun.com/pypi/simple/linux-64 |
| https://mirrors.aliyun.com/pypi/simple/noarch |
| https://mirrors.ustc.edu.cn/anaconda/pkgs/main/linux-64 |
| https://mirrors.ustc.edu.cn/anaconda/pkgs/main/noarch |
| https://repo.anaconda.com/pkgs/main/linux-64 |
| https://repo.anaconda.com/pkgs/main/noarch |
| https://repo.anaconda.com/pkgs/free/linux-64 |
| https://repo.anaconda.com/pkgs/free/noarch |
| https://repo.anaconda.com/pkgs/r/linux-64 |
| https://repo.anaconda.com/pkgs/r/noarch |
| https://repo.anaconda.com/pkgs/pro/linux-64 |
| https://repo.anaconda.com/pkgs/pro/noarch |
| package cache : /home/software/anaconda3/pkgs |
| /root/.conda/pkgs |
| envs directories : /home/software/anaconda3/envs |
| /root/.conda/envs |
| platform : linux-64 |
| user-agent : conda/4.5.4 requests/2.18.4 CPython/3.6.5 Linux/3.10.0-1160.45.1.el7.x86_64 centos/7 glibc/2.17 |
| UID:GID : 0:0 |
| netrc file : None |
| offline mode : False |
| |
| |
| V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V |
| |
| CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/noarch/repodata.json.bz2> |
| Elapsed: - |
| |
| An HTTP error occurred when trying to retrieve this URL. |
| HTTP errors are often intermittent, and a simple retry will get you on your way. |
| |
| If your current network has https://www.anaconda.com blocked, please file |
| a support request with your network engineering team. |
| |
| SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443): Max retries exceeded with url: /pkgs/main/noarch/repodata.json.bz2 (Caused by SSLError(SSLError("bad handshake: Error([(\'SSL routines\', \'ssl3_get_server_certificate\', \'certificate verify failed\')],)",),))',),) |
| |
| A reportable application error has occurred. Conda has prepared the above report. |
| If submitted, this report will be used by core maintainers to improve |
| future releases of conda. |
| vim ~/.condarc |
| |
| - defaults |
| |
| ssl_verify: false |
- 报错2:
CondaHTTPError: HTTP 404 NOT FOUND for url
查看详情
| [root@master bin] |
| Solving environment: failed |
| |
| |
| |
| `$ /home/software/anaconda3/bin/conda create --name env_dev python=3.6` |
| |
| environment variables: |
| CIO_TEST=<not set> |
| CONDA_HOME=/home/software/anaconda3 |
| CONDA_ROOT=/home/software/anaconda3 |
| PATH=/usr/local/flink/bin:/usr/local/kafka/bin:/usr/local/flink/bin:/usr/lo |
| cal/kafka/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/l |
| ocal/hbase-2.2.6/bin:/usr/local/scala/bin:/home/software/spark-2.3.4-b |
| in-hadoop2.7/bin:/home/software/spark-2.3.4-bin-hadoop2.7/sbin:/home/s |
| oftware/anaconda3/bin:/home/software/jdk1.8.0_181/bin:/home/software/j |
| dk1.8.0_181/bin:/home/software/hadoop-3.2.1/bin:/home/software/hadoop- |
| 3.2.1/sbin:/home/software/hadoop-3.2.1/etc/hadoop/bin:/home/software/a |
| pache-hive-3.1.2-bin/bin:/root/bin:/usr/local/hbase-2.2.6/bin:/usr/loc |
| al/scala/bin:/home/software/spark-2.3.4-bin- |
| hadoop2.7/bin:/home/software/spark-2.3.4-bin-hadoop2.7/sbin:/home/soft |
| ware/anaconda3/bin:/home/software/anaconda3/bin:/home/software/jdk1.8. |
| 0_181/bin:/home/software/jdk1.8.0_181/bin:/home/software/hadoop-3.2.1/ |
| bin:/home/software/hadoop-3.2.1/sbin:/home/software/hadoop-3.2.1/etc/h |
| adoop/bin:/home/software/apache-hive-3.1.2-bin/bin |
| REQUESTS_CA_BUNDLE=<not set> |
| SSL_CERT_FILE=<not set> |
| |
| active environment : None |
| user config file : /root/.condarc |
| populated config files : /root/.condarc |
| conda version : 4.5.4 |
| conda-build version : 3.10.5 |
| python version : 3.6.5.final.0 |
| base environment : /home/software/anaconda3 (writable) |
| channel URLs : 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.aliyun.com/pypi/simple/linux-64 |
| https://mirrors.aliyun.com/pypi/simple/noarch |
| https://mirrors.ustc.edu.cn/anaconda/pkgs/main/linux-64 |
| https://mirrors.ustc.edu.cn/anaconda/pkgs/main/noarch |
| https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/linux-64 |
| https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/noarch |
| http://mirrors.ustc.edu.cn/anaconda/pkgs/free/linux-64 |
| http://mirrors.ustc.edu.cn/anaconda/pkgs/free/noarch |
| package cache : /home/software/anaconda3/pkgs |
| /root/.conda/pkgs |
| envs directories : /home/software/anaconda3/envs |
| /root/.conda/envs |
| platform : linux-64 |
| user-agent : conda/4.5.4 requests/2.18.4 CPython/3.6.5 Linux/3.10.0-1160.45.1.el7.x86_64 centos/7 glibc/2.17 |
| UID:GID : 0:0 |
| netrc file : None |
| offline mode : False |
| |
| |
| V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V |
| |
| CondaHTTPError: HTTP 404 NOT FOUND for url <https://mirrors.aliyun.com/pypi/simple/noarch/repodata.json> |
| Elapsed: 00:00.270290 |
| |
| The remote server could not find the noarch directory for the |
| requested channel with url: https://mirrors.aliyun.com/pypi/simple |
| |
| As of conda 4.3, a valid channel must contain a `noarch/repodata.json` and |
| associated `noarch/repodata.json.bz2` file, even if `noarch/repodata.json` is |
| empty. please request that the channel administrator create |
| `noarch/repodata.json` and associated `noarch/repodata.json.bz2` files. |
| $ mkdir noarch |
| $ echo '{}' > noarch/repodata.json |
| $ bzip2 -k noarch/repodata.json |
| |
| You will need to adjust your conda configuration to proceed. |
| Use `conda config --show channels` to view your configuration's current state. |
| Further configuration help can be found at <https://conda.io/docs/config.html>. |
| |
| A reportable application error has occurred. Conda has prepared the above report. |
| If submitted, this report will be used by core maintainers to improve |
| future releases of conda. |
| |
| |
| vim ~/.condarc |
| |
| channels: |
| - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/ |
| - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ |
| - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/ |
| - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/ |
| - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/ |
| - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/fastai/ |
| - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/ |
| - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/ |
| ssl_verify: false |
| show_channel_urls: true |
| |
| |
| conda config --set show_channel_urls yes |
| # 查看版本 |
| [root@master ~]# conda --version |
| conda 4.5.4 |
| # 查看环境 |
| [root@master ~]# conda info -e |
| # conda environments: |
| # |
| base * /home/software/anaconda3 |
| # 查看环境 |
| [root@master ~]# conda env list |
| # conda environments: |
| # |
| base * /home/software/anaconda3 |
- 创建虚拟环境:
conda create --name env_dev python=3.6
查看详情
| [root@master bin] |
| Solving environment: done |
| |
| |
| ==> WARNING: A newer version of conda exists. <== |
| current version: 4.5.4 |
| latest version: 23.11.0 |
| |
| Please update conda by running |
| |
| $ conda update -n base conda |
| |
| |
| |
| |
| |
| environment location: /home/software/anaconda3/envs/env_dev |
| |
| added / updated specs: |
| - python=3.6 |
| |
| |
| The following packages will be downloaded: |
| |
| package | build |
| ---------------------------|----------------- |
| ncurses-6.3 | h27087fc_1 1002 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| libsqlite-3.40.0 | h753d276_0 791 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| libstdcxx-ng-12.2.0 | h46fd767_19 4.3 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| ld_impl_linux-64-2.39 | hc81fddc_0 759 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| libgomp-12.2.0 | h65d4601_19 455 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| libnsl-2.0.0 | h7f98852_0 31 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| sqlite-3.40.0 | h4ff8645_0 801 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| tk-8.6.12 | h27826a3_0 3.3 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| ca-certificates-2022.9.24 | ha878542_0 150 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| openssl-1.1.1s | h166bdaf_0 2.1 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| _openmp_mutex-4.5 | 2_gnu 23 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| readline-8.1.2 | h0f457ee_0 291 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| pip-21.3.1 | pyhd8ed1ab_0 1.2 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| libffi-3.4.2 | h7f98852_5 57 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| _libgcc_mutex-0.1 | conda_forge 3 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| libzlib-1.2.13 | h166bdaf_4 64 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| python_abi-3.6 | 2_cp36m 4 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| setuptools-58.0.4 | py36h5fab9bb_2 966 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| libgcc-ng-12.2.0 | h65d4601_19 931 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| wheel-0.37.1 | pyhd8ed1ab_0 31 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| xz-5.2.6 | h166bdaf_0 409 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| python-3.6.15 |hb7a2778_0_cpython 38.4 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| ------------------------------------------------------------ |
| Total: 55.9 MB |
| |
| The following NEW packages will be INSTALLED: |
| |
| _libgcc_mutex: 0.1-conda_forge https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| _openmp_mutex: 4.5-2_gnu https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| ca-certificates: 2022.9.24-ha878542_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| ld_impl_linux-64: 2.39-hc81fddc_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| libffi: 3.4.2-h7f98852_5 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| libgcc-ng: 12.2.0-h65d4601_19 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| libgomp: 12.2.0-h65d4601_19 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| libnsl: 2.0.0-h7f98852_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| libsqlite: 3.40.0-h753d276_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| libstdcxx-ng: 12.2.0-h46fd767_19 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| libzlib: 1.2.13-h166bdaf_4 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| ncurses: 6.3-h27087fc_1 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| openssl: 1.1.1s-h166bdaf_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| pip: 21.3.1-pyhd8ed1ab_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| python: 3.6.15-hb7a2778_0_cpython https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| python_abi: 3.6-2_cp36m https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| readline: 8.1.2-h0f457ee_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| setuptools: 58.0.4-py36h5fab9bb_2 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| sqlite: 3.40.0-h4ff8645_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| tk: 8.6.12-h27826a3_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| wheel: 0.37.1-pyhd8ed1ab_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| xz: 5.2.6-h166bdaf_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| |
| Proceed ([y]/n)? y |
| |
| |
| Downloading and Extracting Packages |
| ncurses-6.3 | 1002 KB | |
| libsqlite-3.40.0 | 791 KB | |
| libstdcxx-ng-12.2.0 | 4.3 MB | |
| ld_impl_linux-64-2.3 | 759 KB | |
| libgomp-12.2.0 | 455 KB | |
| libnsl-2.0.0 | 31 KB | |
| sqlite-3.40.0 | 801 KB | |
| tk-8.6.12 | 3.3 MB | |
| ca-certificates-2022 | 150 KB | |
| openssl-1.1.1s | 2.1 MB | |
| _openmp_mutex-4.5 | 23 KB | |
| readline-8.1.2 | 291 KB | |
| pip-21.3.1 | 1.2 MB | |
| libffi-3.4.2 | 57 KB | |
| _libgcc_mutex-0.1 | 3 KB | |
| libzlib-1.2.13 | 64 KB | |
| python_abi-3.6 | 4 KB | |
| setuptools-58.0.4 | 966 KB | |
| libgcc-ng-12.2.0 | 931 KB | |
| wheel-0.37.1 | 31 KB | |
| xz-5.2.6 | 409 KB | |
| python-3.6.15 | 38.4 MB | |
| Preparing transaction: done |
| Verifying transaction: done |
| Executing transaction: done |
| |
| |
| |
| |
| |
| |
| |
| |
| [root@master ~] |
| |
| (env_dev) [root@master ~] |
| Package Version |
| ---------- ------- |
| pip 21.3.1 |
| setuptools 58.0.4 |
| wheel 0.37.1 |
| |
| |
| source deactivate |
| (env_dev) [root@master ~] |
| Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/ |
| WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),)': /simple/pymysql/ |
| WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),)': /simple/pymysql/ |
| WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),)': /simple/pymysql/ |
| WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),)': /simple/pymysql/ |
| WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),)': /simple/pymysql/ |
| Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/pymysql/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.tuna.tsinghua.edu.cn', port=443): Max retries exceeded with url: /simple/pymysql/ (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),)) - skipping |
| ERROR: Could not find a version that satisfies the requirement pymysql (from versions: none) |
| ERROR: No matching distribution found for pymysql |
| Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.tuna.tsinghua.edu.cn', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),)) - skipping |
| (env_dev) [root@master ~] |
| Looking in indexes: http://pypi.tuna.tsinghua.edu.cn/simple/ |
| Collecting pymysql |
| Downloading https://pypi.tuna.tsinghua.edu.cn/packages/4f/52/a115fe175028b058df353c5a3d5290b71514a83f67078a6482cff24d6137/PyMySQL-1.0.2-py3-none-any.whl (43 kB) |
| |████████████████████████████████| 43 kB 1.0 MB/s |
| Installing collected packages: pymysql |
| Successfully installed pymysql-1.0.2 |
| WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv |
| |
| |
| (env_dev) [root@master ~] |
| Package Version |
| ---------- ------- |
| pip 21.3.1 |
| PyMySQL 1.0.2 |
| setuptools 58.0.4 |
| wheel 0.37.1 |
| [root@master bin] |
| |
| Remove all packages in environment /home/software/anaconda3/envs/env_dev: |
| |
| |
| |
| |
| environment location: /home/software/anaconda3/envs/env_dev |
| |
| |
| The following packages will be REMOVED: |
| |
| _libgcc_mutex: 0.1-conda_forge https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| _openmp_mutex: 4.5-2_gnu https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| ca-certificates: 2022.9.24-ha878542_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| ld_impl_linux-64: 2.39-hc81fddc_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| libffi: 3.4.2-h7f98852_5 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| libgcc-ng: 12.2.0-h65d4601_19 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| libgomp: 12.2.0-h65d4601_19 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| libnsl: 2.0.0-h7f98852_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| libsqlite: 3.40.0-h753d276_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| libstdcxx-ng: 12.2.0-h46fd767_19 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| libzlib: 1.2.13-h166bdaf_4 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| ncurses: 6.3-h27087fc_1 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| openssl: 1.1.1s-h166bdaf_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| pip: 21.3.1-pyhd8ed1ab_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| python: 3.6.15-hb7a2778_0_cpython https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| python_abi: 3.6-2_cp36m https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| readline: 8.1.2-h0f457ee_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| setuptools: 58.0.4-py36h5fab9bb_2 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| sqlite: 3.40.0-h4ff8645_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| tk: 8.6.12-h27826a3_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| wheel: 0.37.1-pyhd8ed1ab_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| xz: 5.2.6-h166bdaf_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge |
| |
| Proceed ([y]/n)? y |
| [root@master ~] |
| |
| |
| base * /home/software/anaconda3 |
| env_dev /home/software/anaconda3/envs/env_dev |
-
SSH Interpreter

-
Password

-
选择python3

-
查看依赖

-
测试成功
| import numpy as np |
| a = np.arange(1, 10) |
| print(a) |
| print(a.dtype) |
| b = a.astype("float") |
| print(b) |
| print(b.dtype) |
| |
| # 控制台输出 |
| [1 2 3 4 5 6 7 8 9] |
| int64 |
| [1. 2. 3. 4. 5. 6. 7. 8. 9.] |
| float64 |
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构
· 字符编码:从基础到乱码解决
· 提示词工程——AI应用必不可少的技术
2021-12-05 初始化一个vue项目
2021-12-05 构建cloud项目总结