Anaconda

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

六月ゝ 毕业季﹏ 提交于 2020-02-02 13:33:07
问题 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

Anaconda pip offline installation including dependencies (tensorflow)

ぃ、小莉子 提交于 2020-02-02 06:46:05
问题 I want to install tensorflow in an anaconda environment on a system without internet connection, and where I have not got root access (i.e. I want to install it to my local user only) I have downloaded the .whl files of tensorflow and the required dependencies and copied them to the machine I want to use. Once I've entered my anaconda environment I started installing the packages using pip install -b working_directory/build -t working_directory/target package.whl But when I want to install a

get the CUDA and CUDNN version on windows with Anaconda installe

本秂侑毒 提交于 2020-02-01 05:46:52
问题 There is a tensorflow-gpu version installed on Windows using Anaconda, how to check the CUDA and CUDNN version of it? Thanks. 回答1: You could also run conda list from the anaconda command line: conda list cudnn # packages in environment at C:\Anaconda2: # # Name Version Build Channel cudnn 6.0 0 回答2: Although not a public documented API, you can currently access it like this: from tensorflow.python.platform import build_info as tf_build_info print(tf_build_info.cuda_version_number) # 9.0 in v1

get the CUDA and CUDNN version on windows with Anaconda installe

和自甴很熟 提交于 2020-02-01 05:46:08
问题 There is a tensorflow-gpu version installed on Windows using Anaconda, how to check the CUDA and CUDNN version of it? Thanks. 回答1: You could also run conda list from the anaconda command line: conda list cudnn # packages in environment at C:\Anaconda2: # # Name Version Build Channel cudnn 6.0 0 回答2: Although not a public documented API, you can currently access it like this: from tensorflow.python.platform import build_info as tf_build_info print(tf_build_info.cuda_version_number) # 9.0 in v1

Uninstalling Anaconda

故事扮演 提交于 2020-02-01 00:29:33
To uninstall Anaconda, you can do a simple remove of the program. This will leave a few files behind, which for most users is just fine. See Option A. If you also want to remove all traces of the configuration files and directories from Anaconda and its programs, you can download and use the Anaconda-Clean program first, then do a simple remove. See Option B. Option A. Use simple remove to uninstall Anaconda: Windows Use Windows Explorer to delete the envs and pkgs folders prior to running the uninstall in the root of your installation. In the Control Panel, choose Add or Remove Programs or

安装anaconda python3.7,轻松搞定tensorflow!

纵饮孤独 提交于 2020-01-31 23:00:11
安装anaconda python3.7,如何搞定tensorflow! 问题阐述 在学习python进行人脸识别的过程中,安装了anaconda最新的版本,对应的python版本是python3.7,在使用如下命令安装tensorflow库时, pip install tensorflow 出现了如下图所示的情况: 经一番查阅,现在的tensorflow只支持py3.6版本以前的,py3.7无法使用tensorflow库,以下内容是该问题的解决办法,实测有效! 解决办法 1、 将python3.7 更改为 python3.6 1、打开anaconda prompt 2、输入 conda install python=3.6 或者cmd下 conda create -n py36 python=3.6 anaconda 窗口会进行一系列的下载安装,静静等待,会出现如下代码,输入y(表示yes) 3、键入python命令,查看当前的pytho版本 接下来是安装tensorflow库(不使用虚拟环境,直接安装) 2、tensorflow库安装 1、(不使用虚拟环境) 打开anaconda prompt ,直接输入以下代码 pip install tensorflow 等待几分钟,安装成功,之后进入python环境进行测试 表示已经安装成功 如果要安装keras库 则使用 pip

在Windows下Anaconda安装tensorflow

心不动则不痛 提交于 2020-01-31 21:53:49
在Windows下Anaconda安装tensorflow 关于 TensorFlow TensorFlow是一个采用数据流图(data flow graphs),用于数值计算的开源软件库。节点(Nodes)在图中表示数学操作,图中的线(edges)则表示在节点间相互联系的多维数据数组,即张量(tensor)。它灵活的架构让你可以在多种平台上展开计算,例如台式计算机中的一个或多个CPU(或GPU),服务器,移动设备等等。TensorFlow 最初由Google大脑小组(隶属于Google机器智能研究机构)的研究员和工程师们开发出来,用于机器学习和深度神经网络方面的研究,但这个系统的通用性使其也可广泛用于其他计算领域。 环境 $ conda --version conda 4.7.12 $ python --version Python 3.7.4 tensorflow不支持Python 3.7,所以准备一个Python 3.6的环境 $ conda create -n tensorflow python=3.6 tensorflow即为Python 3.6的环境名 启动tensorflow环境 $ conda activate tensorflow 关闭tensorflow环境 (tensorflow) $ conda deactivate $ 安装tensorflow

fbprophet安装及使用笔记

时光总嘲笑我的痴心妄想 提交于 2020-01-31 00:17:39
先行安装Anaconda以及pycharm fbprophet安装步骤 安装步骤: 1.创建一个虚拟环境: conda create 虚拟环境名 python=3.6.6(python3.7也可以) 2.激活虚拟环境:activate 虚拟环境名 3.安装MingW-w64编译器类型:conda install libpython m2w64-toolchain -c msys2 4.检查你的虚拟环境路径下\Lib\distutils中是否有distutils.cfg文件,如果没有就手动创建一个 5.conda install numpy cython -c conda-forge 6.conda install matplotlib scipy pandas -c conda-forge 7.conda install pystan -c conda-forge 8.conda install fbprophet -c conda-forge Anaconda镜像设置步骤 修改用户目录下的 .condarc 文件: channels: - defaults show_channel_urls: true default_channels: - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main - https:/

Pyspark: \Anaconda3\envs\xgboost\python.exe] was unexpected at this time

一曲冷凌霜 提交于 2020-01-30 12:01:09
问题 I am trying to install Pyspark in Windows. I applied setx to the following: PYSPARK_DRIVER_PYTHON "C:\Users\Sade D\Anaconda3\envs\xgboost\Scripts\jupyter.exe" HADOOP_HOME "C:\spark\hadoop" JAVA_HOME "C:\Program Files\Java\jdk1.8.0_172" PYSPARK_DRIVER_PYTHON_OPTS "notebook" PYSPARK_PYTHON "C:\Users\Sade D\Anaconda3\envs\xgboost\python.exe" SCALA_HOME "C:\spark\scala" SPARK_HOME "C:\spark\spark" JAVA_HOME "C:\Program Files\Java\jdk1.8.0_172" In system variables in path I have attached the

Unable to install “Turicreate” on my Windows 10

谁说胖子不能爱 提交于 2020-01-30 11:08:26
问题 I am new to Python and I am trying to build a recommendation engine by following a tutorial. The tutorials asks me to install turicreate, I am running Spyder 3.3.0 (Python version 3.5) on Anaconda. WHAT I TRIED - I sought help from various SO questions as well as github, but none helped. I tried using "pip" and it gave the following error- Failed building wheel for turicreate Running setup.py clean for turicreate Failed to build turicreate Tried "conda install ", but error again. Solving