admin管理员组文章数量:1122846
I have a code (which is not mine) and I need to run it (I have a short time and it's really important to run it as soos as possible). This code uses lfr this way: from lfr import LFR_benchmark_graph
My problem is that I can't install lfr. I deleted every version of python I had and even deleted pycharm. Then I followed these steps: installed python 3.8.10 (Comments in the code suggested), created a virtual environment and updated pip then ran the command "pip install lfr".
After 7 hours, download stopped (while trying to find the compatible numpy version), and ResolutionTooDeep error poped up:
"pip._vendor.resolvelib.resolvers.ResolutionTooDeep: 2000000"
Can anyone guide me through installing lfr?
I searched and found that networkX has LFR_benchmark_graph as well. Are these the same? if yes, then can I just replace networkX with lfr in "from lfr import LFR_benchmark_graph"?
I installed lfr without dependencies but it didn't work.
Also I found a dependences.txt file for lfr in github and installed dependences, but when I tried to install lfr I got this error: ERROR: Packages installed from PyPI cannot depend on packages which are not also hosted on PyPI. lfr depends on dafd@ /home/krishna/CIDAR/DAFD
本文标签: graphHow do I install lfr in python and find compatible version of dependencesStack Overflow
版权声明:本文标题:graph - How do I install lfr in python and find compatible version of dependences? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736309661a1934097.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论