Solved: Reset My Python 3 Installation - Esri Community

Community
  • All Communities Products ArcGIS Pro ArcGIS Survey123 ArcGIS Online ArcGIS Enterprise Data Management ArcGIS Experience Builder Geoprocessing ArcGIS Web AppBuilder ArcGIS Field Maps ArcGIS Dashboards ArcGIS StoryMaps All Products Communities Industries Education Water Resources State & Local Government Transportation Gas and Pipeline Water Utilities Imagery and Remote Sensing Insights (IRIS) COP Roads and Highways Natural Resources Telecommunications Electric All Industries Communities Developers Python JavaScript Maps SDK Native Maps SDKs ArcGIS API for Python ArcGIS Pro SDK ArcObjects SDK Developers - General ArcGIS REST APIs and Services ArcGIS Online Developers Game Engine Maps SDKs File Geodatabase API All Developers Communities Global Comunidad Esri Colombia - Ecuador - Panamá ArcGIS 開発者コミュニティ Czech GIS Europe Asia Pacific Americas ArcNesia Comunidad GEOTEC Esri India GeoDev Germany ArcGIS Content - Esri Nederland All Global Communities All Communities Developers User Groups Products Industries Services Community Resources Global Events Networks Learning ArcGIS Topics View All Communities
  • ArcGIS Ideas
  • GIS Life
  • Community Resources Community Help Documents Community Blog Community Feedback Member Introductions All Community Resources
Sign In cancel Turn on suggestions Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type. Showing results for  Show  only  | Search instead for  Did you mean:  Cancel
  • Home
  • All Communities
  • Developers
  • Python
  • Python Questions
  • Reset my Python 3 Installation
Options Select to view content in your preferred language Translate Now Reset my Python 3 Installation Subscribe 5255 6 Jump to solution 01-21-2019 03:46 PM deleted-user-_rvxRMwJz6fx by deleted-user-_rvxRMwJz6fx Deactivated User ‎01-21-2019 03:46 PM

I am having an issue with ArcGIS Pro and Python - both applications fail to consistently initialise / operate as intended when they do start up.

I have recently been trying to get Python 3 to work in my preferred IDE (PyScripter). After searching through many different Google results I managed to completely decimate my Python installation. I can use ArcMap 10.6 and Python 2.7 applications perfectly. PyScripter still works and I can create Tools as needed, however, whenever there is something requiring Python 3, the application will not work.

ArcGIS Pro - I have installed Pro 2.4 on my machine. The system will load, however when I try to add data or run any tool at all the application will close with no warning error / notification. It is a straight crash. Again, I have completely uninstalled and re-installed it and even tried a repair. Same result each time.

Is there a way to restore my Python installations as intended for use with ArcGIS Pro?

I am running Windows 10 64-bit.

Solved! Go to Solution.

Tags (2)
  • arcpro
  • python 3.
Reply 0 Kudos
  • All Posts
  • Previous Topic
  • Next Topic
1 Solution Accepted Solutions deleted-user-_rvxRMwJz6fx by deleted-user-_rvxRMwJz6fx Deactivated User ‎01-21-2019 05:12 PM

I will try this.

Thank you.

You mentioned 2.3 coming out this week, perhaps I will wait for this and then give it a try. I think it is going to be a full morning worth of work...not something I am really looking forward to...

Lesson learnt.

View solution in original post

Reply 0 Kudos 6 Replies DanPatterson_Retired by DanPatterson_Retired MVP Emeritus MVP Emeritus ‎01-21-2019 04:47 PM

When ArcGIS Pro 2.3 comes out this week, you will need to

/blogs/dan_patterson/2018/12/28/clone

I have switched over to

/blogs/dan_patterson/2018/12/13/spyder

But if you have to use your preference, you will have to point the IDE to the python installation in the clone

Reply 1 Kudo deleted-user-_rvxRMwJz6fx by deleted-user-_rvxRMwJz6fx Deactivated User ‎01-21-2019 04:53 PM

Thank you for the response Dan.

I have been following your blog posts with regards to using ArcGIS Pro and Python 3. I unfortunately found the blog post too late, and have managed to mess the system up, through ignorance on my part.

The main issue I am having is my ArcPro will not work at all.

It opens, but I cannot use it - adding data, using tools etc causes the application to close with no indication as to why.

I suspect its an issue with Python, primarily because I cannot use QGIS anymore either (it bombs when loading Python during start-up). I am sure when I was playing with the settings during my attempts to get Python 3 into my IDE I managed to break something.

I am looking to try and get back to a "Vanilla State" without have to do a complete system restore.

Reply 0 Kudos DanPatterson_Retired by DanPatterson_Retired MVP Emeritus MVP Emeritus ‎01-21-2019 05:07 PM

vanilla state would be to uninstall everything, including qgis because it messes with python as well.

I would install pro first, clone it, set up python to work and pro to work. Install ArcMap second since it sets up python within its own path (if memory serves).

install whatever else after you get *map and *pro working.

Good luck

Reply 1 Kudo deleted-user-_rvxRMwJz6fx by deleted-user-_rvxRMwJz6fx Deactivated User ‎01-21-2019 05:12 PM

I will try this.

Thank you.

You mentioned 2.3 coming out this week, perhaps I will wait for this and then give it a try. I think it is going to be a full morning worth of work...not something I am really looking forward to...

Lesson learnt.

Reply 0 Kudos Luke_Pinner by Luke_Pinner MVP Regular Contributor MVP Regular Contributor ‎01-22-2019 04:00 PM

Once you get your environment back up and running... What problems were you having getting PyScripter working with Pro Python 3?

I haven't used PyScripter for years, but I downloaded the 64bit version of PyScripter (v. 3.6), ran it and added the arcgispro-py3 python interpreter and could import arcpy fine.

Note you must have both the 32bit and 64bit versions of PyScripter to work with Desktop (32bit) and ArcGIS Pro (64bit). You can also use the 64bit version with Desktop if you have the 64bit background geoprocessing python installed.

Reply 0 Kudos deleted-user-_rvxRMwJz6fx by deleted-user-_rvxRMwJz6fx Deactivated User ‎01-22-2019 04:24 PM

I was unable to "import arcpy" and I think it had to do with the 32-bit vs. 64-bit versions.

I know that now...but didnt know that when I was mucking about with the Python Installations and Environmental Settings.

I plan to try a full un-install and update on Friday and see how that pans out.

Thank you!

Reply 0 Kudos Post Reply
  • Terms of Use
  • Community Guidelines
  • Community Resources
  • Contact Community Team
  • Privacy
  • Trust Center
  • Legal
  • Contact Esri

Tag » Arcgis Restore.py