- 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).
- Microsoft Exchange Server PowerShell Cookbook(Third Edition)
- Java面向?qū)ο筌浖_發(fā)
- Interactive Data Visualization with Python
- 區(qū)塊鏈架構(gòu)與實現(xiàn):Cosmos詳解
- Django開發(fā)從入門到實踐
- CentOS 7 Linux Server Cookbook(Second Edition)
- Python程序設(shè)計(第3版)
- The Data Visualization Workshop
- Mastering Unity 2D Game Development(Second Edition)
- 搞定J2EE:Struts+Spring+Hibernate整合詳解與典型案例
- Python爬蟲、數(shù)據(jù)分析與可視化:工具詳解與案例實戰(zhàn)
- Java語言程序設(shè)計教程
- Java EE企業(yè)級應(yīng)用開發(fā)教程(Spring+Spring MVC+MyBatis)
- Practical GIS
- LabVIEW入門與實戰(zhàn)開發(fā)100例(第4版)