You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 31, 2020. It is now read-only.
I'm trying to use the code belonging to the webmap-folder. However, I seem to be unable to do so. In the 'init.py' of ArcREST I noticed that the import of webmap is commented out. When I try to import the package manually I get the following error:
>>> from arcrest import webmap
Runtime error
Traceback (most recent call last):
File "", line 1, in
File "C:\Python27\ArcGIS10.3\lib\site-packages\arcrest\webmap_init_.py", line 2, in
import domain
ImportError: No module named domain
I tried to solve this error by doing the following and got an error again:
>>> import sys >>> from os import path >>> sys.path.append('.../ArcREST-master/src/arcrest/webmap') >>> from arcrest import webmap
Runtime error
Traceback (most recent call last):
File "", line 1, in
File "C:\Python27\ArcGIS10.3\lib\site-packages\arcrest\webmap_init_.py", line 2, in
import domain
File ".../ArcREST-master/ArcREST-master/src/arcrest/webmap\domain.py", line 6, in
from .._abstract.abstract import BaseDomain
ValueError: Attempted relative import in non-package
Can someone please help me out? I've been wrecking my brain over this for days now..
Much thanks in advance!!!
Versions
ArcREST-master
ArcMap 10.3
The text was updated successfully, but these errors were encountered:
Dear someone,
I'm trying to use the code belonging to the webmap-folder. However, I seem to be unable to do so. In the 'init.py' of ArcREST I noticed that the import of webmap is commented out. When I try to import the package manually I get the following error:
>>> from arcrest import webmap
Runtime error
Traceback (most recent call last):
File "", line 1, in
File "C:\Python27\ArcGIS10.3\lib\site-packages\arcrest\webmap_init_.py", line 2, in
import domain
ImportError: No module named domain
I tried to solve this error by doing the following and got an error again:
>>> import sys
>>> from os import path
>>> sys.path.append('.../ArcREST-master/src/arcrest/webmap')
>>> from arcrest import webmap
Runtime error
Traceback (most recent call last):
File "", line 1, in
File "C:\Python27\ArcGIS10.3\lib\site-packages\arcrest\webmap_init_.py", line 2, in
import domain
File ".../ArcREST-master/ArcREST-master/src/arcrest/webmap\domain.py", line 6, in
from .._abstract.abstract import BaseDomain
ValueError: Attempted relative import in non-package
Can someone please help me out? I've been wrecking my brain over this for days now..
Much thanks in advance!!!
Versions
ArcREST-master
ArcMap 10.3
The text was updated successfully, but these errors were encountered: