Last active
March 3, 2017 04:43
-
-
Save wynemo/433831a8253825a79646ccd6f637e757 to your computer and use it in GitHub Desktop.
django learning
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd somedir | |
| wget -c https://pypi.python.org/packages/d4/0c/9840c08189e030873387a73b90ada981885010dd9aea134d6de30cd24cb8/virtualenv-15.1.0.tar.gz | |
| wget -c https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tar.xz | |
| cd Python-2.7.13 | |
| mkdir $PWD/../python2.7 | |
| ./configure --prefix=$PWD/../python2.7 | |
| #sudo aptitude install libbz2-dev | |
| #libreadline6-dev | |
| #sudo yum install readline-devel | |
| #sudo yum install bzip2-devel | |
| make | |
| make install | |
| cd .. | |
| python2.7/bin/python virtualenv-15.1.0/virtualenv.py --never-download env | |
| env/bin/pip instal django | |
| #sudo yum install mariadb-devel | |
| djangoenv/bin/pip install mysqlclient |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment