Anaconda

windows添加conda清华源

拟墨画扇 提交于 2020-03-05 13:23:25
其实在 清华源anaconda 里写了全部的步骤,也可以看原版 具体步骤 第一步,打开cmd 第二步:cmd中执行 conda config --set show_channel_urls yes 第三步:进入C:\Users\Administrator(这里的Administrator可以是你的用户名) 第四步:记事本方式打开.condarc文件 第五步:将文件内容修改为以下 channels: - defaults show_channel_urls: true channel_alias: https://mirrors.tuna.tsinghua.edu.cn/anaconda default_channels: - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/pro - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs

Cannot resolve ModuleNotFoundError: No module named 'sympy'

大城市里の小女人 提交于 2020-03-05 03:05:02
问题 Can someone help me resolve the following issue? I'm getting extremely frustrated. I've installed Octave with the symbolic package before, but I forgot how I did it, and I'm getting very upset at myself currently. I've installed Anaconda, Python, and Octave and I keep getting the following error message: Symbolic pkg v2.8.0: Traceback (most recent call last): File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'sympy' error: Python cannot import SymPy: have you installed

Cannot resolve ModuleNotFoundError: No module named 'sympy'

主宰稳场 提交于 2020-03-05 03:04:29
问题 Can someone help me resolve the following issue? I'm getting extremely frustrated. I've installed Octave with the symbolic package before, but I forgot how I did it, and I'm getting very upset at myself currently. I've installed Anaconda, Python, and Octave and I keep getting the following error message: Symbolic pkg v2.8.0: Traceback (most recent call last): File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'sympy' error: Python cannot import SymPy: have you installed

ModuleNotFoundError: 'sklearn' in Jupyter notebook

☆樱花仙子☆ 提交于 2020-03-05 02:16:07
问题 Using Conda (4.8) on pyhthon 3.7, on Win10. I have scikit learn installed using conda conda install scikit-learn . Tried a few things: also installed it in the env conda install -n my_env scikit-learn . Also tried installing conda install -c anaconda ipython - nothing has worked. I can list it: scikit-learn 0.22 py37h6288b17_0 But in juypter notebook get error from sklearn.datasets import fetch_lfw_pairs (tried couple other commands too) ModuleNotFoundError: No module named 'sklearn' But If I

Anaconda not loading Tensorflow

一曲冷凌霜 提交于 2020-03-04 21:47:13
问题 Clean install of Windows10 with updates(iCore 5, 8Gb, 64bit). Installed Antivirus and Firewall. Installed Docker and pulled Tensorflow image and successfully created containers that works perfectly. Then I downloaded and installed the latest Anaconda 64bit for Windows with all default settings on the host system. No python was installed before the time on the host system. In the PATH I moved "%USERPROFILE%\AppData\Local\Microsoft\WindowsApps" down the list otherwise the python.exe inside this

用VS2019写Python导入包时遇到No module named wordcloud和ImportError:DLL load failed:找不到指定模块的问题及其解决

北战南征 提交于 2020-03-04 02:15:42
用VS2019写python,想用wordcloud和jieba的包来实现词云。 一开始import wordcloud和import jieba,明明已经成功安装了这两个包,但就是显示No module named wordcloud。 解决方法是在资源管理器中,将D:\Anaconda3\Lib\site-packages添加到搜索路径中(我的python是下载Anaconda安装的)。 然后再运行再次报错:ImportError:DLL load failed:找不到指定模块。 解决方法是将PATH=D:\Anaconda3\Library\bin添加到项目属性的环境变量中。 至此可以正常运行。 来源: CSDN 作者: Steven_Lenny 链接: https://blog.csdn.net/steven_lenny/article/details/104641206

Anaconda国内镜像配置及Jupyter notebook扩展插件安装

…衆ロ難τιáo~ 提交于 2020-03-04 01:52:52
1.配置Anaconda镜像渠道 Anaconda仓库的默认下载速度较慢,在使用之前先把仓库镜像源配置为清华TUNA镜像站。 在命令行工具Anaconda Prompt中运行以下命令: #添加镜像渠道 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 设置好之后,在C:\Users\Administrator\下的.condarc文件中可以查看渠道。 至此,Anaconda仓库镜像渠道就配置好了,下载包的速度大大增加。 2.Jupyter notebook安装扩展 Jupyter Notebook有很强大的扩展插件,好东西必须要安装。 在命令行工具Anaconda Prompt中运行以下命令: #安装插件管理包 conda install - c conda - forge jupyter_contrib

Anaconda安装及使用

会有一股神秘感。 提交于 2020-03-03 20:05:37
一、什么是Anaconda Anaconda指的是一个开源的Python发行版本,其包含了conda、Python等180多个科学包及其依赖项。 因为包含了大量的科学包,Anaconda 的下载文件比较大(约 531 MB),如果只需要某些包,或者需要节省带宽或存储空间,也可以使用 Miniconda 这个较小的发行版(仅包含conda和 Python)。 二、下载Anaconda Anaconda官网,下载Anaconda: https://www.anaconda.com 下载Anaconda也可以在清华镜像下载: https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ 三、windows 安装Anaconda 官网下载安装Anaconda,安装路径中不要有中文和空格 安装过程中会有下图所示,直接将Anaconda加入到系统环境变量中: 如果不选中也可以安装完成后自己配置环境变量:我的电脑->右键属性->高级系统设置->高级->环境变量->系统变量,找到Path,加入(以自己的路径为准): C:\ProgramData\Anaconda3 C:\ProgramData\Anaconda3\ Scripts C:\ProgramData\Anaconda3\ Library\bin 加入完成之后重启cmd命令即可。 安装完成后

h5py导入错误

纵然是瞬间 提交于 2020-03-03 18:28:01
保存.h5格式文件时报错: module 'h5py' has no attribute 'File' 可能原因: 安装时混用pip和conda 解决方法: cmd中输入 pip uninstall h5py 然后在anaconda中输入 conda intall h5py 来源: CSDN 作者: Xenonon 链接: https://blog.csdn.net/Xenonon/article/details/104634625

sklearn: ImportError: DLL load failed: The specified module could not be found

為{幸葍}努か 提交于 2020-03-03 11:55:44
问题 Ive updated my Python version from 3.5.4 to 3.6.6 (in Anaconda 3) and now the line from sklearn.metrics.pairwise import cosine_similarity causes the following error: Traceback (most recent call last): File "<ipython-input-3-743ac88bcf9a>", line 1, in <module> from sklearn.metrics.pairwise import cosine_similarity File "F:\Program Files\lib\site-packages\sklearn\__init__.py", line 64, in <module> from .base import clone File "F:\Program Files\lib\site-packages\sklearn\base.py", line 13, in