Hi @eguiraud
Thanks for your reply. I found a report with exactly the same error message here. "error: '::timespec_get' has not been declared" with conda root package - #8 by kkrizka. In my case, I suspect there are packages in the conda environment not from conda-forge. This command conda upgrade -c conda-forge --all
solves my problem. Credit to @bfontana
Thanks,