Anaconda Navigator installed OK. Jupyter Notebook Launch from Navigator and Terminal ("Jupyter-notebook") gets syntax errors. Also from Terminal ("conda install -c esri arcgis") gets syntax errors. Is the problem with latest OSX update 10.12.5?
Atma, Just created a new conda environment and tried install for arcgis python api and startng jupyter notebook.
Both failed with the same error message as before. If no further suggestions I will wait awhile before removing
QGIS to see what happens.
Atma, This is strange as I also installed Anaconda and the ArcGIS Python API on my two old Linux-Ubuntu computers
the same day and both have QGIS and work OK. I rarely use my Mac and am also new to Anaconda so not sure yet
how to run in different conda environment ( I will look this up). One possibility is to just remove QGIS on the Mac as I
also have it on PCs and Linux computers. However, I only have one Mac. Any further suggestions would be helpful.
--Thanks!
Does the error here stem from pygments library installed with QGIS? One way to isolate this is to install and use the ArcGIS API in a new conda environment. I would recommend this as long as you do not have to use both QGIS and ArcGIS in the same python environment.
Hi Atma, My earlier reply was from email. Here is another with just specific errors.
For Jupyter Notebook:
File "/Applications/QGIS.app/Contents/Resources/python/pygments/__init__.py", line 46 except TypeError, err: ^SyntaxError: invalid syntax
For ArcGIS:
Could QGIS installed on this Mac be an issue?
Hi Atma, Here are my error messages. Any help appreciated!
Larrys-Mac-mini-3:~ lspear$ jupyter notebook
Traceback (most recent call last):
File "/Users/lspear/anaconda/bin/jupyter-notebook", line 6, in
import pygments
File "/Applications/QGIS.app/Contents/Resources/python/pygments/__init__.py", line 46
except TypeError, err:
^
SyntaxError: invalid syntax
For arcgis:
Larrys-Mac-mini-3:~ lspear$ conda install -c esri arcgis
Fetching package metadata ...........
Solving package specifications: .
Package plan for installation in environment /Users/lspear/anaconda:
The following NEW packages will be INSTALLED:
arcgis: 1.2.0-py36_1 esri
Proceed (/n)? y
Uninstalling prior versions of arcgis widget
File "/Users/lspear/anaconda/bin/jupyter-nbextension", line 6, in
Non-degree Student URL: http://www.unm.edu/~lspear
University of New Mexico
Albuquerque, New Mexico 87131
Can you paste your error message? It would be easier to see what is going on.
As to support for OSX 10.12.5, my Mac runs this version and I do not have any issues.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.