-
Notifications
You must be signed in to change notification settings - Fork 78
Setting up Dandere2x to Run Through Python (Windows 10)
Tyler edited this page Dec 16, 2019
·
2 revisions
This is a quick tutorial of how to run dandere2x directly through python, rather than using a pyinstaller made executable.
- Recent python installed (Ensure python is added to path)
- python-venv (tutorial: https://thinkdiff.net/python/how-to-install-python-virtualenv-in-windows/)
Download / clone the dandere2x repo from my github repo. Extract the .zip file somewhere.
Navigate to dandere2x-master/src, and cd
into the folder
Using the most recent executable (found here: https://github.com/aka-katto/dandere2x/releases), copy the 'externals' folder into the 'src' folder.
Setup a virtual environment. For me, I do this by typing
python -m venv d2x_venv
Activate the virtual environment by typing
pip install -r requirements.txt
Copy the workspace folder from the executable release over.
Start the dandere2x gui by typing
python gui_driver.py
and the GUI window should show up. Everything should work here.