conda

How can I avoid PROJ_LIB error in importing basemap?

偶尔善良 提交于 2020-01-13 11:09:14
问题 I tried to import basemap as follows in Python: from mpl_toolkits.basemap import Basemap and I get the following error: Traceback (most recent call last): File "<ipython-input-16-880204a64918>", line 2, in <module> from mpl_toolkits.basemap import Basemap File "C:\Users\bakhadher\AppData\Local\Continuum\anaconda3\lib\site-packages\mpl_toolkits\basemap\__init__.py", line 155, in <module> pyproj_datadir = os.environ['PROJ_LIB'] File "C:\Users\bakhadher\AppData\Local\Continuum\anaconda3\lib\os

How can I avoid PROJ_LIB error in importing basemap?

故事扮演 提交于 2020-01-13 11:09:08
问题 I tried to import basemap as follows in Python: from mpl_toolkits.basemap import Basemap and I get the following error: Traceback (most recent call last): File "<ipython-input-16-880204a64918>", line 2, in <module> from mpl_toolkits.basemap import Basemap File "C:\Users\bakhadher\AppData\Local\Continuum\anaconda3\lib\site-packages\mpl_toolkits\basemap\__init__.py", line 155, in <module> pyproj_datadir = os.environ['PROJ_LIB'] File "C:\Users\bakhadher\AppData\Local\Continuum\anaconda3\lib\os

How to add applications to Anaconda Navigator

跟風遠走 提交于 2020-01-13 10:19:30
问题 I installed Anaconda Navigator on both my Windows and Linux machines. On my Linux machine, the My Applications section of Anaconda Navigator showed the options I expected - IPython/Jupyter Notebook, Spyder, etc., but nothing popped up on my Windows. How do I add applications to the navigator? Btw, I also have Launcher installed on Windows and it gives me all the same applications I expect to see in the navigator. Is having this messing things up? 来源: https://stackoverflow.com/questions

Cloning Conda root environment does not clone conda and condo-build

一个人想着一个人 提交于 2020-01-13 08:32:09
问题 I'm using conda 4.2.9 on OS X El Capitan 10.11.4. I cloned the root env with the command: conda create -n rootclone --clone root and it gave the following message: The following packages cannot be cloned out of the root environment: - conda-4.2.9-py35_0 - conda-build-2.0.2-py35_0 Will this be a problem? 回答1: Conda only works from the root environment. So cloning the conda part is not possible. Even when you have a different environment activated, the command conda will be the one from root.

CondaValueError: Value error: prefix already exists:

▼魔方 西西 提交于 2020-01-13 03:13:06
问题 Reference: https://uoa-eresearch.github.io/eresearch-cookbook/recipe/2014/11/20/conda/ I've run the following commands to install conda and create a virtual environment. Continue reading after code block for my question. C:\Windows\System32>conda -V conda 4.1.11 C:\Windows\System32>conda update conda Fetching package metadata ......... Solving package specifications: .......... Package plan for installation in environment C:\Program Files\Miniconda2: The following packages will be downloaded:

从零开始搭建NLP Linux开发环境:Ubuntu18.04双系统,中文输入法,pycharm,anaconda,nvida驱动,cuda,cudnn,pytorch,allennlp

你。 提交于 2020-01-13 01:15:11
写在前面 2020年配置深度学习开发环境,除了有几个坑之外,安装过程是简单的,网上繁琐的方法,反而有可能是过时甚至危险的。 这篇博客的目的是结合几个精华博客,说明原理与坑点,帮助对操作系统不太熟悉的小伙伴们顺利安装。 安装Win10+Ubuntu双系统 电脑是华硕飞行堡垒,1060,1T机械硬盘。 根据 https://blog.csdn.net/github_37603222/article/details/70833565 名词: 启动盘指的是在安装过程中使用到的文件,类似于早年系统光盘,可以使用u盘制作,也可以在磁盘上分区为启动盘。 主要过程如下,请参照链接查看具体过程。 首先关闭快速启动,然后 下载Ubuntu镜像(官网)和easy uefi破解版(百度) 使用Win10自带分区工具,分两个区:Ubuntu启动盘(Disk1 4G Fat32)和Ubuntu安装盘(Disk2,80G,未分配),前者用于uefi启动并安装系统到Disk2,后者是Ubuntu系统盘,在后面会分配给Ubuntu。 将下载的Ubuntu镜像解压到Disk1,作为启动盘。 打开easy uefi,设置Disk启动项并调整为第一顺位,这样在重启后会从Disk1启动 重新启动,进入Disk1的临时安装系统。 首先umount(取消挂载) /dev/sdax,这个x需要自动补全,这个设备就是你的安装盘

