Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Flask installation environment     - Talking about modern programming language syntax and standard library tightly bound phenomenon (Programming)

- C ++ overloaded stream insertion operator and the stream extraction operator (Programming)

- How to clear the DNS query cache under Linux / Unix / Mac (Linux)

- Ubuntu upgrade to Linux Kernel 4.2.3 Kernel (Linux)

- Android application security of data transmission security (Programming)

- Linux development management utility command (Linux)

- Category prevent DoS attacks against Linux (Linux)

- RabbitMQ installation, configuration, monitoring (Linux)

- Oracle Linux 6.4 installed Oracle 11gR2 + RAC + ASM (Database)

- CentOS 6.6 source compiler GCC upgrade to 4.8.2 (Linux)

- Notebook computer forget password solution (Linux)

- Linux nice program origin of the name (Linux)

- Linux NIC configuration (Linux)

- Windows7 / 8 / 8.1 hard drive to install Ubuntu 14.04 dual system (Linux)

- Linux System Tutorial: Fix ImportError: No module named wxversion error (Linux)

- Linux System Getting Started Learning: Statistical process a number of threads in Linux (Linux)

- How to merge two pictures in Cacti (Linux)

- Linux System shutdown procedures (Linux)

- Default permissions Linux file and directory permissions and hide - umask, chattr, lsattr, SUID, SGID, SBIT, file (Linux)

- 7 extremely dangerous Linux commands (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
     
         
         
         
  More:      
 
- CentOS6.5 install SVN & visual management tools iF.SVNAdmin (Server)
- Use Spring cache and ehcache (Programming)
- MySQL 5.6 Open full query log (Database)
- MySQL partition summary (Database)
- Analytical Ceph: handle network layer (Server)
- SpringMVC garbage processing (Programming)
- DB2 Version SQLJ to access Oracle Server (Database)
- Ubuntu and derivatives installation Atom 0.104.0 (Linux)
- C ++ precision performance test function (Programming)
- Give your photos Instagram style filters plus program in ubuntu (Linux)
- Exploring the Android Listview display confusion (Programming)
- Linux initialization init system - UpStart (Linux)
- How to make GRub instead of the default Ubuntu software center (Linux)
- Android memory optimization of the optimal load Bitmap (Linux)
- Linux User Rights Study Notes (Linux)
- Spring MVC Exception Handling (Programming)
- Through Oracle to help restore MySQL data problems (Database)
- File SUID, SGID, Sticky property (Linux)
- To create a Linux server network security (Linux)
- ORA-12547: TNS: lost contact error Solution (Database)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.