create_plugin.py windows errors
Posted: Mon May 18, 2015 8:13 am
I'm trying to create my first python plugin with deluge but the I am getting the error:
I am currently working on windows 8.1 and installed "deluge-1.3.11-win32-py2.7-setup" to the default "Program Files (x86)" folder. Following the plugin wiki I git cloned the repo and selected the 1.3-stable branch, assuming this was the "appropriate branch". Realising that python wasn't actually installed to my computer I got the 2.7.9 version...assuming this was the correct one for the version of Deluge I have. Python is still not part of my system paths so I have to call it directly.
I had a pretty basic assumption that deluge.common would assume that i was in the main deluge folder, so I copied the script there and had a crack so it could be located, it found the file, but had another problem locating another module. Obviously I am doing something wrong but I am pretty uncertain at this stage, any help would be greatly appreciated!
Cheers,
Larry.
Code: Select all
C:\Users\Larry\Documents\Python\deluge\deluge\scripts>C:/Python27/python.exe crea
te_plugin.py --name MyFirstPlugin --basepath . --author-name "Larry Burger" --au
thor-email "myemail@gmail.com"
Traceback (most recent call last):
File "create_plugin.py", line 13, in <module>
import deluge.common
ImportError: No module named deluge.common
I had a pretty basic assumption that deluge.common would assume that i was in the main deluge folder, so I copied the script there and had a crack so it could be located, it found the file, but had another problem locating another module. Obviously I am doing something wrong but I am pretty uncertain at this stage, any help would be greatly appreciated!
Cheers,
Larry.