opengeos/WhiteboxTools-ArcGIS

Failed with ArcMap 10.6

ysynoya opened this issue · 6 comments

Capture2
I wonder why can't I import the toolbox =(

It works fine on my ArcMap 10.7. Could you right-click the toolbox and select Check Syntax to see what error messages you get?

THX for your reply! I checked and think it might be my anaconda2 environment. I also have anaconda3, but I don't know how to switch to that environment. (Most of the time I need a python2 environment to use arcpy since I don't have a pro version)
Capture3

The error was probably caused by your default Python interpreter, which is your Anaconda2. In order to run WhiteboxTools-ArcGIS, you should use the Python interpreter installed by ArcGIS (C:\Python27). Follow the instructions below to switch your default Python interpreter from Anaconda to ArcGIS:

  • Go to This PC -> Right-click -> Click on Properties -> Advanced System Settings.
  • You will see the System Properties. From here navigate to the "Advanced" Tab -> Click on Environment Variables.
  • You will see a top half for the user variables and the bottom half for System variables.
  • Check the System Variables and double-click on the Path(to edit the Path).
  • Check for the path of Python(i.e., C:\Python27) and move it to the top of the Path list.
  • See the screenshot below

@ysynoya Have you resolved the issue? I am closing this issue for now. Feel free to reopen the issue if needed.

I have tried to change Arcgis10.6 python 2.7 on top, but It was still not working.

@YUHAN-G What error message did you get?