Anaconda

解决在Anaconda中的cv2在pycharm中不可使用的问题

走远了吗. 提交于 2020-02-07 14:38:47
在Anaconda中已经安装好的opencv模块在pycharm中却不能正常使用,后来发现是pycharm使用的python环境中没有opencv的包,解决方法有两种: 方法一 在pycharm的设置中找到project Interpreter选择外部引用python.exe(引用Anaconda中的python.exe)如图: 方法二 在Anaconda的命令行执行命令 conda update --all 命令,pycharm就可以识别anaconda中的包了 问题解决: 另外附 对于python3.7版本的OpenCv的安装whl : //download.csdn.net/download/qq_34517550/12141325 来源: https://www.cnblogs.com/supershuai/p/12272607.html

Default kernel in jupyter notebook (Python3) not working

柔情痞子 提交于 2020-02-07 02:25:07
问题 I installed Anaconda3 having Python 3.7.3 on Windows 10. When I launch Jupyter Notebook from Anaconda3 Navigator using environment: base(root), it shows kernel error and Python 3 (which is default kernel) as dead kernel. The kernel error is: Traceback (most recent call last): File "C:\Users\Admin\AppData\Roaming\Python\Python37\site-packages\tornado\web.py", line 1699, in _execute result = await result File "C:\Users\Admin\AppData\Roaming\Python\Python37\site-packages\tornado\gen.py", line

mac重装anaconda失败

谁说胖子不能爱 提交于 2020-02-07 00:20:07
重新安装anaconda失败,原因是参考了这篇文档: https://knowledge.autodesk.com/zh-hans/support/autocad-for-mac/troubleshooting/caas/sfdcarticles/sfdcarticles/CHS/AutoCAD-LT-on-Mac-The-installation-Failed-The-Installer-encountered-an-error-that-caused-the-installation-to-fail-Contact-the-software-manufacturer-for-assistance.html 里面说软件没有卸载干净,我是直接删除anaconda的那个大文件夹的,后来用GUI安装,半天没成功,也没个报错。后来改用sh文件安装。 1、看到报错conda的channel不对,想到就是读取的配置文件错了。 2、用conda info查看到读取的channel配置文件在我的home目录下面有几个隐藏文件,“ls | grep conda” 然后全删了。 3、重新用sh文件安装anaconda 4、SUCCESS 比较麻烦,投一次感觉mac环境这么难搞,另外以后远离GUI的东西,有脚本的还是用脚本吧,至少我能看到哪里报错。 来源: CSDN 作者: yuexiaomao 链接

tensorflow - cannot install tensorflow from Anaconda

时光毁灭记忆、已成空白 提交于 2020-02-06 08:46:11
问题 I am trying to access tensorflow from two ways, both of which are failing: Installed Anaconda (Windows 32 bit Python 3.6). Then, created a conda environment with Python 3.6 (also tried with 3.5) and Tensorflow. Then, I opened Spyder desktop app. In this Spyder, the tensorflow is not working (e.g. 'import tensorflow as tf' is not working). From Anaconda Navigator, created an environment (using the GUI), with Python 3.6. Then, I filtered the "Not installed" packages, and searched for

【机器学习_5】Anaconda:初学Python、入门机器学习的首选

若如初见. 提交于 2020-02-05 04:50:50
Anaconda是一个用于科学计算的Python发行版,提供了包管理与环境管理的功能,可以很方便地解决多版本python并存、切换以及各种第三方包安装问题。 集成包功能: NumPy: 提供了矩阵运算的功能,其一般与Scipy、matplotlib一起使用,Python创建的所有更高层工具的基础,不提供高级数据分析功能 Scipy: 依赖于NumPy,它提供便捷和快速的N维向量数组操作。提供模块用于优化、线性代数、积分以及其它数据科学中的通用任务。 Pandas: 基于NumPy 的一种工具,该工具是为了解决数据分析任务而创建的,包含高级数据结构,以及和让数据分析变得快速、简单的工具 Matplotlib: Python最著名的绘图库 Scikit-Learn: 是Anaconda中集成的开源机器学习工具包,主要涵盖分类,回归和聚类算法,可以直接调用传统机器学习的算法进行使用。 Anaconda也兼容Google开发的第二代人工智能系统 TensorFlow ,进行深度学习的开发。 参考: https://tianchi.aliyun.com/dataset/notebook/detail?spm=5176.12282042.0.0.26c9290aVRHXqk&postId=6239 来源: https://www.cnblogs.com/everda/p/10220600

