conda

Conda environment is discoverable but not activateable (when activate is a bash alias)

喜你入骨 提交于 2019-12-10 17:10:30
问题 Conda version 4.2.9, from the anaconda3 4.2.0 installation for RedHat 4.4.7-1. [user@machine]$ conda info --envs # conda environments: # molr-py3 /home/user/anaconda3/envs/molr-py3 root * /home/user/anaconda3 [user@machine]$ source activate molr-py3 CondaEnvironmentNotFoundError: Could not find environment: molr-py3 . You can list all discoverable environments with `conda info --envs`. I'm not even sure what debugging steps to take in this case. I've verified that conda comes from the right

conda config change default env directory

寵の児 提交于 2019-12-10 17:04:45
问题 conda create -n EvnName python=3.6 keeps installing my Env in user home instead of the env directory of my Anaconda installation /data/anaconda3/envs conda info gives me Current conda install: platform : linux-64 conda version : 4.3.30 conda is private : False conda-env version : 4.3.30 conda-build version : not installed python version : 3.6.1.final.0 requests version : 2.14.2 root environment : /data/anaconda3 (read only) default environment : /data/anaconda3 envs directories : /data

Do newly created conda envs inherit all packages from the base env?

早过忘川 提交于 2019-12-10 13:37:22
问题 I installed Anaconda and created a new env ("dell_proj"). Then I created a new Project in Pycharm with my new environment. My expectation was that I would only be able to use packages in this project that I installed through Conda in that specific env, however, I am able to use all packages that were installed in the Base environment. Packages shown available in Conda for env Packages shown available in Pycharm for env Could somebody explain what I'm misunderstanding here? 回答1: You can create

Updating pip not working

会有一股神秘感。 提交于 2019-12-10 12:55:13
问题 I am in a bind. Conda keeps telling me to upgrade pip, however, when I run the conda update pip command, it says pip is fully updated. My exact terminal output is below: Anton-MacBook-Pro:~ anton$ conda update pip -p /Users/anton/anaconda/envs/py3k # All packages already at latest version, nothing to do. # packages in environment at /Users/anton/anaconda/envs/py3k: # # Warning: Your version of pip is older than what conda requires for pip # integration, so pip-installed packages will not be

Anaconda创建虚拟环境

China☆狼群 提交于 2019-12-10 10:53:32
1、conda -V 检验是否安装以及当前conda的版本。 2、conda常用的命令。 1)conda list 查看安装了哪些包。 2)conda env list 或 conda info -e 查看当前存在哪些虚拟环境 3)conda update conda 检查更新当前conda 3、创建python虚拟环境。 使用 conda create -n your_env_name python=X.X(2.7、3.6等) your_env_name文件可以在Anaconda安装目录envs文件下找到。 4、使用激活(或切换不同python版本)的虚拟环境。 打开命令行输入python --version可以检查当前python的版本。 使用如下命令即可 激活你的虚拟环境(即将python的版本改变)。 Linux: source activate your_env_name(虚拟环境名称) Windows: activate your_env_name(虚拟环境名称) 这是再使用python --version可以检查当前python版本是否为想要的。 5、对虚拟环境中安装额外的包。 使用命令conda install -n your_env_name [package]即可安装package到your_env_name中 6、关闭虚拟环境

数据分析

南楼画角 提交于 2019-12-10 10:08:34
文章目录 资源图 说明 下载链接 数据科学与计算 相关库 相关开发工具 Anaconda 下载与安装 虚拟环境 conda包管理器 Anaconda Navigator IPython 查看帮助 命令补全 魔法命令 who whos time timeit automagic history writefile(file) prun lprun memit mprun 单元格 命令模式与编辑模式 常用快捷键 命令模式 编辑模式 通用模式 Markdown 标题 无序列表 有序列表 LaTex spyder 资源图 说明 第一节看博客 后面的全发链接了 下载链接 地址 https://pan.baidu.com/s/1sH2_yKAGw6owg0qitVZVFA 数据科学与计算 相关库 numpy matplotlib pandas 相关开发工具 PyCharm Anaconda IPython Jupyter notebook Spyder 说明: IPython,Jupyter notebook与Spyder已集成在Anaconda中。 选择哪一款开发工具,取决于个人的偏好。 Anaconda Anaconda是Python的一个免费发行版本,适合在数据科学与机器学习领域的开发。其集成了Python解释器,同时也包含很多数据科学计算的软件包与开发工具。Anaconda具有两个版本

how to create a .condarc file for Anaconda?

谁都会走 提交于 2019-12-10 06:29:57
问题 I am trying to set up a proxy server in Anaconda because my firewall does not allow me to run online commands such as conda update I see online that I should create a .condarc file that contains the proxy address. Unfortunately, I dont know how to create that file (is it a text file?) and where to put it?! (in which folder? in the Anaconda folder?) Any help appreciated Thanks! 回答1: It is a text (YAML) file that goes in the home directory, or optionally, the root of the anaconda installation.

Anaconda is not creating full environment

自作多情 提交于 2019-12-10 06:02:45
问题 I'm trying to create a conda environment using git-bash and win10. I ran: $ conda create --name my_env The result looks like the screenshot above. Looking at other environments , I can see they normally look like: How can I fix this? 回答1: To create the environment with the Python executable, use one of: conda create --name my_env python # latest available python version conda create --name my_env python=3.7 # specific python version Without specifying packages, i.e. python as above, conda

`conda update --all` not updating Spyder

别说谁变了你拦得住时间么 提交于 2019-12-10 04:36:02
问题 I just installed Anaconda on a Windows 10 machine and the first thing I did thereafter was go into the Anaconda Prompt and run conda udpate conda and then conda update --all . As expected, it updated a lot of stuff. When I then ran Spyder, however, I got a pop-up saying that a new version of Spyder was available. What? I just updated everything. Checking conda list I see that sypder 3.2.4 is indeed installed, so I do the following: (base) C:\Users\Mark>conda update --all Solving environment:

PyQt5 and OpenCV have similar libraries; how to avoid conflict between the 2?

浪尽此生 提交于 2019-12-10 03:38:08
问题 I have PyQt5 and OpenCV in the same conda virtual environment. opencv-python==3.4.1.15 PyQt5==5.10.1 Whenever I run my PyQt5 app, I get many warnings like these: objc[7992]: Class QCocoaPageLayoutDelegate is implemented in both /Users/alexryan/miniconda3/envs/qacker/lib/python3.5/site-packages/cv2/.dylibs/QtGui (0x109ae0290) and /Users/alexryan/miniconda3/envs/qacker/lib/python3.5/site-packages/PyQt5/Qt/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport (0x10a387f20). One of the two will