[AMBER] The latest version of miniconda3-py3.10 cannot successfully install amber20 with cmake

From: wangjianing_mail via AMBER <amber.ambermd.org>
Date: Thu, 9 Mar 2023 00:39:00 +0800 (GMT+08:00)

Dear Amber user:
An error occurred when I installed amber20 according to the Basic installation guide with cmake :
##########################Error Message when make install
pytraj/datasets/c_datasetlist.cpp: In function ‘PyObject* __Pyx_Generator_Next(PyObject*)’:
pytraj/datasets/c_datasetlist.cpp:33567:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’?
##########################Error Message when make install
This error occur in many software installations,when I use python 3.10. And amber will choose the latest version when installing miniconda.
So I simply modified the file about line 60 $Mypath/amber20_src/cmake/PythonInterpreterConfig.cmake
########################## In PythonInterpreterConfig.cmake
#set(MINICONDA_VERSION latest) #From
  set(MINICONDA_VERSION "py39_23.1.0-1") #To
########################## In PythonInterpreterConfig.cmake
Is there any other solution that can let me enjoy miniconda3-py3.10 in amber?

Best,
Jia-Ning Wang
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Mar 08 2023 - 09:00:02 PST
Custom Search