Patch Anaconda Navigator to use conda executable instead of root python wrapper to conda Įntails altering a couple of lines in the conda-api.py file. In order to get the above, you have to edit a few lines in the 'conda_api.py' which will located in your clone pathĬ:\ArcGIS\bin\Python\envs\dan\Lib\site-packages\anaconda_navigator\api Now not everyone needs this nor can everyone do this, but with a patch on a single file, you can add an alternate package manager and access to a load of documentation links. love that blue? /blogs/dan_patterson/8/making-conda-package-installs-easier The package manager seems to take longer and you don't get much feedback during the process.Īgain, I prefer to examine an upgrade using the -dry-run option first, prior to committing. You can upgrade a package either from the package manager in ArcGIS Pro or via conda. You can leave out the -dry-run option to perform the actual install once you are sure you won't cause any foreseen issues. Since I prefer the -dry-run option in conda, I will illustrate it here. You can add a package from within the package manager of via conda. To obtain information on your environments, just run conda info -envs The shortcut brings up the command prompt in you active environment. Activate the environment, close Pro, then restart with the new environment. It is slower and you don't get a lot of information, but they are improving it as they go along. Your environments can be controlled within ArcGIS Pro's package manager or via 'conda' accessed through proenv.bat. I prefer to make a desktop shortcut as shown below. You can launch proenv.bat via your windows start options under the guise of the Python Command Prompt. This guide is only for people which have actual control over their computers. the package installation is the same for bothĬlone. I still recommend using this first, then check the list for possible conflicts issues. You can check the affect of package updates without actually installing them. Alternately, create your clone and try to get it working with your packages and arcpy.Run 'conda' via proenv.bat ( the python command prompt) and make sure your arcgispro-p圓 is active and install away.Specify the folder where you want Pro to be installed.Double-click on the *.msi file to begin the installation.Run the *.exe you downloaded so you have the installer *.msi and *.cab files.When you download, use save as to download the *.exe to a folder.I also installed other packages into that environment without issue.I installed spyder via conda into the arcgispro-p圓 env and now I have spyder working.I couldn't install any packages through Pro's package manager, and when I installed Spyder via conda in my clone, it couldn't import arcpy Make a clone as describe below the dashed = line if you aren't in control of your machine.is a really long path with spaces and I hate installing anything there that doesn't need to Make a folder ahead of time (ie arc_pro or similar and install there. Don't let the installation software decide where it wants to install.Alternately, good time to buy a really good upgraded machine.I completely uninstalled previous versions of Arc-Anything-and-Everything.This need hasn't happened with any of my cohort. ![]() Keep the *.exe download and/or the *.msi and *.cab files if you 'toast' something and need to do a reinstall.If this is you, then you can install packages base ArcGIS Pro environment because you will have full admin rights. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |