Git Product home page Git Product logo

py-math's Introduction

程序员数学学习

书单

  • 《程序员的数学》
  • 《计算机程序的构造与解释》

工程目录

  • doc 学习文档相关
    • setup.md启动相关的文档
  • config配置文件
  • src 通用的库,工具和工程
    • ai ai相关的工程

      • exp 实验相关模块:即训练和推理的代码
      • models 定义模型结构
    • algorithm 算法相关工程

    • sicp sicp书本相关

依赖管理方案三(推荐)

使用poetry 安装命令

curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
  1. 使用poetry新建项目 poetry new poetry-new
  2. 已有的项目新增poetry的支持 poetry init
  3. poetry add : 安装命令
  4. poetry run python3 xxx.python: 使用poetry的虚拟环境 更多poetry使用,参见poetry使用手册

使用micromamba来管理不同的python环境,类似于miniconda

其他

windows

pip install xlrd==1.2.0

pip3 install python-lzo sudo apt-get install python-lzo zlib1g-dev unzip 安装whl包,可以理解位编译之后的安装包 下载地址 https://www.lfd.uci.edu/~gohlke/pythonlibs/#python-lzo

pip install python_lzo-1.14-cp310-cp310-win_amd64.whl

linux:

You need the following dependencies installed:

  • zlib1g-dev
  • liblzo2-dev
  • python-pip or python3-pip
  • Then, just pip install python-lzo. pip3 install python-lzo
  • 如果还失败,需要编译lzo2.10了

依赖管理方案一

缺点: 依赖安装到global 1 依赖导出到文件 pip freeze > requirements.txt 2 安装依赖 pip install -r requirements.txt

依赖管理方案二

使用虚拟环境 pip install pipenv pipenv --python 3.7 pipenv shell pipenv install flask

py-math's People

Contributors

hammercui avatar

Watchers

 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.