-
Notifications
You must be signed in to change notification settings - Fork 1
installation
Nick Santos edited this page Mar 1, 2017
·
8 revisions
The instructions below include steps to install in ArcMap or ArcGIS Pro - you only need to follow one of the two sets of steps based on which piece of software you have installed and plan to use.
Note: You must be running ArcGIS 10.4 or above to use this software!
- Make sure your computer is licensed to run ArcGIS - if you need to connect to the VPN to run ArcGIS, connect now before starting the installation process.
- Download the installation package with the arcproject code, and extract the zip file to a folder on your computer. Remember where you extracted these files
- In Windows, navigate to
C:\Python27
. In that folder, you may have many other folders, some of which will start withArcGIS
and be written likeArcGIS10.3
- note the highest version number folder (for example, if you have folders namedArcGIS10.3
andArcGIS10.4
you want to noteArcGIS10.4
) - we'll use it in a moment. - Open a command prompt and navigate to the folder where you extracted the zip file (typing
cd {foldername}
navigates folders, so, for example,cd C:\Python27
will change your command prompt to the folder C:\Python27) - Type
C:\Python27\ArcGIS10.4\python .\user_setup.py
- replaceArcGIS10.4
with the folder name noted previously and Hit Enter to execute the command. - The code is now installed. To use the tools, you'll need to add the toolbox
named
wq-processing-toolbox.pyt
and located in the folder you extracted the zip file to ArcMap. You can safely move the whole extracted folder to somewhere more permanent where you can access the toolbox in the future.
- Download the installation package with the arcproject code, and extract the zip file to a folder on your computer.
- Inside that folder will be a file, called a "wheel" and named something like
arcproject-wq*.whl
where * indicates version information and other information you can ignore for now. - Open a command prompt as an administrator and navigate to the folder where you extracted the zip file (with the wheel file in it)
- Type
C:\Program Files\ArcGIS\Pro\bin\Python\scripts\propy.bat -m pip install .\WHEEL_FILE.whl
- replaceWHEEL_FILE.whl
with the name of the wheel file from the first step (for examplearcproject_wq-0.9-py2.py3-none-any.whl
). Note that on windows, in the command prompt, if you type.\arcproject
and then hit the Tab key on the keyboard, it will autocomplete names for you so you don't have to type the full name in. - The code is now installed. To use the tools, you'll need to add the toolbox
(
wq-processing-toolbox.pyt
) to ArcGIS Pro.
If you receive a newer version of the installation package, just follow the installation instructions again to upgrade the software. Make sure that you readd the toolbox using the new version in the new location you extracted the software to.
If you would like to do optional advanced setup methods to isolate the ArcProject code, see the following. These methods supercede the methods on this page and should be done instead of these methods, not in addition to.