Barton_Day
asked on
Newby question on running Python on a Windows XP Pro machine
Okay…first off forgive me for my ignorance before I ask this question as I’m brand new to Python. I’m attempting to run a program called cvs2svn on a windows XP Pro box. The instructions call for installing Python, which I did, and then running a MAKE INSTALL on the downloaded Setup.py file. Well, I realize that being a Windows machine I’m not going to use MAKE INSTALL, maybe that’s where I’ve gone wrong. Instead, I used the “python setup.py install” option, which ran without error. Well, the compile ran and inside the scripts directory exists the name of a file that I think I now need: cvs2svn. However, it does not appear with a file extension, especially not an executable file extension, as I thought it should. There does exist a new file that has the same time stamp as when I ran the initial “python setup.py install” option. The extension to this file is a .pyc file…..I have no idea how to run this file.
Any help would be greatly appreciated……
Bart
Any help would be greatly appreciated……
Bart
I suspect cvs2svn is a script written for UNIX. Does it look like a text file? If it's short enough, can you post its contents?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Well the c:\path\to\python c:\path\to\cvs2svn syntax worked like a charm...and I really dont know why cause I could have sworn I tried that yesterday....but nonetheless it is working now. However, after the cvs2svn file executes, at the very end I get an error when the program tries to envoke Sort -T. I've downloaded then win32 based programs that *nix machines use, i.e. env, sort, etc. and my PATH is set to C:\usr\local\wbin.....so dont know why Sort -T fails to run. But, that is beyond the scope of this particular forum.....however....if anyone has a quick suggestion here is the error I recieve after cvs2svn runs the first part of its code:
-------------------------- ---------- ---------- ---------- ---------- ---------- ---------- ---
Checking for blocked exclusions...
Checking for forced tags with commits...
Checking for tag/branch mismatches...
Re-synchronizing CVS revision timestamps...
Done
----- pass 3 -----
Sorting CVS revisions...
Input file specified two times.
Command failed: "sort -T . .\cvs2svn-data.c-revs > .\cvs2svn-data.s-revs"
-------------------------- ---------- ---------- ---------- ---------- ---------- ---------- -------
Thansk again for all of your help....
Bart
--------------------------
Checking for blocked exclusions...
Checking for forced tags with commits...
Checking for tag/branch mismatches...
Re-synchronizing CVS revision timestamps...
Done
----- pass 3 -----
Sorting CVS revisions...
Input file specified two times.
Command failed: "sort -T . .\cvs2svn-data.c-revs > .\cvs2svn-data.s-revs"
--------------------------
Thansk again for all of your help....
Bart
What happens if you type "sort" at the Command Prompt - does it actually find your sort program? ("sort --help" or "sort --version" might be useful as well.)
Does the input file "cvs2svn-data.c-revs" exist?
"Input file specified two times." sounds like an error - maybe Google can help?
Does the input file "cvs2svn-data.c-revs" exist?
"Input file specified two times." sounds like an error - maybe Google can help?
ASKER
Got this running as well.....ran the python program directly out of my GNU sort.exe directory.....
Thanks,
Bart
Thanks,
Bart