Re: Installing Cheetah on Windows XP
Nick <[email protected]> Mon, 30 Aug 2010 18:09:04 -0400
| Newsgroups | gmane.comp.python.cheetah |
|---|---|
| Message-ID | <[email protected]> |
Hello, The cmd: "python setup.py install" did execute in the windows cmd (DOS) prompt(thank you!). The installer printed: "Pure Python installation succeeded" (with some C extensions failing to build). However, I cannot pass any of the tests (cheetah test, etc.). The installation of cheetah created 3 files in the c:\python24\Scripts directory. The files are: Cheetah, Cheetah-analyze, and Cheetah-compile. None of the files are with extensions such as .py or .pyc or pyd. I attempted to add extensions such as py, pyc, however, that proved unsuccessful during testing. I removed the py or pyc extensions and the files are identical to the installer generated files. I also added the file: _namemapper.pyd, in the scripts directory as per the manual. I would appreciate your assistance. Kind regards, Nick On Mon, Aug 30, 2010 at 3:49 PM, Nickolas Kaloterakis <[email protected]>wrote: > Mr. R Tyler, > > Thank you kindly. > > That worked! > > > > > On Mon, Aug 30, 2010 at 2:08 PM, R. Tyler Ballance <[email protected]>wrote: > >> >> On Mon, 30 Aug 2010, Nickolas Kaloterakis wrote: >> >> > Hello, >> > >> > Requesting assistance in my attempt to install cheetah on windows XP. I >> > have >> > miserably failed with all actions below taken. >> > Tried: >> > - Unzip/extracted and placed entire Chetah24 (renamed cheetah-2.4.2.1) >> > directory >> > and contents into C:\Python24\Lib\site-packages\Cheetah24 >> > >> > - Set environment variable PATH to above path and relevant python dir. >> PATH >> > =>C:\Program >> > >> Files\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\Program >> > Files\Common Files\Autodesk Shared\;C:\Program Files\Common Files\On >> Center >> > Software\Server;C:\Program Files\Common Files\Crystal >> > Decisions\2.0\bin;C:\AdabasD\bin;C:\AdabasD\pgm;C:\Program >> > >> Files\QuickTime\QTSystem\;C:\Python24\Lib\site-packages\Cheetah24;C:\Python24\Lib\site-packages\Cheetah24\bin;C:\Python24\Lib\site-packages\Cheetah24\cheetah;C:\Python24\Lib\site-packages\Cheetah24\cheetah >> > >> > - Appended Windows Registry variable PYTHONPATH >> > >> =>C:\Python24\Lib;C:\Python24\DLLs;C:\Python24\Lib\lib-tk;C:\Python24\Lib\site-packages\Cheetah24 >> > - Re-booted computer >> > >> > - On the Python (ver 2.4) command line I typed (python output shown): >> > >>>python setup.py install >> > File ",stdin>", line 1 >> > python setup.py install >> > ^ >> > SyntaxError: invalid syntax >> > >>> >> >> Run that command in the command prompt, not in the Python interpreter and >> you >> should be good to go >> >> >> >> - R. Tyler Ballance >> -------------------------------------- >> GitHub: http://github.com/rtyler >> Twitter: http://twitter.com/agentdero >> >> > ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Cheetahtemplate-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss