conda

I'm trying to update conda and get PermissionError(13, 'Access is denied')

余生颓废 提交于 2020-01-01 19:53:10
问题 I would like to update conda, anaconda, and python to the latest versions. I executed the following commands and received the following prompts. What's happening and how can I fix this? I appreciate the help C:\Users\nabr>conda update --all Solving environment: done ==> WARNING: A newer version of conda exists. <== current version: 4.4.10 latest version: 4.5.11 Please update conda by running $ conda update -n base conda # All requested packages already installed. C:\Users\nabr>conda update -n

SnakeMake rule with Python script, conda and cluster

你。 提交于 2020-01-01 17:56:05
问题 I would like to get snakemake running a Python script with a specific conda environment via a SGE cluster. On the cluster I have miniconda installed in my home directory. My home directory is mounted via NFS so accessible to all cluster nodes. Because miniconda is in my home directory, the conda command is not on the operating system path by default. I.e., to use conda I need to first explicitly add this to the path. I have a conda environment specification as a yaml file, which could be used

Library not loaded: @rpath/libopenblasp-r0.2.19.dylib

久未见 提交于 2020-01-01 17:08:10
问题 How should I fix this? Monas-MacBook-Pro:02_02 mona$ python Python 3.6.1 |Anaconda custom (x86_64)| (default, May 11 2017, 13:04:09) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import cv2 Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: dlopen(/Users/mona/anaconda/lib/python3.6/site-packages/cv2.cpython-36m-darwin.so, 2): Library not loaded: @rpath/libopenblasp-r0

Why doesn't VSCode activate conda before starting the debugger?

你说的曾经没有我的故事 提交于 2020-01-01 16:55:51
问题 When I start the debugger in VSCode, the conda environment only gets activated after the debugging process has stopped with a "Missing required dependencies" import error. Immediately restarting the debugger works fine then. This problem occurs with the Anaconda "base" and other environments. Test code: import_pandas.py import pandas print("Pandas import succeeded!") VSCode Python Debug Console: Microsoft Windows [Version 10.0.16299.1146] (c) 2017 Microsoft Corporation. All rights reserved. C

Viewing history of conda transactions?

元气小坏坏 提交于 2020-01-01 11:58:05
问题 Is there a way of viewing past conda transactions? For instance, a history of all conda install actions I did in the current environment would be great. Thanks 回答1: There is a --revisions | -r flag for this. conda list --revisions Check the conda list --help for more info. If you'd like an exact history, there is a conda-meta/history log in every env. You could, for example, pull out every command ever executed in an env, plus a timestamp, using grep -B1 "^# cmd" my_env/conda-meta/history 来源:

Update all pip packages that don't come from conda

不羁的心 提交于 2020-01-01 09:44:28
问题 On my windows 7 system I try to install as many packages using conda. These are easy to update with conda update all Unfortunately some packages don't appear in conda but are available through pip and so for those I install them using pip. Updating all pip packages on windows seems more difficult but for /F "delims===" %i in ('pip freeze -l') do pip install -U %i is one way I found. However, this attempts to update all packages, even those installed by conda I believe. Is there some way to

install tensorflow with specific version on Anaconda

微笑、不失礼 提交于 2020-01-01 09:35:12
问题 Tensorflow has multiple versions, if I want to install a specific version in Anaconda, which command should I use. 回答1: This is probably the simplest way to do it: pip install --ignore-installed --upgrade tensorflow==1.4 If you want to see all available versions, you can check out https://pypi.python.org/pypi/tensorflow/json I would highly recommend you use virtualenv or conda to isolate your tensorflow installation, especially if you want to play-test different versions and the CPU/GPU

Use pip or conda to manage packages?

[亡魂溺海] 提交于 2020-01-01 05:09:14
问题 I have been doing machine-learning for quite a long time using matlab and have recently switched to python and for installing certain packages used its package manager pip and successfully installed many packages. A few days ago I started using conda and all my previously installed packages are getting overridden. I really want to know the difference between pip and conda and what happens if I use pip to install packages instead of conda? 回答1: pip and conda have common points and differences.

There is an instance of anaconda navigator already running error

纵然是瞬间 提交于 2020-01-01 02:37:05
问题 Previously my anaconda navigator was not responding so I have rebooted my computer and now when I am trying to open anaconda navigator it pop-ups an error with "there is an instance of anaconda navigator already running". OS: Windows 10 回答1: I met the same problem a few days ago. I found the anaconda navigator will start a process called pythonw . So the following is my solution: open a cmd window; use command tasklist | findstr "pythonw" to find the pid of pythonw, like 37200; use command

配置运行运行Mask-RCNN

一世执手 提交于 2020-01-01 01:21:22
运行Mask-RCNN 一定要主要版本!! tensorflow 1.4 keras 2.1.5 gpu版本更要和cuda 和cudnn 版本相对应!! 还有如何在虚拟环境上运行jupyter notebook? conda install nb_conda object detection还没学会运用。。 版本太坑 官方自己给的2.0例子,里面的代码却不支持2.0的语法?? 还有protoc记得装3.0版本 使用zip的版本 sudo apt-get install unzip unzip protoc-3.6.1-linux-x86_64.zip -d protoc-3.6.1-linux-x86_64 linux下直接使用zip安装 然后我们编译的时候直接 /[…新安装的protoc路径]/protoc ***** PATH先不设置,用的时候直接这样用 来源: CSDN 作者: 陈浩天就是我 链接: https://blog.csdn.net/weixin_41571247/article/details/103749130