Anaconda

conda update scikit-learn (also scipy and numpy)

爷,独闯天下 提交于 2020-01-21 12:27:14
问题 I think I have made a mess using pip install when I am supposed to use conda. As a result I couldn't update the scikit-learn package to the latest version. I uninstalled scikit-learn with both conda and pip, and then installed again using conda but now I have issue import sklearn: Python 2.7.11 |Anaconda custom (x86_64)| (default, Dec 6 2015, 18:57:58) [GCC 4.2.1 (Apple Inc. build 5577)] on darwin Type "help", "copyright", "credits" or "license" for more information. Anaconda is brought to

vscode上几个好用的python插件

南楼画角 提交于 2020-01-21 09:25:31
vscode上几个好用的python插件 Bracket Pair Colorizer 主要作用是增色,方便区分不同元素,用户可自行选择需要匹配的元素和相应的颜色。 Code Spell Checker 一个英文拼写检查器,主要帮助写正确变量名和注释 233333 Guides 缩进标识器,对不同的缩进进行不同的明显标识,对大量的python代码来说很有用。 Vscode-icons 增强型文件图标,说是为了醒目,其实还是为了好看 emmm… Anaconda Extension Pack 这个主要为了给使用Anaconda的人让vscode识别第三方库,来进行相关代码提示等。 来源: CSDN 作者: EatonL 链接: https://blog.csdn.net/bazhidao0031/article/details/104057410

Anaconda中出现 ImportError: No module named conda.cli

做~自己de王妃 提交于 2020-01-21 07:42:50
Traceback ( most recent call last ) : File "/home/name/anaconda3/bin/conda" , line 7 , in < module > from conda . cli import main ImportError : No module named conda . cli 在修改anaconda的虚拟变量时,忘记激活虚拟环境直接装在了本地环境中,修改了python的版本,导致conda一系列命令都不能使用。这里就按照网上的方法以及个人的经验做个归纳。 1.直接使用 bash -u 命令重新安装anaconda一遍 比如abc.sh 是你的本地anaconda安装包使用命令 bash abc . sh - u 2.一般用1方法重装之后就解决问题了,要是这里是本地的机器也就是root用户也可以在别的地方重新安装anaconda环境,然后将anaconda里面对应的bin文件拷贝进去,如果是非root用户会存在权限问题 所以还是会回到第一步 3.我第一遍使用1方法的时候没有起到效果,而后续也再次安装也失败。所以,我先把bin文件里的文件按照2的方法进行了修改,再使用1方法安装时,就成功地完成了覆盖安装。再次检查环境时,一切正常。 来源: CSDN 作者: Outhbreaker 链接: https://blog

Conda build R package fails at C compiler issue on MacOS Mojave

风格不统一 提交于 2020-01-21 05:47:28
问题 I'm trying to install an R package called treatSens with conda to use it in Jupyter notebook. The commands I executed: conda install conda-build conda skeleton cran treatSens conda build r-treatsens conda install -c local r-treatsens And I got the error about C compiler * installing *source* package ‘dbarts’ ... ** package ‘dbarts’ successfully unpacked and MD5 sums checked checking for gcc... x86_64-apple-darwin13.4.0-clang checking whether the C compiler works... no configure: error: in `

Pycharm中使用Anaconda的python环境 - Python

冷暖自知 提交于 2020-01-21 05:13:59
Anaconda(官方网站)就是可以便捷获取包且对包能够进行管理,同时对环境可以统一管理的发行版本。Anaconda包含了conda、Python在内的超过180个科学包及其依赖项 1. Anaconda安装 官网下载: https://www.anaconda.com/ 正常安装即可 2. Pycharm的配置 2.1 打开Pycharm的setting -> Project Interpreter 2.2 点开三个点后 Show All -> 点+号弹出Project Interpreters(项目解释器) 2.3 按照图示操作, 完成点击ok, 此时Pycharm就配置上Anaconda的Python解释器了 完场后的样子: 3. 本地Python的环境变量使用Anaconda 首先进入系统环境变量配置页面, 找到Path, 首先安装Python环境的时候, 可能自动添加了环境变量, 这是可以删了它, 默认的安装位置在(忘了…, 评论区写一下, …找不到了) 选择Anaconda的安装位置, 它的里面有python.exe, 这是cmd输入python时弹出的就是Anaconda的python环境了. 来源: CSDN 作者: -Clearlight 链接: https://blog.csdn.net/qq_36852780/article/details/104029305

Where is Qt designer app on mac + Anaconda?

柔情痞子 提交于 2020-01-20 17:28:47
问题 Can you guys help me find Qt designer app on mac. I installed anaconda package and conda reports that qt, sip, and pyqt are installed. Still I couldn't find the designer app in any of the folders. My python app that uses pyqt works perfectly. I'm very new to macs and probably missing something very simple. I did search folder tree for anything named designer. I found QtDesigner.so (supposed to be executable?) at /Users/XXXX/anaconda/pkgs/pyqt-4.10.4-py27_0/lib/python2.7/site-packages/PyQt4

Where is Qt designer app on mac + Anaconda?

核能气质少年 提交于 2020-01-20 17:28:10
问题 Can you guys help me find Qt designer app on mac. I installed anaconda package and conda reports that qt, sip, and pyqt are installed. Still I couldn't find the designer app in any of the folders. My python app that uses pyqt works perfectly. I'm very new to macs and probably missing something very simple. I did search folder tree for anything named designer. I found QtDesigner.so (supposed to be executable?) at /Users/XXXX/anaconda/pkgs/pyqt-4.10.4-py27_0/lib/python2.7/site-packages/PyQt4

Where is Qt designer app on mac + Anaconda?

 ̄綄美尐妖づ 提交于 2020-01-20 17:28:07
问题 Can you guys help me find Qt designer app on mac. I installed anaconda package and conda reports that qt, sip, and pyqt are installed. Still I couldn't find the designer app in any of the folders. My python app that uses pyqt works perfectly. I'm very new to macs and probably missing something very simple. I did search folder tree for anything named designer. I found QtDesigner.so (supposed to be executable?) at /Users/XXXX/anaconda/pkgs/pyqt-4.10.4-py27_0/lib/python2.7/site-packages/PyQt4

jupyter notebook添加Anaconda虚拟环境的python kernel

陌路散爱 提交于 2020-01-19 12:51:21
参考 https://www.cnblogs.com/yinzm/p/7881328.html conda create -n py3 python=3 # 创建一个python3的环境,名为py3 source activate py3 # 激活py3环境 conda install ipykernel # 安装ipykernel模块 python -m ipykernel install --user --name py3 --display-name "py3" # 进行配置 jupyter notebook # 启动jupyter notebook,然后在"新建"中就会有py3这个kernel了 来源: CSDN 作者: CHOSEN、1 链接: https://blog.csdn.net/weixin_40512640/article/details/104038353

difference between command prompt and anaconda prompt

偶尔善良 提交于 2020-01-19 04:46:38
问题 I installed anaconda into my computer using python. After I install the software, I found there is one program called anaconda prompt. What is the difference between anaconda prompt and command prompt? If I want to update the package, which one I should use or either one. Like (conda update conda) Thank you 回答1: Anaconda command prompt is just like command prompt, but it makes sure that you are able to use anaconda and conda commands from the prompt, without having to change directories or