pip install arcgis

942
1
09-23-2020 08:25 PM
by Anonymous User
Not applicable

I am having a bug by typing this command to host a script in my pythonanywhere account.

I get this error message:
Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-o_gaembh/arcgis/setup.py", line 152, in <module> [(_get_rel_site_packages_dir() + "arcgis/gis/_impl", [ File "/tmp/pip-install-o_gaembh/arcgis/setup.py", line 27, in _get_rel_site_packages_dir for sitepackages in site.getsitepackages(): AttributeError: module 'site' has no attribute 'getsitepackages'

Is there a work around? 
As it says it is a likely bug for arcgis.


Tags (2)
0 Kudos
1 Reply
DanPatterson
MVP Esteemed Contributor

Are you wanting to install it in an environment not created within arcgis pro?

The recommended way is via conda either in the base environment or one of its clones

https://anaconda.org/esri/arcgis 


... sort of retired...
0 Kudos