Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Flask installation environment     - Use PuTTY to access the virtual machine Linux under Windows xp (Programming)

- How to allow users to access only a specific database (MSSQL) (Database)

- Summary Linux bond of multi-interface load balancing (Linux)

- STL source code analysis - iterator each container classification (Programming)

- Jump table (skiplist) of code (Programming)

- GAMIT10.5 install and update failed Solution (Linux)

- CentOS install SVN server configuration and automatically synchronized to the Web directory (Server)

- Java class loading order (Programming)

- GRUB and Linux system repair (Linux)

- OpenJDK7 source compiler installation on CentOS 6.5 (Linux)

- Linux command in the dialog whiptail (Linux)

- Nginx Module Development - get user ip (Server)

- DRBD-based installation and configuration of CentOS 6.5 (Server)

- Java in the final qualifier (Programming)

- Fedora 20, Fedora 19, CentOS 6 and RHEL6 users how to install Wine 1.7.15 (Linux)

- Linux System Getting Started Tutorial: Installing Brother printer in Linux (Linux)

- Download Google Android source code under Ubuntu 4.4 (Linux)

- Easy to install CentOS 6.6 desktop environment (Linux)

- Talk about Java in the collection (Programming)

- The next key to install Linux bash script PowerShell (Linux)

  Flask installation environment
  Add Date : 2018-11-21      
  Flask need to install python2.5 or later, does not currently support python3, which wsgi standard has not been finalized;

First, install virtualenv, for each pyhton applications "install" a separate python environment;
Using the command: sudo easy_install virtualenv
Or higher: sudo pip install virtualenv
In under Ubuntu: sudo apt-get install python-virtualenvsome code

Two, virtualenv use:
$ Mkdir myproject
$ Cd myproject
$ Virtualenv env // Create a directory called env, and this directory is a separate python environment
. $ Env / bin / activate // activation environment named env, pay attention to the point about the space behind. "";
// Each first activate the corresponding environment related development progress;
some code

Three, Flask installation, use the following command:
$ Easy_install Flask
some code

In addition, with the git retrieval methods, install the latest Flask:
$ Git clone http://github.com/mitsuhiko/flask.git // download the installation file
$ Cd flask
$ Virtualenv xxx
$. Xxx / bin / activate
$ Python setup.py develop
some code
- Singleton (Linux)
- How to use the DM-Crypt encryption Linux File System (Linux)
- Install minimize RHEL / CentOS 7 things to do (Linux)
- Linux server security settings to close unused ports (Linux)
- Ubuntu 14.04 compile RT288x_SDK / toolchain / squashfs3.2-r2 Error (Linux)
- What is Java EE (Programming)
- Shared directory settings between Linux and Linux (Linux)
- Ubuntu 10.10 install Oracle 10g Installation Guide (Database)
- To install and deploy Apache under the CentOS (Server)
- CentOS build JDK environment (Linux)
- To_explore Linux system boot process (Linux)
- TOAD connect DB2 error SQL1460N solve (Database)
- Oracle background processes daemons (Database)
- Linux more command Detailed (Linux)
- Ubuntu modify DNS restart loss problem (Linux)
- Zabbix Agent for Linux Installation and Configuration (Server)
- Bootstrap 3.3.5 release download, Web front-end UI framework (Linux)
- A drop datafile Oracle bug (Database)
- Python3 multi-thread download codes (Programming)
- To learn from scratch OpenWrt perfect tutorial (Linux)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.