Anaconda

I cannot run conda command /activate environment on ubuntu?

爱⌒轻易说出口 提交于 2021-02-10 19:41:36
问题 I have installed anaconda in ubuntu and am facing a problem with anaconda. I was running the following command in a conda environment: 271 pip install --user -r requirements.txt 272 cd .. 273 conda install ipython jupyter 274 conda install jupyter 275 python 276 sudo apt-get install python-vtk python-wxgtk2.6 python-setuptools python-numpy python-configobj 277 sudo apt-get install python-vtk python-wxgtk2.8 python-setuptools python-numpy python-configobj 278 conda install -c anaconda mayavi=

“ImportError: DLL load failed: The specified module could not be found” getting this error when doing object detection

和自甴很熟 提交于 2021-02-10 18:50:05
问题 from imageai.Detection import ObjectDetection import os execution_path = os.getcwd() --------------------------------------------------------------------------- ImportError Traceback (most recent call last) in () ----> 1 from imageai.Detection import ObjectDetection 2 import os 3 4 execution_path = os.getcwd() ~\Anaconda3\lib\site-packages\imageai\Detection__init__.py in () ----> 1 import cv2 2 3 from imageai.Detection.keras_retinanet.models.resnet import resnet50_retinanet 4 from imageai

How to clone an old python conda environment (when links to packages no longer work)

☆樱花仙子☆ 提交于 2021-02-10 17:26:44
问题 I have a new PC and I want to clone a Python environment from my older computer. I created the Python environment about two years ago using Anaconda 2 for Python 2.7. I am having trouble copying it exactly, because some of the packages are no longer available in the same versions and locations. I want to know if there is a way to copy the environment directly from one computer to another, rather than installing each package from a weblink (that in some cases no longer exists). I have tried

How to clone an old python conda environment (when links to packages no longer work)

我的未来我决定 提交于 2021-02-10 17:20:52
问题 I have a new PC and I want to clone a Python environment from my older computer. I created the Python environment about two years ago using Anaconda 2 for Python 2.7. I am having trouble copying it exactly, because some of the packages are no longer available in the same versions and locations. I want to know if there is a way to copy the environment directly from one computer to another, rather than installing each package from a weblink (that in some cases no longer exists). I have tried

How to use specific Java version from a conda environment inside of Jupyter notebook

瘦欲@ 提交于 2021-02-10 14:24:00
问题 My overall aim is to use sparklyr within an R Jupyter notebook on my Azure cloud service of Jupyter lab. I created a new conda environment with R, sparklyr and Java 8 (since this is the version supported by sparklyr) as follows: conda create -n r_spark r=3.6 r-essentials r-irkernel openjdk=8 r-sparklyr source activate r_spark R > IRkernel::installspec(user=TRUE, name="rspark", displayname="R (Spark)") When I run R within a terminal session within this environment, everything works fine: R >

[JupyterLab集成 R 语言-Centos]-解决 x11 服务连接失败问题

我们两清 提交于 2021-02-09 19:02:10
JupyterLab 集成 R 语言 JupyterLab作为一个交互式的Python开发环境,同时具备强大的可扩展能力,支持包括 Java、R 等其他语言进行交互式开发的能力,确实称的上是一代神器。 最近因为公司业务需要,所以花了几天时间调研了一下关于 JupyterLab 中集成 R 内核的方案,中间碰到了一个比较恶心的问题,就是在 centos 服务器上无图形化界面时 X11 服务连接不上的问题。 查询了许多的相关资料,只能说网上相关的文档写的都挺乱的,所以才写了这篇文章,希望能给各位有需要的朋友一些帮助。 我用的服务器是 Centos7,直接安装的 Anaconda 环境,安装 R 环境之前需要做的前缀操作就是要配置对应的 Anaconda 环境变量,然后按照如下步骤走安装即可。 安装 R 语言环境 安装对应 Linux 依赖 yum install -y gcc yum install -y gcc-gfortran yum install -y gcc-c++ yum install -y glibc-headers yum install -y libreadline6-dev gfortran yum install -y readline-devel yum install -y wget libXt-devel yum install -y fonts

conda找不到"current_repodata.json"的解决方案

微笑、不失礼 提交于 2021-02-09 11:34:23
我的conda版本是4.8.2,在进行常规操作的时候,比如创建一个虚拟环境,会报找不到 current_repodata.json 这个文件,这个时候,把路径“ Anaconda3/Library/bin “目录下的 libcrypto-1_1-x64.dll 和 libssl-1_1-x64.dll 拷贝到“ Anaconda3/DLLs ”目录下即可。 来源: oschina 链接: https://my.oschina.net/u/3915051/blog/4296082

No module named 'pandas_datareader' in Jupyter (Anaconda) after I run pip3 install pandas_datareader

▼魔方 西西 提交于 2021-02-09 09:21:50
问题 I am trying to learn pandas and want to load some stocks data. I was following a course which advised me to load pandas.io.data, but this did not work as io.data was depreciated. So I decided to use pandas-datareader instead. But I am struggling to instal it on mac in Anaconda (Jupiter notebook). First time I run import pandas_datareader as pdweb I got ModuleNotFoundError: No module named 'pandas_datareader'. Not surprising as I never used this before so I run pip3 install pandas_datareader

No module named 'pandas_datareader' in Jupyter (Anaconda) after I run pip3 install pandas_datareader

随声附和 提交于 2021-02-09 09:21:31
问题 I am trying to learn pandas and want to load some stocks data. I was following a course which advised me to load pandas.io.data, but this did not work as io.data was depreciated. So I decided to use pandas-datareader instead. But I am struggling to instal it on mac in Anaconda (Jupiter notebook). First time I run import pandas_datareader as pdweb I got ModuleNotFoundError: No module named 'pandas_datareader'. Not surprising as I never used this before so I run pip3 install pandas_datareader

No module named 'pandas_datareader' in Jupyter (Anaconda) after I run pip3 install pandas_datareader

感情迁移 提交于 2021-02-09 09:21:10
问题 I am trying to learn pandas and want to load some stocks data. I was following a course which advised me to load pandas.io.data, but this did not work as io.data was depreciated. So I decided to use pandas-datareader instead. But I am struggling to instal it on mac in Anaconda (Jupiter notebook). First time I run import pandas_datareader as pdweb I got ModuleNotFoundError: No module named 'pandas_datareader'. Not surprising as I never used this before so I run pip3 install pandas_datareader