python problem

818
5
04-24-2018 07:15 AM
MoMohamad
New Contributor III

I don't know a lot about python  but i installed arcmap 10.5.1 on some PCs with python 2.7 , the PCs already have python 3.4 before installation and they were compiling  Python scripts now after installation of arcmap , python 3.4 is not compiling scripts , how to solve such problem ?

Tags (1)
0 Kudos
5 Replies
DanPatterson_Retired
MVP Emeritus

Get rid of python 3.4. You will mess up the version of python that arcmap uses.

You should also update arcmap to 10.6 to get the most recent version of 2.7.

Install ArcGIS Pro should you need python 3.X ... python 3.6.x is the current version and the Anaconda distribution will keep your versions of python separate and clean

MoMohamad
New Contributor III

Actually dan i installed arcmap 10.5.1 and arcpro 2.1 , the problem is that i cant  get rid of python 3.4 they want to use It outside arcgis , they used to use python 3.4 and scripting and now after I installed arcgis something went wrong .

sorry i dont know a lot in python and scripting but now what i should do ?

0 Kudos
DanPatterson_Retired
MVP Emeritus

You can use python 3.6 outside of ArcGIS. in any event, there is probably a *.pth or PYTHONPATH or sys.path that is pointing something to the wrong location.

MoMohamad
New Contributor III

Thanks dan , i created path for python 3.4 in systems path and it worked

0 Kudos