R-ArcGIS / r-bridge-install

Install the R ArcGIS Tools
Apache License 2.0
188 stars 59 forks source link

R-ArcGIS/r-bridge-install #52

Closed ghost closed 6 years ago

ghost commented 6 years ago

capture

I'm in the process of installing the R-bridge. When connecting to the folder from ArcMap, the "toolbox" appears with a red X over - see attached snapshot.

I'm using ArcMap 10.5, R 32-bit 3.2.0 and the R-bridge version listed under the "Code" heading of this site. Thank you for any assistance you may be able to provide. - James

scw commented 6 years ago

Hi James,

Thank you for the bug report, and I'm sorry to hear the installer isn't working for you. Could you right click on the toolbox, and select 'Check Syntax' and send on a screenshot of the resulting message?

Thanks, Shaun

ghost commented 6 years ago

Shaun,

See below,

[cid:image001.png@01D327F4.F152DF40]

Thanks!

James Peters Senior Economic Analyst Regional Planning Group

ITC 27175 Energy Way Novi, MI 48377 248-946-3245 [work] 575-779-8990 [cell] Fax: 248-946-3490 jpeters@itctransco.commailto:jpeters@itctransco.com

From: Shaun Walbridge [mailto:notifications@github.com] Sent: Thursday, September 07, 2017 2:31 PM To: R-ArcGIS/r-bridge-install Cc: Peters, James; Author Subject: [EXT] Re: [R-ArcGIS/r-bridge-install] R-ArcGIS/r-bridge-install (#52)

Caution - External Sender Do not click on links from unknown senders. Contact the ITC Helpdesk with any questions or concerns.


Hi James,

Thank you for the bug report, and I'm sorry to hear the installer isn't working for you. Could you right click on the toolbox, and select 'Check Syntax' and send on a screenshot of the resulting message?

Thanks, Shaun

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/R-ArcGIS/r-bridge-install/issues/52#issuecomment-327885382, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AeRZqnS_TEtaIQoFuUvbCST8HPtLgteIks5sgDZegaJpZM4PQMRW.

scw commented 6 years ago

Hi James,

Unfortunately it looks like GitHub stripped the attachment to the thread. Could you visit the page https://github.com/R-ArcGIS/r-bridge-install/issues/52 and attach the image there directly? Thanks!

ghost commented 6 years ago

capture

ghost commented 6 years ago

Thanks for looking into this!

scw commented 6 years ago

Hello James,

OK, what it looks like is that there are multiple Python installations on the machine. Typically, ArcGIS itself installs Python into the C:\Python27\ArcGIS10.5 directory, so that it won't affect an existing installation in C:\Python27. Here, it looks like there is an installation at C:\Python27, and that installation also contains NumPy. Because there are now two different Python environments on your path, they may have conflicting versions of the Python packages, which prevents ArcGIS from loading its Python components. This will prevent most Geoprocessing tools from working on the machine, so I think it's worth trying to fix the issue rather than coming up with a workaround to install the bridge.

To fix the Python installation, you have a few options. If you know of another Python installation at C:\Python27, and don't currently use it, removing that additional installation should resolve this issue. It's likely listed under "add / remove program files" as a Python installation for version 2.7. If you don't know where that Python is coming from, or do need it for something else, a short-term fix would be to rename the Python27 folder, then try repairing the ArcGIS installation. That will cause the ArcGIS installer to lay down any files it needs into the C:\Python27\ArcGIS10.5 directory, and installing the bridge should work fine from there. If that doesn't work, or you'd prefer not to affect the second Python install, I can walk you through modifying the environment variables to fix this.

Cheers, Shaun

ghost commented 6 years ago

Shaun - I uninstalled and then reinstalled ArcMap. That seemed to solve the issue. Thanks!

scw commented 6 years ago

@jfpeters Great! Let us know if you have any other questions. I'll close this issue for now, but feel free to reopen it if you run into anything.

Cheers, Shaun