Anaconda 安装+使用+换源+更新

假如想象 提交于 2020-01-12 08:46:40
anaconda官网下载安装:https://www.continuum.io/downloads/ anaconda用法: 查看 已经安装的包: pip list 或者 conda list 安装和更新 : pip install requests pip install requests --upgrade 或者 conda install requests conda update requests 更新 所有库 conda update --all 更新 conda 自身 conda update conda 更新 anaconda 自身 conda update anaconda 卸载 由于Anaconda的安装文件都包含在一个目录中,所以直接将该目录删除即可。删除整个Anaconda目录: rm -rf anaconda 最后,建议清理下.bashrc中的Anaconda路径。 anaconda 换源 : 制定清华的源: conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ 有资源显示源地址: conda config --set show_channel_urls yes Linux和Mac下生成的配置文件路径:~/.condarc

如何在Jupyter Notebook切换conda环境

别等时光非礼了梦想. 提交于 2020-01-11 23:31:36
1. 在你的jupyter notebook环境安装nb_conda_kernels conda install -n notebook_env nb_conda_kernels 2. 如果你用的python,在你要导入的conda环境下安装ipykernel conda install -n python_env ipykernel 3. 如果你用的R,则 conda install -n r_env r-irkernel 4. 启动Jupyter Notebook from: https://github.com/Anaconda-Platform/nb_conda_kernels 来源: CSDN 作者: _likyoo 链接: https://blog.csdn.net/li_k_y/article/details/103940106

jupyter notebook 在mac OS上的安装

心不动则不痛 提交于 2020-01-11 02:05:52
一、关于Anaconda python中有很多包,类似于java中的jar包,java中用maven、gradle来管理依赖的jar包,而在python中类似的工具就是anaconda(当然还有其它工具,但anaconda/conda比较流行)。直接到官网 https://www.anaconda.com/download/#macos 下载安装文件,一路next即可。安装完成后,一般会在 ~/anaconda/bin 下生成很多可执行的命令。 二、启动jupyter-notebook 进入anaconda根目录,终端下输入: bin/jupyter-notebook 就能启动jupyter-notebook,如下图: 点击右上角的New->Python3 就能开始耍了, 三、conda与env(环境) 就好象maven可以分很多profile一样,conda可以在一个机器上设置多个环境,每个环境对应不同的包管理,比如:python有2.x与3.x二个大版本,可以建二个环境,一个运行python2.x,一个运行python3.x,常用的几个命令如下: 3.1 查看本机所有环境 conda info --env 或简写为 conda info -e 3.2 创建环境 conda create -n v_2_7 python=2.7 这样就创建了1个名为v_2_7的环境

Weird repeated sequence printed to console when installing packages through conda

心已入冬 提交于 2020-01-10 14:07:44
问题 My system specs: C:\Users\Lenovo>conda info Current conda install: platform : win-64 conda version : 4.3.8 conda is private : False conda-env version : 4.3.8 conda-build version : 1.21.3 python version : 3.5.2.final.0 requests version : 2.12.4 root environment : C:\Anaconda3 (writable) default environment : C:\Anaconda3 envs directories : C:\Anaconda3\envs package cache : C:\Anaconda3\pkgs channel URLs : https://repo.continuum.io/pkgs/free/win-64 https://repo.continuum.io/pkgs/free/noarch