conda

What's the latest conda version compatible with Google Colab

ε祈祈猫儿з 提交于 2019-12-22 13:03:01
问题 I need to use conda to install some library to use with Colab. It seems that we cannot use the latest Anaconda because its Python 3.7 isn't compatable. So what's latest compatible version for both Anaconda and Miniconda ? And how to install them? 回答1: The latest compatible versions are Anaconda 5.2.0 Miniconda 4.5.4 Here's how to install them. I use an example installing faiss from pytorch channel. !wget -c https://repo.continuum.io/archive/Anaconda3-5.2.0-Linux-x86_64.sh !chmod +x Anaconda3

PyCharm: ImportError when importing any module that imports ssl

我怕爱的太早我们不能终老 提交于 2019-12-22 10:46:18
问题 I am unable to debug code or run a Python console due to an inability to import ssl . I get this behavior when using two Anaconda virtual environments I have created. For example when I attempt to debug Python code that uses boto3 I see the following error: C:\home\miniconda\envs\scw\python.exe "C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev\pydevd.py" --multiproc --qt-support=auto --client 127.0.0.1 --port 57111 --file C:/home/git/onvif_interact/onvif_interact

How to resolve: ModuleNotFoundError: No module named 'google.colab'

你。 提交于 2019-12-22 08:18:51
问题 I want to run the command: from google.colab import auth But I am getting this error: ModuleNotFoundError: No module named 'google.colab' This is required for accessing files on google drive from python. There is a package google but not module colab in it. How to resolve this error? 回答1: AFAIK, you can execute the module 'google.colab' from within colab.research.google.com Looking at the tag conda in your question. I assume that you are running the code from your local machine. Please make

remove anaconda R from Ubuntu

自作多情 提交于 2019-12-22 07:49:12
问题 I have been using ipython notebook to run some R scripts. Now the problem is I have two R versions on my Ubuntu 14.04. One is R.3.2.2 at /home/MYNAME/anaconda2/bin/R , another one is the R which I need for R studio, now the problem is I want to only use R.3.3.1 for my system as I need some advanced task to be done. I use conda uninstall r , after running this, according to the print out, a lot of R related packages is removed, if i run conda uninstall r again, it said Fetching package

Wrong pip in conda env

空扰寡人 提交于 2019-12-22 05:57:09
问题 I have a conda env called birdid. While working in the env (i.e. I did source activate bird_dev ), showing the list of the packages give (bird_dev)...$ conda list # packages in environment at /home/jul/Development/miniconda/envs/bird_dev: # ... pep8 1.6.2 py27_0 pip 7.1.2 py27_0 pixman 0.26.2 0 ... but when trying to see what pip is used I get (bird_dev)...$ which pip /usr/local/bin/pip while the correct python is found (bird_dev)...$ which python /home/jul/Development/miniconda/envs/bird_dev

portable conda environment as a binary tarball

谁说胖子不能爱 提交于 2019-12-22 05:43:14
问题 I am trying to build a portable conda environment. So we can tarball and distribute it to another server or many servers later. Place where we build environment and where it'll be deployed later are two different places. I noticed that conda create and conda install both hard-code environment location into shebang of all the installed scripts under environment_path\bin - is there is a way to override that? We have to use deployment location and not build location for that environment in

How to install Apache Toree for Spark Kernel in Jupyter in (ana)conda environment?

ぐ巨炮叔叔 提交于 2019-12-22 05:18:10
问题 I am trying to install Jupyter-support for Spark in a conda environment (which I set up using http://conda.pydata.org/docs/test-drive.html) of the anaconda distribution. I am trying to use apache toree as Jupyter Kernel for this. Here is what I did after I installed Anaconda: conda create --name jupyter python=3 source activate jupyter conda install jupyter pip install --pre toree jupyter toree install Everything worked fine until I reached the last line. There I get PermissionError: [Errno

Set environment variables in `environment.yml`

故事扮演 提交于 2019-12-22 03:48:35
问题 Can I set environment variables in environment.yml files in conda environments? Conda lets me save environment variables in environments via the env_vars.sh script, but is there a way to automate the process of creating env_vars.sh files in the activate.d , deactivate.d directories according to some specification of environment variables within environment.yml , for a reproducible environment with, say, MKL_THREADING_LAYER=GNU ? 回答1: Current Status (Conda v4.7.12) No, it is not possible to

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

£可爱£侵袭症+ 提交于 2019-12-22 02:04:49
问题 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

List installed files of a package?

自闭症网瘾萝莉.ら 提交于 2019-12-22 02:01:26
问题 I've done my homework: searched, tried and read conda documentation. However, I could not find the answer to this seeming common and simple task: List files that belong to an installed package. How do I do that? My conda version: conda 4.3.30 I've looked at list, info, search, and package subcommands. My use cases for this: When a package 'A' installed another package 'B' as its dependency. But B has a bug, or the installation somehow broken, I want to check which files B installed. An