Code Monkey home page Code Monkey logo

machinelearning-study's Introduction

机器学习-的学习项目

vscode windows开发环境搭建

  1. 安装微软出的官网Python插件:Python

  2. 安装Python官网的sdk: https://www.python.org/downloads/release/python-372/

  3. 设置Python一些环境变量

Path:
"D:\Program Files (x86)\Python\Python37-32" ##python 安装路径
"D:\Program Files (x86)\Python\Python37-32\Scripts" ##pip 等脚本安装路径

配置好环境变量 执行python -V 检查是否安装正确

python ##进入Python命令行
exit() ##退出Python命令行
  1. 配置vscode
  2. ctrl+shift+p , 输入Python: select interpreter, 选择你安装的Python的SDK路径 .vscode/settings.json =>"python.pythonPath": "D:\\Program Files (x86)\\Python\\Python37-32\\python.exe"
  3. 安装ptvsd模块 (调试模板) cmd 输入命令安装: pip install ptvsd

这里注意pip 可执行文件在D:\Program Files (x86)\Python\Python37-32\Scripts 目录下,需要配置环境变量, 还有安装命令在cmd里执行, 不要在python 执行

调试

  1. 选着vscode 默认初始配置:Python: Current File (External Terminal)

参考资料

  1. VSCode搭建Python环境及远程调试方法 :https://blog.csdn.net/zzzzllll2006/article/details/83014940

machinelearning-study's People

Contributors

xutian0521 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.