cga-wm / advgis-beta

This is Advanced GIS at W&M - beta version.
0 stars 0 forks source link

Trouble Opening IDLE (Python GUI) #14

Open parthree opened 4 years ago

parthree commented 4 years ago

image

I tried adding the program to my firewall allow list, but that didn't work.

dt-woods commented 4 years ago

Based on my readings (and experience working on W&M PCs), the issue may have to do with your computer's environment variables. Some quick questions for you:

Sometime incorrect or non-existent drive space may cause this type of error.

dt-woods commented 4 years ago

BTW- you can just use ArcGIS Notebooks, which is a valid IDE for these exercises.

parthree commented 4 years ago

Thanks! I'm ok with going straight to Notebooks for the exercise. If I'm just starting to learn, that may be the better route anyway.

It's a work PC that recently upgraded to Windows 10, I brought it home from my office and set up VPN access. I'm pretty sure the IDLE came with Pro and I did not install it separately.

Here are my User and System variables. None exactly like the ones you listed: image

parthree commented 4 years ago

STRIKE TWO!! I have a 64-bit Windows and I'm getting an error when I open PyScripter that it only works with a 64-version of Python. Trying to install Python, I couldn't see an option for 64-bit in the newest version. Maybe that was my problem for IDLE as well.

dt-woods commented 4 years ago

How's it going with ArcGIS Online Notebooks?

parthree commented 4 years ago

Notebooks has been easy to use, so if I can bypass all the other IDE issues, I'm fine with that! I had success in PyScripter for Exercise 1 and it was a good learning experience, because I was typing all the lines vs. copy/paste from the instructions. For consistency (or stubbornness), I wanted to continue in PyScripter for Exercise 2, but I'm getting the error with import arcpy. I'm ok with switching over to Notebooks...honestly I need practice typing the syntax, so I'll just add an extra line for my own entry.

The only issue with Notebooks is that it has trouble saving (I think you mentioned this) but the Save As still works when it gets hung up, so I just make further copies, then delete the older ones.

dt-woods commented 4 years ago

I know! You have to constantly use Notebooks and save, and save often.

Have you tried Notebooks in ArcGIS Pro?

parthree commented 4 years ago

Just to test it out, and it works exactly the same as in AGOL.

dt-woods commented 4 years ago

Here's the list of IDEs that work with Anaconda (ArcGIS's Python manager)

Unfortunately, PyScripter is not listed.