-
Notifications
You must be signed in to change notification settings - Fork 47
Setting Up A Development Environment
MalloyDelacroix edited this page Mar 18, 2018
·
3 revisions
- Install python 3.6 (Be sure to download the latest version)
- Install virtualenv
- Fork the master branch of this repo or download the source files into your desired location
- Open a command line/terminal
- Activate the virtualenv
- cd into the master DownloaderForReddit directory (should contain requirements.txt and README.md files)
- run
pip install -r requirements.txt
- Note: If you are using Pycharm: Installing PyQt5 via pip will often times not register with Pycharm. To get Pycharm to recognize PyQt5 open Settings/Project:DownloaderForReddit/Project Interpreter and add PyQt5 (the same version as listed in requirements.txt) through the gui. This usually works, but sometimes getting PyQt5 working is a little more involved.
This should have the environment set up. To test that it is working correctly:
- cd again into DownloaderForReddit (this is the sub directory "DownloaderForReddit/DownloaderForReddit" where the main.py file is located)
- Run the main.py
Note if you are not familiar with using PyQt5: to be able to see error messages you must run main.py from your command line/terminal; running in an ide will not display errors.
Additional research may be needed to get the general python environment set up on your system. Please do not open issues about anything on this page.