Dear Martin,
Your TexGen is truly attractive to me. However, I tried in vain to install it.
In fact, although I already checked the presence of python25.dll in the TexGen directory as suggested, TexGen still refuses to start ! The error message was:
"The application has failed to start because python25.dll was not found. Re-installing the application may fix this problem."
I already re-installed but the was still unable to run TexGen.
Could you be so kind to tell me the correct procedure to install TexGen.
I would like to thank you for your assistance,
Best regards,
Viet Bui
Installation TexGen
Moderators: Martin, Developers
I trust you have followed the instructions on this page:
http://texgen.sourceforge.net/index.php ... stallation
I'm not quite sure what the problem could be. Have installed python 2.5 on your computer?
Do you have administrator rights on your system?
http://texgen.sourceforge.net/index.php ... stallation
I'm not quite sure what the problem could be. Have installed python 2.5 on your computer?
Do you have administrator rights on your system?
-
Viet Bui
As you guessed, I followed the mentioned instruction. Moreover, I also installed python 2.5 on my computer as required.
I already experienced the problem as mentioned in the the instruction, since python25.dll was not placed in window\system32 as it should be. So, I directly copied python25.dll into window\system32 and then re-installed TexGen. During the installation, TexGen automatically found python25.dll and copied it in TexGen directory.
When TexGen is installed, it required to know the location of Python, and then asked "The TexGen extensions for Python will be installed inside the Python folder". TexGen exactly found the location of Python on the computer c:\Python25\. How can we verify if TexGen is correctly installed "in Python" ?
Since this is a new computer, I have total administrator right. Do you think that I experienced the problem, since my Window is XP Pro x64 ?
Thanks for your assistance.
I already experienced the problem as mentioned in the the instruction, since python25.dll was not placed in window\system32 as it should be. So, I directly copied python25.dll into window\system32 and then re-installed TexGen. During the installation, TexGen automatically found python25.dll and copied it in TexGen directory.
When TexGen is installed, it required to know the location of Python, and then asked "The TexGen extensions for Python will be installed inside the Python folder". TexGen exactly found the location of Python on the computer c:\Python25\. How can we verify if TexGen is correctly installed "in Python" ?
Since this is a new computer, I have total administrator right. Do you think that I experienced the problem, since my Window is XP Pro x64 ?
Thanks for your assistance.
To be honest I'm a bit baffled by this one.Viet Bui wrote:As you guessed, I followed the mentioned instruction. Moreover, I also installed python 2.5 on my computer as required.
I already experienced the problem as mentioned in the the instruction, since python25.dll was not placed in window\system32 as it should be. So, I directly copied python25.dll into window\system32 and then re-installed TexGen. During the installation, TexGen automatically found python25.dll and copied it in TexGen directory.
When TexGen is installed, it required to know the location of Python, and then asked "The TexGen extensions for Python will be installed inside the Python folder". TexGen exactly found the location of Python on the computer c:\Python25\. How can we verify if TexGen is correctly installed "in Python" ?
Since this is a new computer, I have total administrator right. Do you think that I experienced the problem, since my Window is XP Pro x64 ?
Thanks for your assistance.
Normally when you install Python you have two options:
1- 'install for me only': This will NOT place the python25.dll in the windows/system folder
2- 'install for everybody': This will place the python25.dll in the windows/system folder
If you install python with the second option this generally causes less problems. But this is not possible if you don't have admin rights.
The work around is to copy python25.dll into the same folder where TexGenGUI.exe resides ('C:\Program Files\TexGen' by default). Could you check for me that 'python25.dll' is indeed in the same folder as 'TexGenGUI.exe'. I have written some code in the installer to do this automatically but it hasn't been tested as extensively as I'd like.
The fact that you are running on a 64 bit system might be an issue, I haven't tested it on that because I don't have access to one.
Perhaps you could verify that python is installed correctly by running it "Start -> program files -> python 2.5 -> Python (command line)", also you can check if the texgen extensions have been installed correctly by typing the following in the python command line interface:
Note: it is case sensitive
Code: Select all
from TexGen.Core import *
CTexGen.GetInstance().GetVersion()
Code: Select all
'3.0.3'
Last edited by Martin on Fri Apr 20, 2007 3:59 pm, edited 1 time in total.
I just found this:
TexGen is compiled as a 32-bit application. If you have installed a 64-bit version of Python, this may be the reason it does not work. Perhaps you could try installing the 32-bit version of Python.
from here http://en.wikipedia.org/wiki/Windows_XP_Pro_x64Although 32-bit applications can be run transparently, the mixing of the two types of code within the same process is not allowed. A 64-bit application cannot link against a 32-bit library (DLL) and similarly a 32-bit application cannot link against a 64-bit library. This may lead to the need for library developers to provide both 32- and 64-bit binary versions of their libraries. Windows XP x64 Edition includes both 32- and 64-bit versions of Internet Explorer, in order to allow for the possibility that some third-party browser plugins or ActiveX controls may not yet be available in 64-bit versions.
TexGen is compiled as a 32-bit application. If you have installed a 64-bit version of Python, this may be the reason it does not work. Perhaps you could try installing the 32-bit version of Python.
-
Guest
Dear Martin,
Your assistance is truly helpful.
Instead of Python 2.5.1 Windows AMD64 installer (which is exactly the configuration of my computer), I have just chosen Python 2.5.1 Windows installer ( i.e. Python 32 bit version) as your last advise suggested; and it works !
(With Python 2.5.1 Windows AMD64 installer, TexGen can automatically detect the location of python25.dll and copy itseft into the TexGen directory. However, Python 2.5.1 Windows installer cannot do it. So, I need to copy python25.dll, which in my case locates at windows\SysWoW64, directly into the TexGen directory)
Your assistance is truly helpful.
Instead of Python 2.5.1 Windows AMD64 installer (which is exactly the configuration of my computer), I have just chosen Python 2.5.1 Windows installer ( i.e. Python 32 bit version) as your last advise suggested; and it works !
(With Python 2.5.1 Windows AMD64 installer, TexGen can automatically detect the location of python25.dll and copy itseft into the TexGen directory. However, Python 2.5.1 Windows installer cannot do it. So, I need to copy python25.dll, which in my case locates at windows\SysWoW64, directly into the TexGen directory)
That's good news, I've updated the installation instructions page to prevent other 64 bit users getting tripped up. Thanks for your contribution to the knowledge baseAnonymous wrote:Dear Martin,
Your assistance is truly helpful.
Instead of Python 2.5.1 Windows AMD64 installer (which is exactly the configuration of my computer), I have just chosen Python 2.5.1 Windows installer ( i.e. Python 32 bit version) as your last advise suggested; and it works !
(With Python 2.5.1 Windows AMD64 installer, TexGen can automatically detect the location of python25.dll and copy itseft into the TexGen directory. However, Python 2.5.1 Windows installer cannot do it. So, I need to copy python25.dll, which in my case locates at windows\SysWoW64, directly into the TexGen directory)