Hello I am trying to build the development version of arts and pyarts on a linux system with gcc version 11.2.1 20220127 (Red Hat 11.2.1-9.1.0.2) (GCC). I also tried on a macbook, but will focus on the linux attempt.
I downloaded the source and the arts-cat-data and arts-xml-data. When I try to make arts, it goes well until nearly the end: (mjschwar-env) dweezil:build$ make -- ARTS version: 2.5.7 (git: 007883e7) [ 0%] Built target auto_version.txt … [ 90%] Built target arts_developer-stamp [ 90%] Built target arts_user-stamp doc/uguide/CMakeFiles/arts_developer-stage1.dir/build.make:169: *** target pattern contains no '%'. Stop. make[1]: *** [CMakeFiles/Makefile2:2971: doc/uguide/CMakeFiles/arts_developer-stage1.dir/all] Error 2 make: *** [Makefile:160: all] Error 2 So this seems to be failing somewhere in the building or checking of documentation. I can (seemingly successfully) specifically make only the targets arts and pyarts: make arts make pyarts cd python python3 -m pip install --user -e . I then did conda install docutils matplotlib netCDF4 numpy pytest scipy setuptools xarray pip install lark-parser but when I try to import pyarts, $ python Python 3.9.13 (main, Oct 13 2022, 21:15:33) [GCC 11.2.0] :: Anaconda, Inc. on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pyarts Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/users/michael/ARTS/arts-2.5/build/python/pyarts/__init__.py", line 8, in <module> from pyarts import arts # noqa ImportError: cannot import name 'arts' from partially initialized module 'pyarts' (most likely due to a circular import) (/users/michael/ARTS/arts-2.5/build/python/pyarts/__init__.py) >>> It seems that it is trying, during the initialization of pyarts, to import arts from pyarts. This is the same error message that I get to with the install on my macbook. Do you have any suggestions? Thank you, danke, tack, Michael