fmm
fmm copied to clipboard
Make FMM python3 compatible
Since python2 is officially out of support, can we move fmm from python2 to python3?
I have not tried it yet but you should be able to install the binding for python 3 as long as the correct python version is found.
Some modifications should be made to this file: https://github.com/cyang-kth/fmm/blob/master/python/CMakeLists.txt
When I try with python 3 installation on a separate environment created by anaconda, I encountered a problem of segment fault when calling from fmm import Network
, the error needs further consideration.
You can use this. fmm-python3.patch.zip
Python 3.6.9 (default, Mar 15 2022, 13:55:28)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from fmm import Network,NetworkGraph,STMATCH,STMATCHConfig
>>>
You can use this. fmm-python3.patch.zip
Python 3.6.9 (default, Mar 15 2022, 13:55:28) [GCC 8.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from fmm import Network,NetworkGraph,STMATCH,STMATCHConfig >>>
Could you tell me how to use the file fmm-python3.patch
? thanks
你可以使用它。fmm-python3.patch.zip
Python 3.6.9 (default, Mar 15 2022, 13:55:28) [GCC 8.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from fmm import Network,NetworkGraph,STMATCH,STMATCHConfig >>>
你好,请问如何使用这个压缩包里的.patch文件?