Skip to main content

Python file program association problem with TG software

8 posts / 0 new
Last post
Henry Sipes
Henry Sipes's picture
Python file program association problem with TG software

Windows setup Word to open the TG software.  I've tried unsuccessfully to get it to switch to Python.  Any ideas?  Is there a place in the registry I can edit this?

MZK
MZK's picture
Association with TG

Henry:

I suspect you were a little too quick when clicking the windows association window for TG_V6.4.pyw? Word must have been in the default list although I have not seen that before?

Do not edit registry. First try to right click the TG_V6.4.pyw file and then click Open With, then scroll to bottom and search hard drive under Anaconda# (wherever you installed it?) to find pythonw.exe and make it the default program.

See if this works? If not, perhaps we can talk offline?

Ken (MZK)

PS: BTW, what version of anaconda/python did you install?

Henry Sipes
Henry Sipes's picture
Yes, I think I was quick draw

Yes, I think I was quick draw McGraw on that one.  I installed Phython 2.7.  I've tried reassociating the file to no avail.  Google search finds many others have similiar problems though different software.  I'm using Windows 7.  I wonder if I did a total uninstall of Python if that would help.  Some say to edit the registry but it was not real clear how.  I did go in there and look around and I could not see anything odd but I'm no expert in that area.  I've been doing my transforms the old school way with spreadsheets.  I was hoping to try this TG to check my results.

Henry

MZK
MZK's picture
Reinstall

Henry:

I'd uninstall and reinstall. Re-install as all users. It should go into C:\Program data\anaconda2.

TG...pyw will go into photometry subfolder.

You will find it an AMAZING tool!!

Ken

Henry Sipes
Henry Sipes's picture
The issue appears to be that

The issue appears to be that my computer does not recognize Python.  With the newer version 3.7, I could change the icon to run or be recognized as a program to run.  It would never open.  With the older version, the system does not recognize python as a application.  I ran some tests at the command prompt using assoc commands.  It acts like there is no Python installed.  The files are there in the program data anaconda directory but will not activate.  Perhaps I should go back to trying the newer version of Python and somehow block my virus software.  I read that sometimes virus software packages can cause issues opening Python files.  I will try this tonight and see if I have any luck. 

JENJ
same issue here

Wondering if a resolution was obtained? I'm experiencing the exact same conditions on my Windows 7 installation of Python and TG. I've just uninstalled it all and will reinstall to see if that improves...

Shame that TG can't be available as an online application, as in VPhot like Transform Applier.

Jamey Jenkins

MZK
MZK's picture
Install Fix

Jamey et al:

Try the items mentioned in the attached document. They work for most users. Report success or failure?

Ken

JENJ
Install Fix

I reinstalled Anaconda using option #1 of the fix suggestions, "add Anaconda to the system PATH environment variable" and TG opened right up. THANKS FOR THE HELP KEN!!

Now on to developing transformation data...

Jamey

Log in to post comments
AAVSO 49 Bay State Rd. Cambridge, MA 02138 aavso@aavso.org 617-354-0484