ArcGIS 10 with Python 2.6.5. and Windows 7 64 bit

5240
12
01-03-2011 02:41 AM
OmerSarikaya
New Contributor
Dear ESRI users,
Last week I installed ArcInfo 10 with the standard Python version that comes with ArcGIS 10 DVD (Python 2.6.5.) I am running these on a Windows 7 64 bit OS. I am trying to add sequential numbers to a long field of a point feature class with a Python script posted by ESRI (Kent Martin). See link below;
http://forums.arcgis.com/threads/2937-auto-sequential-numbers-with-python

During the calculation I am getting the following error in the results window;
Error 000574 = Python 2.5 not installed

Did anyone experience such a problem? And what is the solution to this? I am running the same script on a Windows Vista 32-bit computer (with the same software) and it works perfectly. Any assistance would be appreciated.

Omer Sarikaya
GIS Specialist
Turkish National Research Institue - Earth Sciences Institute
Tags (2)
0 Kudos
12 Replies
HueyBrantley
Occasional Contributor
I run ArcGIS 10 on Winders 7 64-bit and have no issues. However, I don't run much, if any, code within ArcGIS itself.  I mainly run from the command line.  One thing to try is adding your python directory (C:\Python26\ArcGIS10.0) to the system environment variable "PATH".  I needed to do this for command line processing.
0 Kudos
OmerSarikaya
New Contributor
Huey, thanks for your response. I did what you said and tried to run the script within Field Calculator, but am getting the same error. Could you try to do this via Field calculator for a feature class ID long field?

Thank you,

Omer
0 Kudos
HueyBrantley
Occasional Contributor
Mine is working on fine.





0 Kudos
V_StuartFoote
MVP Frequent Contributor
Omer,

You are not configured to also use a 64-bit Python build are you? The 64-bit Python would not work with the ArcPy site library from ArcGIS 10.

Or, did you install ArcGIS 10 or SP1, from a command line with msiexec? If so, check the location of your Python26 install, it defaults to the root of the hard drive with the most space. A couple of ways to adjust things if so. This forum thread has some details.
[INDENT]http://forums.arcgis.com/threads/18034-Problem-with-ArcToolbox-Scripts-after-installing-10-SP1-on-Wi...[/INDENT]

Stuart
0 Kudos
SiddharthNarayan
New Contributor
Omer,

You are not configured to also use a 64-bit Python build are you? The 64-bit Python would not work with the ArcPy site library from ArcGIS 10.

Or, did you install ArcGIS 10 or SP1, from a command line with msiexec? If so, check the location of your Python26 install, it defaults to the root of the hard drive with the most space. A couple of ways to adjust things if so. This forum thread has some details.
[INDENT]http://forums.arcgis.com/threads/18034-Problem-with-ArcToolbox-Scripts-after-installing-10-SP1-on-Wi...[/INDENT]

Stuart


Hi,

Two years on - I have the same problem! Any calculation with Python gives me the error msg: Python Not Installed. Both ArcGIS 10 and Python are installed in C:/Program Files (x86). However I am on a network computer, and do not have a D: Drive! Would anybody know how I find out where ArcGIS 10 looks for Python on my computer, so I can copy-paste my Python folder there?

Thanks!

Sid.
0 Kudos
MathewCoyle
Frequent Contributor
Hi,

Two years on - I have the same problem! Any calculation with Python gives me the error msg: Python Not Installed. Both ArcGIS 10 and Python are installed in C:/Program Files (x86). However I am on a network computer, and do not have a D: Drive! Would anybody know how I find out where ArcGIS 10 looks for Python on my computer, so I can copy-paste my Python folder there?

Thanks!

Sid.



This should let you know where the system paths are pointing.
sys.path

Did you follow the instructions in the linked forum posts to resolve the issue? Are you on the latest service pack?
0 Kudos
SiddharthNarayan
New Contributor
This should let you know where the system paths are pointing.
sys.path

Did you follow the instructions in the linked forum posts to resolve the issue? Are you on the latest service pack?


Thanks Mathew,

I think it was a Service Pack issue like described in the other thread - I had to reinstall to upgrade to 10.1 anyway - I've done that and it works fine now on 10.1 - but will keep this in mind for any future service packs!

Sid
0 Kudos
curtvprice
MVP Esteemed Contributor
Hi,

Two years on - I have the same problem! Any calculation with Python gives me the error msg: Python Not Installed. Both ArcGIS 10 and Python are installed in C:/Program Files (x86). However I am on a network computer, and do not have a D: Drive! Would anybody know how I find out where ArcGIS 10 looks for Python on my computer, so I can copy-paste my Python folder there?

Thanks!

Sid.


Sid, I think the easiest solution to this problem is (as admin) open Add/Remove programs and 1) uninstall any Python entries and 2) Open ArcGIS Desktop, do a Modify install and remove Python, then open ArcGIS Desktop, Modify, reinstall Python.

It's generally  a bad idea to copy/paste/delete Windows installed programs as there are lots of path settings behind the scenes that will be rendered incorrect!
0 Kudos
OscarIrusta
New Contributor

Dear Friends I found a solution and I hope it will works for you.

I have tryed everything you wrote in this blog and other blogs about this same issue, and python still not working into my arcgis. Giving the message 000574 error Python is not installed.

I have Win7 64 bit, and I was using Arcgis 9 then installed Arcgis 10 and then upgrated to 10.2 last three years, and in my last  installation Python was not found by Arcgis.

Also it was not working from python27.exe or pythonw.exe when try to run them from the folder C:\Python\Arcgis10.2

But then I went ot another computer where Arcgis 10.2 was recently installed and Python were running well.

It is a Win7 32 bits but all was running fine !!.

Then I have checked out that python27.dll in my computer was different size (and also the creation date) than the python.dll installed in the other computer.

Also the date of the python.dll in my computer, was older than the date I have installed Arcgis10.2 so I discover it was not replaced or updated with last arcgis installations.

Then I decided to remove the older python.dll file from my computer (located into System32 folder and syswow64 folder)  and replace them with the newer file installed in the other computer. 

Also I have pasted another copy of the new python.dll file into syswow32 just in case.

EVERYTHING START TO WORK INMEDIATLY WHEN I OPEN AGAIN ARCGIS. THE PROBLEM WAS FIXED!!

I hope this could help to some of you !!

regards

Oscar

0 Kudos