Repository navigation
Installation
chg60 edited this page Nov 13, 2019
·
8 revisions
In order to download and run the program, the following must be installed on your machine:
- MySQL (version 5.7 recommended)
- Python 3.5 or higher
- Python 3 modules pymysql, tk, numpy, and requests
- Git
We recommend the use of the Anaconda package manager for Python 3 to facilitate installation of compatible versions of both Python 3 and the required Python modules.
On all systems, assuming the dependencies are all met, the application can be launched from source code from your favorite command prompt by running the following commands:
- cd /path/to/phamnexus/directory
- python3 __main__.py
- Install MySQL
- In a terminal, substitute your Linux distribution's default package manager in the following command:
- sudo apt install mysql-server
- You should be prompted for a root password during the mysql-server installation. Use whatever password you want, but don't forget it.
- In a terminal, substitute your Linux distribution's default package manager in the following command:
- Conda environment
- conda create --name phamnexus python pymysql numpy requests
- Install Git
- In a terminal, substitute your Linux distribution's default package manager in the following command:
- sudo apt install git
- Now you can retrieve a copy of PhamNexus by running: git clone https://www.github.com/chg60/phamnexus
- In a terminal, substitute your Linux distribution's default package manager in the following command:
A copy of the 2017 SEA_VM containing the latest version of PhamNexus is available at dropbox.
You're on your own in terms of obtaining the appropriate dependencies, but it does run natively on MacOS. (I develop it on MacOS Mojave 10.14.6 using Python 3.8.0).