I had been trying to install office 364 library to access csv in SharePoint and it messed up my python environment. I've been using Visual Studio 2017 to create add-ins for desktop for years. Have a lot of python doing stuff in the background like updating and overwriting hosted feature classes. I was using the Pro Python environment in VS.
I upgraded pro to 3.4 and now when I try to "from arcgis.gis import GIS " I get the following error.
numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
I can transfer the script to Pro into a python toolbox and it runs fine from pro.
It's really messed up and have no idea how to repair this. Grasping at straws and any ideas would be very much appreciated.