文章预览
在Anaconda中conda可以理解为一个工具,也是一个可执行命令,其核心功能是包管理与环境管理。所以对虚拟环境进行创建、删除等操作需要使用conda命令。 ‣ **conda 本地环境常用操作** ================== ``` #获取版本号 conda --version 或 conda -V #检查更新当前conda…
文章
标签
喜欢
共找到 7 篇相关文章
文章预览
在Anaconda中conda可以理解为一个工具,也是一个可执行命令,其核心功能是包管理与环境管理。所以对虚拟环境进行创建、删除等操作需要使用conda命令。 ‣ **conda 本地环境常用操作** ================== ``` #获取版本号 conda --version 或 conda -V #检查更新当前conda…
文章预览
Anaconda 是一个用于科学计算的 Python 发行版, 包含了众多流行的科学计算、数据分析的 Python 包。
这里整理了2023年好用conda和pip国内镜像。
pip国内源设为默认,做法是:
清华pip镜像
-------
>
> pip config set global.index-url
文章预览
To create a virtual environment in Python, you can use the `venv` module that comes included with Python. Here are the steps to create a virtual environment: 1. Open up your ter…
文章预览
To leave or deactivate a Python virtualenv, you can use the `deactivate` command. This will return you to the system's default Python environment. Depending on your operating sy…
文章预览
To export a Python environment, you can use the `conda env export` command if you are using Conda, or you can use the `pip freeze` command if you are using pip. If you are usin…
文章预览
To install a third-party library in Jupyter Notebook, you can use the `!pip` or `!conda` command. Simply type the following command in a Notebook cell: ``` !pip install package…
文章预览
To set up a third-party mirror for Conda, you can use the following steps: 1. Create a `.condarc` file in your home directory if it doesn't already exist. 2. Add the following l…