conda

【环境配置】Ubuntu上安装skimage库

陌路散爱 提交于 2019-12-13 13:33:04
import skimage报错 在输入界面输入 conda install skimage 但是这个命令报错 这个意思就是目前找不到这个库,但事实上是有这个库的。它还有一个主页: skimage库的主页 。其实他的全称是ski-image。所以使用的命令应该是: conda install scikit-image 然后就可以安装完成了 来源: CSDN 作者: show me the code # 链接: https://blog.csdn.net/weixin_42544131/article/details/103524793

Configuring Keras to use Tensorflow instead of Theano

坚强是说给别人听的谎言 提交于 2019-12-13 13:30:47
问题 I'm trying to configure Keras install under an Anaconda virtualenv with all of that running under Ubuntu 17.04. I've installed keras-gpu via conda , and have generated a bootstrap ~/.keras directory by running python -c 'import keras' ; finally, I've updated my keras.json within that directory to include tensorflow as the backend rather than theano . I've also tried those steps with the regular, non-GPU keras available on conda . The issue I'm getting is that the backend option in my keras

Where does `conda` keep the installed packages on windows?

别来无恙 提交于 2019-12-13 09:42:19
问题 I installed python-graphviz using conda install python-graphviz on my Windows 10 machine. But the system complains about graphviz.backend.ExecutableNotFound: failed to execute ['dot', '-Tpdf'], make sure the Graphviz executables are on your systems' PATH So I want find the graphviz executable and add it to my path. 回答1: The conda packages are kept in %LOCALAPPDATA%\Continuum\Anaconda3\pkgs . Specifically, I found my version of graphviz in %LOCALAPPDATA%\Continuum\Anaconda3\pkgs\graphviz-2.38

Error while constructing custom Anaconda installer on Windows

蹲街弑〆低调 提交于 2019-12-13 03:57:07
问题 I am creating a custom Anaconda installer on Windows 10 64bit. I have created construct.yaml like : name : TensorFlowEnv version : 1.0.0 specs : - numpy channels : - https://conda.anaconda.org/anaconda/win-64 After running the construcor command , I am getting the following error platform: win-64 Collecting package metadata: done Solving environment: done Checking for duplicate files ... Checking for 'C:\Users\Equip\Anaconda3\envs\TensorFlowEnv\NSIS\makensis.exe' NSIS version: v3.01 Traceback

Where is the standard library in python virtual environment?

ぐ巨炮叔叔 提交于 2019-12-13 03:48:14
问题 I'm using Ubuntu system with python 3.5 installed by default. When I use the venv module to create virtual environment, I can't find the standard library in my virtual environment but only the binary file for python interpreter. However I can import standard library modules in my python script when I switch to use this virtual environment. So how does venv work? Does the newly created virtual environment just use the standard library of the system python? If so, what if I want to create a

Not able to import en_core_web_sm or Spacy

[亡魂溺海] 提交于 2019-12-13 03:47:12
问题 I am trying to import en_core_web_sm as independent package and also tried through spacy . But I am getting an error in ujson module in both case. Error : ModuleNotFoundError: No module named 'srsly.ujson.ujson' I installed en_core_web_sm through following command python -m spacy download en_core_web_sm Going by Spacy documentation it shall work. But it is not. I want to import en_core_web_sm . 回答1: srsly listed as a dependency so it should be installed. If it's not installed just install it

How to combine a function of alias with conda initialize in .bashrc

狂风中的少年 提交于 2019-12-13 03:46:56
问题 I need to combine two different parts in .bashrc My purpose is to initialize PYTHONPATH as empty before try to initialize conda. In .bashrc, there is conda initialize part. # >>> conda initialize >>> # !! Contents within this block are managed by 'conda init' !! __conda_setup="$('/home/me/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" if [ $? -eq 0 ]; then eval "$__conda_setup" else if [ -f "/home/me/anaconda3/etc/profile.d/conda.sh" ]; then . "/home/me/anaconda3/etc/profile.d/conda

HTTP error while using conda for installation of any packages

跟風遠走 提交于 2019-12-13 03:43:56
问题 CondaHTTPError: HTTP 000 CONNECTION FAILED for url onda-forge/linux-64/repodata.json> 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. SSLError(MaxRetryError('HTTPSConnectionPool(host=\'conda.anaconda.org\', port=44 3): Max retries exceeded with url: /conda-forge/linux-64/repodata.json (Caused b y SSLError(SSLError("bad handshake: Error([(\'SSL routines\', \'SSL23_GET_SERVER _HELLO\', \'unknown

虚拟环境

我的梦境 提交于 2019-12-13 03:35:48
linux 进入虚拟环境 source activate env_name 退出虚拟环境 source deactivate env_name 发现有错误 -bash: activate: No such file or directory 于是改为就可以了 conda deactivate 查看虚拟环境列表 conda env list 来源: CSDN 作者: qq_35366466 链接: https://blog.csdn.net/qq_35366466/article/details/103458362

cloning a virtual env into another directory using conda

我怕爱的太早我们不能终老 提交于 2019-12-13 03:23:31
问题 I am working on a shared server and trying to clone a virtual env myenv into my home directory . Here are some facts: myenv /path to my home directory/my profile/.conda/envs/myenv root * /opt/conda/4.6.14 I currently do not have permissions to install packages into the install area /opt/conda/4.6.14 and so I am trying to clone the myenv into my home directory using this command: conda create -n myenv_clone -p /path to my home directory/myprofile --clone=/opt/conda/4.6.14 However, this gives