POST
|
Ok, great! That worked. Thank you very much, Clinton Dow. You have been ever so helpful.
... View more
09-26-2017
12:07 AM
|
1
|
0
|
1278
|
POST
|
Thanks for the reply Clinton Dow, When I edit the .condarc-file, I would expect the list of available packages in the ArcGIS Pro Python Package Manager to change, reflecting the packages available in the new conda-sources. What I've done is change the C:\Program Files\ArcGIS\Pro\bin\Python\.condarc - file with the following iterations: Original: channels:
- esri
- default
New 1: channels:
- esri
- defaults
- http://anaconda:8080/conda/company
New 2: channels:
- esri
- http://anaconda:8080/conda/company
New 3: channels:
- http://anaconda:8080/conda/company
New 4: channels: I check the contents of ArcGIS Pro => Projects => Python => Add packages after editing .condarc: - None of the above condarc-files show any of the packages hosted on our anaconda server. - Even with a completely empty .condarc-file (New 4), nothing changes in ArcGIS Pro in the list of available packages. So I'm not sure how ArcGIS Pro uses the references in the .condarc-file. I also have the company approved Miniconda installed on my machine, and that conda instance is the machine default. But ArcGIS Pro is not using this by mistake, as our Miniconda is configured to solely (and successfully) communicate with our in-house anaconda server at http://anaconda:8080/conda/company. I would like to interact with ArcGIS Pro's conda via the command line to figure out whats going on, but I can't figure out how. Do you have any tips? I might mention that I'm also communicating with my local Esri distributor about this issue as well, but without any luck. The documentation for Pro and Conda seems to only cover interaction via ArcGIS Pro GUI: The Python Package Manager—ArcPy Get Started | ArcGIS Desktop
... View more
09-25-2017
01:27 AM
|
0
|
2
|
2187
|
IDEA
|
Situation: When working with scripting via ArcGIS Pro, or when doing work offline, the user will need to borrow a license by checking the "Authorize ArcGIS Pro to work offline"-box in the Licensing menu under the Project tab. This functionality is fine. Problem: The problem arises when the user uninstalls the software in this state: The license is then lost until the automatic hand-in (which may be months away). Users have to remember to uncheck this box when uninstalling software, otherwise the license is gone. Proposal: My proposal is that when we uninstall ArcGIS Pro, the software checks if there are any currently borrowed licenses on the machine, and warns the user that licenses might be lost in the uninstall process. Maybe even with the option of handing them in automatically. This would save us users, and the kind people at ESRI Customer Support lots of time.
... View more
09-19-2017
03:00 AM
|
11
|
0
|
635
|
IDEA
|
Situation: When working with scripting via ArcGIS Pro, or when doing work offline, the user will need to borrow a license by checking the "Authorize ArcGIS Pro to work offline"-box in the Licensing menu under the Project tab. This functionality is fine. Problem: The problem arises when the user uninstalls the software in this state: The license is then lost until the automatic hand-in (which may be months away). Users have to remember to uncheck this box when uninstalling software, otherwise the license is gone. Proposal: My proposal is that when we uninstall ArcGIS Pro, the software checks if there are any currently borrowed licenses on the machine, and warns the user that licenses might be lost in the uninstall process. Maybe even with the option of handing them in automatically. This would save us users, and the kind people at ESRI Customer Support lots of time.
... View more
09-19-2017
03:00 AM
|
12
|
0
|
550
|
POST
|
Hello Clinton, Our organization uses python 3.4 for all business applications. So I obviously use the arcpy supplied with ArcGIS Pro for scripts and tools that need both GIS-functionality and access to business data. As part of this, I need to be able to access arcpy from external python environments, as we use a custom anaconda server to distribute all our api's, and this cannot be installed with ArcGIS Pro's environment. So I was very surprised after I upgraded to ArcGIS Pro 2.0 that this feature that was external environment access was revoked. I can no longer access arcpy from outside of ArcGIS Pro. I will have to downgrade until a solution is found. You say that there is a hack, but I cannot find information regarding this anywhere.
... View more
08-07-2017
01:57 AM
|
0
|
7
|
2187
|
POST
|
Hei again Shaun Walbridge! I just got ArcGIS Pro up and running, and with only minor alterations to the code I got i working seamlessly with ArcGIS Python 3.4. The SciPy-version packaged with ArcGIS Pro has all the tools in I need for the job. Great stuff, and a nice entry point for me to slowly convert to ArcGIS Pro.
... View more
09-09-2015
06:21 AM
|
1
|
1
|
1288
|
POST
|
Hi Shaun Walbridge, Thanks for the heads-up! I generally do most of my work in scripts via Anaconda, and my Anaconda install references the arcpy site package via a .pth-file. I hoped that the same would work the other way, and had tried it, but it seems like something is missing. I added C:\...\Anaconda\Lib\site-packages to anaconda.pth and placed this in the C:\Python27\ArcGIS10.3\Lib\site-packages. I was then able to import scipy but if i attempt import scipy.ndimage it failed: >>> import scipy >>> import scipy.ndimage Runtime error Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\u34386\AppData\Local\Continuum\Anaconda\Lib\site-packages\scipy\ndimage\__init__.py", line 172, in <module> from .filters import * File "C:\Users\u34386\AppData\Local\Continuum\Anaconda\Lib\site-packages\scipy\ndimage\filters.py", line 36, in <module> from . import _nd_image ImportError: numpy.core.multiarray failed to import I assume that this is the mismatch in numpy-versions you mentioned. It would explain why the scipy.ndimage import failes at least, but at the same time it is strange that scipy seems to work (apparently). We have access to Pro, so that might actually be a solution. I'll check it out. Thanks!
... View more
07-16-2015
11:58 PM
|
0
|
1
|
1288
|
POST
|
Thanks for all the info, Xander Bakker! I am looking forward to more integration of SciPy in ArcGIS, as the speed and functionality of some of the methods in the module just blows Spatial Analyst out of the water (I'm sorry to say!). I found the white papers and the power points from the DevSummit presentations, but I did not seem to find any substantial information on ha to actually make the bridge work. I am using ArcGIS Desktop 10.3 Advanced.
... View more
07-16-2015
11:40 PM
|
0
|
0
|
1288
|
POST
|
I have just discovered the scipy.ndimage.label method, which is just amazing at simple raster object detection. I have made a script that uses this method extensively, and would like to create a script tool in an arcgis toolbox. The problem is that I am not able to get a working install of scipy with native arcgis python. My solution has been to install Anaconda Python in parallell with ArcGIS Python, and then make the tool run the script via the command line using the Anaconda Python passing the GetParameterAsText's as command line arguments: os.system('C:\...\Anaconda\python.exe "C:\GIS_Scripts\...\My_script.py" "arg1" "arg2" "arg3"') This works, but it lacks proper error propagation and messages to the tool window in ArcMap. So, two questions: 1) Have any of you managed to use SciPy with native ArcGIS python, and if you have, can you make scipy.ndimage work? I seem to constantly be missing some module references. 2) Is there any way to decouple the native Python install, and make ArcGIS use another python executable but while still making arcpy available? Kind regards, Tobias
... View more
07-16-2015
04:29 AM
|
1
|
7
|
4701
|
Title | Kudos | Posted |
---|---|---|
1 | 09-09-2015 06:21 AM | |
1 | 09-26-2017 12:07 AM | |
12 | 09-19-2017 03:00 AM | |
11 | 09-19-2017 03:00 AM | |
1 | 07-16-2015 04:29 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|