Score:0

ModuleNotFoundError: No module named 'arcpy'

kr flag

I ran @Borealis code (from here: https://stackoverflow.com/questions/16411468/calculate-ndvi-using-python ) on Ubuntu Mate and although I have installed arcgis with this command: pip3 install arcgis, I got this error:

Traceback (most recent call last):
  File "stackoverflow_code.py", line 3, in <module>
    import arcpy, string
ModuleNotFoundError: No module named 'arcpy'

Any idea what is wrong and how to fix it?? because I cannot find a reliable solution in google search, most of the answers are related to Windows/anaconda...

Knud Larsen avatar
by flag
Hint ... https://pro.arcgis.com/en/pro-app/latest/arcpy/get-started/what-is-arcpy-.htm
just_learning avatar
kr flag
Thanks but I use python code on Ubuntu Mate. The above code is related to anaconda, which I do not use.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.