Mac under Python3 configuration Sklearn

Source: Internet
Author: User

The server needs to have a python environment, as well as a Python-run dependency package, and Java communicates with Python using process processes.

Installing homebrew

/usr/bin/ruby-e "$ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/install)"

Installing Python3 with Homebrew

The Brew install Python3 will automatically configure the environment variable installation complete can be which python3 to find the location of the installed Python3

Python version switching

ln–s/usr/local/bin/python3.6 (target python location) python

Install pip download path
wget "HTTPS://PYPI.PYTHON.ORG/PACKAGES/SOURCE/P/PIP/PIP-1.5.4.TAR.GZ#MD5=834B2904F92D46AAA333267FB1C922BB"-- No-check-certificate

Unzip the installation
TAR-XZVF pip-1.5.4.tar.gz

Mac under Python3 configuration Sklearn

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.