Nvidia Cudatoolkit vs Conda Cudatoolkit

偶尔善良 提交于 2020-02-04 21:46:19
问题 Till date, I have been using Tensorflow-GPU by installing it using pip and the Cuda related software and Nvidia softwares/drivers from Nvidia's website . Recently, I found that using conda install tensorflow-gpu also installs cudatoolkit and cudnn . So, how are these(the ones provided by conda) different from the ones that I downloaded from Nvidia's website? In my first (previous) environment, conda list showed that I have installed only TensorFlow(from PyPi) and no cudnn/cudatoolkit, but

Nvidia Cudatoolkit vs Conda Cudatoolkit

徘徊边缘 提交于 2020-02-04 21:43:13
问题 Till date, I have been using Tensorflow-GPU by installing it using pip and the Cuda related software and Nvidia softwares/drivers from Nvidia's website . Recently, I found that using conda install tensorflow-gpu also installs cudatoolkit and cudnn . So, how are these(the ones provided by conda) different from the ones that I downloaded from Nvidia's website? In my first (previous) environment, conda list showed that I have installed only TensorFlow(from PyPi) and no cudnn/cudatoolkit, but

修改Anaconda中的Jupyter Notebook默认工作路径

大憨熊 提交于 2020-02-03 05:44:04
修改Jupyter Notebook默认工作路径 原有的默认路径下主页,如图: 打开Windows的cmd,快捷键win+R,输入cmd,在cmd中输入 jupyter notebook --generate-config 如下图: 可以看到路径为C:\Users\wu.jupyter找到此路径修改 jupyter_notebook_config.py文件 新建一个你文件夹作为Jupyter Notebook默认工作路径,如图所示: 打开此文件 jupyter_notebook_config.py文件 找到 ## The directory to use for notebooks and kernels. #c.NotebookApp.notebook_dir = '' 将其改为 ## The directory to use for notebooks and kernels. #c.NotebookApp.notebook_dir = 'G\Jupyter' 其中G:\Jupyter为我的工作空间,你可以改成你自己的。 注意: #c.NotebookApp.notebook_dir = ''中的#必须删除,且前面不能留空格。 E:\Jupyter,Jupyter文件夹必须提前新建,如果没有新建,Jupyter 关闭Jupyter notebook, 重启,如图显示: 在G:

Activate conda environment stopped working in vscode

北慕城南 提交于 2020-02-03 04:15:21
问题 I have noticed that conda activate environment stopped working in vscode integrated terminal with no obvious reason (I certainly did not install any new extensions, nor updated conda or vscode in the last few days). Expected behaviour After running conda activate environment I want the environment to be activated and be capable of using the environment python interpreter. Essentially it should look like this: (base) lpravda-ml:~ lpravda$ conda activate rdkit-env (rdkit-env) lpravda-ml:~

Install glumpy (or other non-conda packages) in conda environment

喜你入骨 提交于 2020-02-02 13:33:09
问题 I have an Anaconda (newest version) environment with Python 3.7.5 installed , it is my only environment so far . Now I want to install glumpy, which is not listed in the anaconda cloud and channels, but it is cloneable via GitHub und installable via pip . I even have a pre-built wheel lying around, still with the newest version. Now, since I only use the conda environment and no other Python installation, I would very much like to get it to work there, without introducing some long-term bugs