Comments (3)
It appears that you've installed arcgis package in arcgispro-py3 environment using proenv.bat/Python Command Prompt window within ArcGIS Pro, but the notebook server has been started in a different conda environment.
Can you try restarting Jupyter notebook from within the proenv.bat/Python Command Prompt window in ArcGIS Pro?
from arcgis-python-api.
Hello @cyrusblankinship,
Unfortunately the instructions in the other thread are out of date and using conda-forge
is known to cause some issues. We've resolved this problem for the next release of Pro, but that doesn't help you now. A couple of options:
- If you're comfortable editing code, open the file:
<Pro installation directory>\Resources\ArcPy\arcpy\__init__.py
and change line 31, which currently reads:
if not "Continuum" in sys.version:
to instead read:
if not "Continuum" in sys.version and not "conda-forge" in sys.version:
That will allow "conda-forge" to pass muster as a provider of a Python installation. (We added this check to prevent some complicated cases that will cause crashes with mixing Python installs).
- The less technical solution is to entirely delete Pro, remove any remaining directories and files in the
<Pro install>\bin\Python
directory (which will have been modified by installing viaconda-forge
), and then installing Pro again. Finally, then use the instructions provided in the documentation which should boil down to openingproenv.bat
and then running:
conda install -c esri arcgis
From the prompt.
from arcgis-python-api.
@scw, I followed the second option and it worked. Thank you both for the detailed description.
from arcgis-python-api.
Related Issues (20)
- documentation refers to a list of values for the privileges parameter that doesn't seem to exist HOT 2
- WebMap object move_to_basemap() method will not move the layer to the basemap HOT 5
- configure_pop_ups() to turn on/off field visibility does not work if you have set popupElements in the JSON HOT 1
- ArcGIS API for Python WebMap method to combine layers into a Group Layer and also the ungroup. HOT 1
- initialState property not added to webmap.definition or get_data() when the ArcGIS API for Python is used to create a WebMap HOT 2
- FeatureLayerCollection.manager.create_view() does not correctly handle the view_layers parameter(?) HOT 2
- spatial.to_featureclass() errors on spatial reference
- Dependency conflict between arcgis and mage-ai due to jupyter-client version requirements HOT 3
- Argispro python Kernel crash in visual studio code HOT 1
- Doc - remove reference to "PlacesAPI (beta)" HOT 1
- Connection using GIS("Pro") intermittently fails when running script HOT 8
- spatial.to_featureset() creates FeatureSet with no spatial reference HOT 4
- Error displaying widget: model not found for arcgis 2.1.0 HOT 3
- Name 'm' is not defined "m.extent = area['extent']" HOT 5
- Feature Layer Collection query_domains() returns and empty list from a Feature Layer in ArcGIS Online HOT 4
- Diacritics in an ArcGIS Survey 123 Form result in a failure during cloning
- WebMap object basemap_title() getter does not do as it says in the documentation for API version 2.2.0.1 HOT 1
- JSON Format Mismatch for NER data export from Doccano Editor vs. ArcGIS Format
- Issues with datetime imports; arcgis python API is overwriting the import causing a runtime exception HOT 1
- GeoAccessor.compare incorrectly shows every row as modified HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arcgis-python-api.