IDLE does not open properly in my ArcGIS Desktop 10.6 (Win 10 64 bit). I set the Geoprocessing Editor with following
C:\Python27\ArcGIS10.6\Lib\idlelib\idle.pyw
When I right-click a script tool in ArcCatalog and then select Edit, 3 instances of IDLE open and none of them have opened the file.
I think it is a path problem. The path is on a Windows network drive:
K:\Me K\Program Resources\ArcGIS\Arcgis10.1
and the 3 instances are
K:\Me
K:\Me K\Program
K:\Me K\Program Resources\ArcGIS\Arcgis10.1\K
My guess is the idle.pyw
script split the path at spaces, got 3 members and ran an accumulation of each in succession, creating 3 IDLE windows of different parts of the path. But why would it even do that?
Even then, there is the strange wrap around with the \K
.
Either way, it does not work as required. Does anyone have any ideas?
Update: I followed advice to uninstall 10.6 and python and then reinstall. It still opens 3 IDLE windows, but now the file paths have a new component:
K:\Me
C:\windows\System32\K\Program
C:\windows\System32\Resources\ArcGIS\Arcgis10.1\file.py
Trying with Notepad++ as Editor and the same errors persist:
"K:\Me" does not exist
"C:\windows\System32\K\Program" does not exist
"C:\windows\System32\Resources\ArcGIS\Arcgis10.1\file.py" cannot be opened
It is not Python but ArcGIS 10.6.1 sending the erroneous path strings.
This is normal script making in ArcCatalog I have done for years in 9.x and earlier 10.x.
!https://drive.google.com/open?id=1F6pBaMgKq0s9s-V3o7-YJ_LfXISyonmf
C:\Python27\ArcGIS10.6\pythonw.exe "C:\Python27\ArcGIS10.7\Lib\idlelib\idle.pyw"