conda

conda常用命令

随声附和 提交于 2019-12-05 02:17:49
conda常用命令 conda 查看 conda 版本号 conda -V conda –version 环境管理 查看当前有哪些环境 conda env list 或 conda info -e 实际执行命令示例: ➜ ~ conda env list conda environments: # base * /anaconda3 flaskdev /anaconda3/envs/flaskdev pythonRoad /anaconda3/envs/pythonRoad test_py2 /anaconda3/envs/test_py2 ➜ ~ conda info -e conda environments: # base * /anaconda3 flaskdev /anaconda3/envs/flaskdev pythonRoad /anaconda3/envs/pythonRoad test_py2 /anaconda3/envs/test_py2 查看环境管理的命令帮助 conda env -h 创建环境 conda create –name your_env_name 创建指定 python 版本的环境 conda create –name your_env_name python=2.7 conda create –name your_env_name

conda 按照指定源下载python包

会有一股神秘感。 提交于 2019-12-05 02:16:45
conda 按照指定源下载python包 换成了国内的pip源就可以正常安装了,我使用的是:pip install xlrd -i http://pypi.douban.com/simple --trusted-host pypi.douban.com,结果:Duang!Duang!Duang~成功 1) http://mirrors.aliyun.com/pypi/simple/ 阿里云 2) https://pypi.mirrors.ustc.edu.cn/simple/ 中国科技大学 3) http://pypi.douban.com/simple/ 豆瓣 4) https://pypi.tuna.tsinghua.edu.cn/simple/ 清华大学 5) http://pypi.mirrors.ustc.edu.cn/simple/ 中国科学技术大学 pip install 包名 -i http://pypi.douban.com/simple --trusted-host pypi.douban.com 来源: https://www.cnblogs.com/xiao-xue-di/p/11897152.html

学习笔记—命令行前边出现base

▼魔方 西西 提交于 2019-12-05 02:08:33
问题: 命令行开头出现base (base) lihongzhang:~ home$ 原因: 安装了conda引起的,默认启动命令行即自动进去conda环境 解决办法: 方法1 : 退出conda环境: (base) lihongzhang:~ home$ conda deactivate lihongzhang:~ home$ 缺点:重新打开命令行依然有base出现 方法2 : 更改自动进入conda环境的设置为false (base) lihongzhang:~ home$ conda config --set auto_activate_base false、 要想重新进去conda环境: lihongzhang:~ home$ conda activate 原文链接:https://blog.csdn.net/weixin_45548406/article/details/100147707 来源: https://www.cnblogs.com/hechangchun/p/11896944.html

Push and pull my conda environment using git

China☆狼群 提交于 2019-12-05 02:04:58
问题 I have a git repo with my project. I change my conda environment quite frequently, so I want my repo to track changes in the environment, and to be able to push the most recent one and pull it in another computer. Is it possible? I search and find several solutions (e.g. https://tdhopper.com/blog/my-python-environment-workflow-with-conda/) but none provide an automatic changes-tracking. Meaning, I want to include any changes I make in my environment into the project's repository. Like adding

How to Fix Entry Point Not Found while installing libraries in conda environment

余生颓废 提交于 2019-12-05 01:46:31
I'm working on anaconda by making multiple environments in it. I have made any environment camelot so now I want to install in different libraries in this environment. So for example I install pandas in this environment(camelot), I'm writing: conda install pandas or conda install -c conda-forge camelot-py Then it gives me error: python.exe-Entry Point Not Found The procedure entry point OPENSSL_sk_new_reserve could not be located in the dynamic link library. C:\Users\abc\Anaconda3\Library\bin\libssl11_-x64.dll First I thought it may be error because of environment-variable, I Set environment

Conda (Python) Virtual Environment is not Portable from Windows to Linux

眉间皱痕 提交于 2019-12-05 01:42:27
On my Windows 10 machine, I created a virtual environment using the following command: >conda env export > environment.yml I tried re-creating the virtual environment using the yml file on the Windows system and it worked fine. Then I transferred environment.yml to my Linux machine (Ubuntu 16.04.1) with the same version of conda and python and ran the following in the terminal: $ conda env create -f environment.yml I get the following error: Using Anaconda Cloud api site https://api.anaconda.org Fetching package metadata ....... Solving package specifications: . Error: Packages missing in

手把手教你如何在阿里云ECS搭建Python TensorFlow Jupyter

 ̄綄美尐妖づ 提交于 2019-12-05 00:53:28
前段时间在阿里云买了一台服务器,准备部署网站,近期想玩一些深度学习项目,正好拿来用。TensorFlow官网的安装仅提及Ubuntu,但我的ECS操作系统是 CentOS 7.6 64位,搭建Python、TensorFlow、Jupyter开发环境过程中遇到很多问题。这里将具体步骤分享给大家,可以少走很多弯路。 第一步 安装anaconda Anaconda在linux依然功能强大,管理工具包、开发环境、Python版本都非常方便。 先在根目录下创建一个文件夹用于存放Anaconda安装包 ~# mkdir anaconda ~# cd anaconda 为保障下载速度,建议选择清华大学镜像站 https://mirrors.tuna.tsinghua.edu.cn 选择版本,复制链接 anaconda目录下运行: wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-2019.03-Linux-x86_64.sh 这里可能会报错,多半是无法解析主机地址,也即DNS解析的问题。 解决办法: 登入root sudo vim /etc/resolv.conf 修改内容为下 nameserver 8.8.8.8 nameserver 8.8.4.4 切换到anaconda3所在文件位置 # bash

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.continuum.io/pk gs/r/win-64/repodata.json.bz2>

♀尐吖头ヾ 提交于 2019-12-05 00:50:49
I need to install tensorflow and was trying to add up environment first. But I get HTTP Connection Failed error. I'm behind a corporate proxy and already defined them well in .condarc file. Here is the error I'm getting: C:\Users\Rahul\Downloads>conda create -n tensorflow python=3.6 anaconda Solving environment: failed CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.continuum.io/pk gs/r/win-64/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. ConnectionError

Anaconda: ModuleNotFoundError: No module named 'conda'

限于喜欢 提交于 2019-12-05 00:46:32
问题 Please note this error is different than what shows up (and has answer) in stackoverflow. It is definitely not duplicated. I have seen this error before and has been able to fix it by modifying the PATH to include conda's path like below: export PATH=/opt/cloudera/parcels/Anaconda/bin:$PATH echo $PATH /opt/cloudera/parcels/Anaconda/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/git/bin:/home/rxie/bin For unknown reason, the error pops up again here, and doesn't go away even after

Install Plotly in Anaconda

佐手、 提交于 2019-12-05 00:38:34
How to install Plotly in Anaconda? The https://conda.anaconda.org/plotly says to conda install -c https://conda.anaconda.org/plotly <package> , and The https://plot.ly/python/user-guide/ says to pip install plotly . I.e., without package. So which packages I should specify in Anaconda conda? I tried without one and get errors: C:\>conda install -c https://conda.anaconda.org/plotly Error: too few arguments, must supply command line package specs or --file If you don't care which version of Plotly you install, just use pip . pip install plotly is an easy way to install the latest stable package