Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BRAT Issue with ArcGIS Toolbox Python Scripts #296

Open
bcking00 opened this issue Nov 21, 2019 · 4 comments
Open

BRAT Issue with ArcGIS Toolbox Python Scripts #296

bcking00 opened this issue Nov 21, 2019 · 4 comments
Labels
help wanted Requests from analysts and BRAT users to help solve specific problems or find work-arounds.

Comments

@bcking00
Copy link

We are having issues getting the BRAT ArcGIS Python scripts into the ArcToolBox. There is a red X over the tool. Our network license is not setup for borrow and return. Could this be the issue? Any assistance will be much appreciated. We are using ArcGIS 10.4.1. Brian

@mhallerud
Copy link
Contributor

Hi @bcking00, apologies for the belated response. The newest version of BRAT requires an additional library called xlsxwriter. This can be downloaded similarly to scikit-fuzzy (see here for instructions), with pip install xlsxwriter in CMD. The current version of BRAT was developed using ArcGIS 10.6.1 which may lead to some issues. If you continue to have issues, you can tag my name in a reply here using "@mhallerud" so that I get a notification.

@mmayfieldtu
Copy link

mmayfieldtu commented Aug 24, 2020

Hello- I'm having trouble setting up a BRAT project. Similar to the user above I'm getting the red X over the toolbox after completing all of the setup steps described for scikit-fuzzy, numpy+MKL, xslxwriter, etc. One exception: when I attempt to install numpy+MKL 32-bit version, I get the following error:

ERROR: numpy-1.16.6+mkl-cp27-cp27m-win32.whl is not a supported wheel on this platform.

I am able to successfully install a 64-bit version.

When using 'Check Syntax' on the BRAT toolbox, initially the error reported is 'No module named networkx'. Deviating from the recommended workflow, if I paste a copy of the networkx folder into the same folder with the BRAT tool, the resulting syntax error is 'No module named skfuzzy'. Paste the skfuzzy folder into the BRAT directory, and the syntax error becomes the following:

Traceback (most recent call last):
File "", line 6, in
File "C:\Users\Matthew.Mayfield\OneDrive - Trout Unlimited\ProjectWork\Misc\BRAT\pyBRAT-3.1.00\Veg_FIS.py", line 14, in
from skfuzzy import control as ctrl
File "C:\Python27\Lib\site-packages\pyBRAT-3.1.00\skfuzzy\control_init_.py", line 15, in
from .antecedent_consequent import (Antecedent, Consequent,
File "C:\Python27\Lib\site-packages\pyBRAT-3.1.00\skfuzzy\control\antecedent_consequent.py", line 5, in
import networkx as nx
File "C:\Users\Matthew.Mayfield\OneDrive - Trout Unlimited\ProjectWork\Misc\BRAT\pyBRAT-3.1.00\networkx_init_.py", line 43, in
from networkx import release
ImportError: cannot import name release

Any help would be greatly appreciated-
Matt

Edit: I'm also seeing the same issues running at C:\BRAT\pyBRAT-3.1.00\ instead of the longer OneDrive path in my example.

@mmayfieldtu
Copy link

Update: I was running 64-bit python 2.7. I'm not yet successfully running BRAT, but the above errors are now moot and I'm working through the new ones.

Thanks-
Matt

@joewheaton
Copy link
Contributor

joewheaton commented Aug 27, 2020 via email

@joewheaton joewheaton added the help wanted Requests from analysts and BRAT users to help solve specific problems or find work-arounds. label Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Requests from analysts and BRAT users to help solve specific problems or find work-arounds.
Projects
None yet
Development

No branches or pull requests

4 participants