Hallo,
I've Problems with opening Python files with TexGen. Whenever I open a *.py file directly from windows explorer with TexGen I get the following message: unable to complete python code with TAB, completer module not found.
If I open the file from TexGen (Python -> Run Script) it works.
I didn't find an installable completer module only some scripts about that. I just started to code so hard to understand. Can anybody help?
Once it worked but since I had to reinstall Python 2.5 I got this problem.
Thanks a lot
Problems with opening python Files with TexGen
Moderators: Martin, Developers
Re: Problems with opening python Files with TexGen
Hi,
A few things:
--> Make sure you are using the non-bundle TexGen version
--> Place your TexGen folder, python 2.5 folder and your python scripts in the same folder. (alternatively, you can just add the location of python 2.5 and texgen to your current path)
--> Copy the python25.dll file from python25/DLLs to the python25 folder
--> Ensure that your python scripts contains the following:
Hope it works
A few things:
--> Make sure you are using the non-bundle TexGen version
--> Place your TexGen folder, python 2.5 folder and your python scripts in the same folder. (alternatively, you can just add the location of python 2.5 and texgen to your current path)
--> Copy the python25.dll file from python25/DLLs to the python25 folder
--> Ensure that your python scripts contains the following:
Code: Select all
from TexGen.Core import *