conda

conda 国内镜像

╄→尐↘猪︶ㄣ 提交于 2019-12-29 15:12:24
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 前一段时间因为用conda装tensorflow太慢了,于是找conda国内源都说是关了,然后就把conda卸载只用pip了,这几天在装pytorch,然后竟然发现conda国内源恢复的消息,于是又试了下,感觉还可以,所以,又装回来了,毕竟环境管理还是很重要的。(警示:网上的信息可能有滞后,最新消息还是去源官网看:比如清华源: https://mirrors.tuna.tsinghua.edu.cn/news/#anaconda-restored) 废话少说,直接上操作: conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/ conda config --set show_channel_urls yes 然后搞定,pip国内源的修改见我上一篇博客: https://my.oschina.net/frank1126/blog/3142234 来源: oschina 链接: https://my.oschina.net

Error when installing keras in anaconda. /p KERAS_BACKEND= 0<temp.txt

为君一笑 提交于 2019-12-29 08:53:09
问题 I was creating a new env in anaconda and after installing spyder, tensorflow and theano I attempted to install keras but I got an error message (see below). Now I cannot even open spyder as it stops working. Spyder only works if I uninstall keras again. Do you have any idea what could be going on? I have another env in this same computer that works perfectly with the same packages installed. (py36) C:\Users\LeicaMicroscope>conda install -c conda-forge keras Solving environment: done ##

After updating conda I get a CommandNotFoundError for conda

我是研究僧i 提交于 2019-12-29 07:00:30
问题 After updating conda I can no longer run commands such as conda list , I now see the following error when I try a conda command: CommandNotFoundError: No command 'conda conda' The conda update was performed like so: $ conda update -n base -c defaults conda Collecting package metadata: ...working... done Solving environment: ...working... done ## Package Plan ## environment location: C:\home\miniconda added / updated specs: - conda The following packages will be downloaded: package | build ---

How to make Anaconda work behind HTTP proxy (not https)?

会有一股神秘感。 提交于 2019-12-29 05:46:05
问题 I'm having trouble working with Anaconda behind a proxy at work. When I have have the following environment variables: http_proxy: http://domain\username:password@corp.com:8080 https_proxy: https://domain\username:password@corp.com:8080 or just http_proxy: http://server\username:password@corp.com:8080 set up then git works. But Anaconda does not work. I'm trying to run conda update conda and I get: Could not connect to https://repo.continuum.io/pkgs.... Could not connect to https://repo

在mac上安装python版的hanlp/JPype1

拈花ヽ惹草 提交于 2019-12-29 05:43:13
安装python版的hanlp时老是出错,直接 pip install pyhanlp,会出现这个错误: In file included from native/common/jp_method.cpp:17: native/common/include/jpype.h:56:10: fatal error: 'map' file not found #include <map> ^~~~~ 1 warning and 1 error generated. error: command 'gcc' failed with exit status 1 最后的解决办法是参考: https://stackoverflow.com/questions/54016317/error-in-installing-jpype1-in-python-3-7-on-mac-os-10-14-2 先用conda安装gcc:   conda install gcc 再用conda安装jpype1:   conda install -c conda-forge jpype1 最后终于可以直接安装pyhanlp了   pip install pyhanlp 搞定 在python里验证一下:   from pyhanlp import * 然后会自动下载相关的库 来源: https://www

anaconda 使用说明

蓝咒 提交于 2019-12-28 13:13:37
1.创建环境 conda create -n stylegan python=3.6 2.删除环境 conda remove -n stylegan --all 3.进入环境 conda activate stylegan 4.退出环境 conda deactivate 3.输入conda list,查看cuda、cudnn版本 若版本不匹配,输入 conda install cudatoolkit=9.0 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64/ conda install cudnn=7.3.1 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/linux-64/ 再安装tensorflow pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow-gpu==1.10.0 来源: CSDN 作者: Enjoy lab and life 链接: https://blog.csdn.net/qq_33591712/article/details/103742985

How do I activate a conda env in a subshell?

让人想犯罪 __ 提交于 2019-12-28 06:59:27
问题 I've written a python program. And if I have a shebang like this one: #!/usr/bin/python and I make the file executable with: $ chmod 755 program.py I can run the program like so: $ ./program.py Here is the issue. I use the conda virtual environments. When I run the program like above, the system creates a subshell that does not recognize the active environment: (my_env) $ ./program.py ImportError: No module named pymongo If I do it this way, however... (my_env) $ python program.py # blah blah

Using (Ana)conda within PyCharm

旧城冷巷雨未停 提交于 2019-12-27 18:08:56
问题 I've got Pycharm 4 running on my Linux (Ubuntu 14.04) machine. In addition to the system python, I've also got Anaconda installed. Getting the two to play nicely together seems to be a bit of a problem... PyCharm provides some interesting integration for virtualenv s and pip , but the Anaconda Python distribution seems to prefer using its own conda tool for both activities. Is there a relatively simple/painless way to be able to use conda in conjunction with PyCharm? Not just as an

Using (Ana)conda within PyCharm

梦想的初衷 提交于 2019-12-27 18:07:05
问题 I've got Pycharm 4 running on my Linux (Ubuntu 14.04) machine. In addition to the system python, I've also got Anaconda installed. Getting the two to play nicely together seems to be a bit of a problem... PyCharm provides some interesting integration for virtualenv s and pip , but the Anaconda Python distribution seems to prefer using its own conda tool for both activities. Is there a relatively simple/painless way to be able to use conda in conjunction with PyCharm? Not just as an

How can I fix a “unable to find valid certification path to requested target” error using conda installed Java? [duplicate]

Deadly 提交于 2019-12-25 18:16:55
问题 This question already has answers here : Resolving javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed Error? (18 answers) Closed 4 months ago . I was using the command yesterday and it worked perfectly. I may have installed a different perl or ava but I'm not sure why this would cause the error. I've looked at the other examples of this on StackOverflow but it appears that they are applicable to web browsers. How can I fix this on a