- Building Web Applications with Flask
- Italo Maia
- 172字
- 2021-07-16 14:13:03
Prerequisites and tools
First, let's make sure our environment is properly configured. For this course, I assume you are using a Debian-like Linux distribution, such as Mint (http://www.linuxmint.com/) or Ubuntu (http://ubuntu.com/). All the instructions will be geared towards these systems.
Let's begin by installing the required Debian packages with apt-get
as follows:
sudo apt-get install python-dev python-pip
This will install the Python development tools and libraries required for compiling Python packages, and pip: a neat tool you can use to install Python packages from the command line. On with it! Let's install our virtual environment managing tool:
sudo pip install virtualenvwrapper echo "source /usr/local/bin/virtualenvwrapper.sh" >> ~/.bashrc
To explain what we just did: sudo
tells our OS that we want administrative privileges to run the next command, and pip
is the default Python package management tool and helps us install the virtualenvwrapper
package. The second command statement adds a command to load the virtualenvwrapper.sh
script together with the console, so that commands work inside your shell (we'll be using it, by the way).
- 深度學習經典案例解析:基于MATLAB
- Dependency Injection in .NET Core 2.0
- 趣學Python算法100例
- MATLAB 2020 從入門到精通
- Bulma必知必會
- Ray分布式機器學習:利用Ray進行大模型的數據處理、訓練、推理和部署
- Python高級機器學習
- PostgreSQL Replication(Second Edition)
- TradeStation交易應用實踐:量化方法構建贏家策略(原書第2版)
- Domain-Driven Design in PHP
- Magento 2 Beginners Guide
- 貫通Tomcat開發
- Elasticsearch Blueprints
- Offer來了:Java面試核心知識點精講(框架篇)
- 網絡綜合布線與組網實戰指南