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.
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