Build a scientific computing environment

Source: Internet
Author: User
Tags virtual environment jupyter keras
Environment Construction Download Anaconda Change Anaconda Package management source to Tsinghua Mirror source

CMD input:

Conda Config--add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/

Conda config--set show_channel_urls Yes change pip source to Tsinghua Mirror

C:/USER/PIP, new file Pip.ini, as follows:

[Global]
Index-url = Https://pypi.tuna.tsinghua.edu.cn/simple

Add Jupyter kernel

Use Anaconda Navigator Virtual Environment Python2 and install common third party packages

Install Ipykernel Package

Windows Show hidden files found:

C:/user/appdata/jupyter/kernels/python3/kernel.json

Create new Folder Python2, copy kernel.json file, modify path and name in JSON file

#python3.5 Tenslorflow Installation

Currently, the Windows platform can only use the python3.5 virtual environment and enter in Anadonda prompt:

#激活该环境

Activate python3.5

# CPU Version
Pip Install--upgrade TensorFlow

#GPU版本

Installation Tutorial http://blog.csdn.net/luke2834/article/details/68962139 installation Keras

In Anaconda prompt, enter:

Pip Install Keras

Background defaults to Theano and can be modified to TensorFlow:

C:/user/.keras/keras.json

To modify the back-end of a JSON file


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.