I am calling in a layer from an item ID by using the arcgis module "layers". If I just pull in the item using gis.content.get(item_id), the item shows up fine. When I try to get to the layers though, I get the error module 'arcgis.layers' has no attribute '_ogc' . This was working for a long time, and is my go-to method for referencing in an AGOL item in a script. Any input is appreciated!
Solved! Go to Solution.
I figured it out, but for reference I just had to upgrade the module.
pip install arcgis --upgrade
I figured it out, but for reference I just had to upgrade the module.
pip install arcgis --upgrade