Last active
July 14, 2020 13:38
-
-
Save neerajgupta2407/e651c1f815b2f27ba1ff8ba7e507158b to your computer and use it in GitHub Desktop.
Steps to install mod_wsi for python 3.7
This file contains 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
## Ref: https://phoenixnap.com/kb/how-to-install-python-3-ubuntu | |
1. sudo add-apt-repository ppa:deadsnakes/ppa | |
2. sudo apt update | |
3. sudo apt install python3.7 | |
4. python ––version |
This file contains 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
1. cd ~ | |
2. wget https://github.com/GrahamDumpleton/mod_wsgi/archive/4.7.1.tar.gz. # get latest version from github releases. | |
3. tar xvfz 4.7.1.tar.gz | |
4. cd mod_wsgi-4.7.1 | |
# check python3 version | |
5. which python3 or which python 3.7. # output -> /usr/bin/python3.7 | |
6. ./configure --with-python=/usr/bin/python3.7 | |
7. sudo make | |
8. sudo make install | |
## Tada..Mod_wsgi installed for python3.7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment