我需要使用与pip一起安装的InfoMap模块(https://github.com/mapequation/infomap)进行图形聚类。
1.首先,我在Win10上为Linux安装了一个windows子系统。https://docs.microsoft.com/en-us/windows/wsl/install-win10#manual-installation-steps
2.在Ubuntu中安装pip和pip3。
sudo apt-get -y update
sudo apt-get install python3-pip
sudo apt-get install python-pip3.在Ubuntu中安装gcc。
sudo apt install gcc4.在Ubuntu中安装Infomap1.3.0(https://pypi.org/project/infomap/)。
pip install infomap已成功安装infomap模块,路径为:/home/xc1996/.local/lib/python3.8/site-packages (1.3.0)
5.我的anaconda模块包路径是Win10上的F:\Users\xc\anaconda3\Lib\site-packages。现在,我在win10上的anaconda(python3.8)找不到这个模块。
6.为了在我的anaconda路径上安装它,我还尝试了
sudo pip3 install infomap --target=/mnt/f/Users/xc/anaconda3/Lib/site-packages现在,我在win10上的anaconda(python3.8)也找不到这个模块,不知道哪个步骤wrong.How才能正确安装它?
发布于 2021-05-25 21:42:30
您的意思是,您需要使用github.com中提供的信息映射模块
1]First install git in your PC.
2]go to the link *https://github.com/mapequation/infomap*
3]on the github page copy this link in code button or copy the below link
4]the link is this *https://github.com/mapequation/infomap.git*
5]copy the above link
6]open the cmd in your windows and type the below command
7]git clone *https://github.com/mapequation/infomap.git*
8]You are donehttps://stackoverflow.com/questions/67535298
复制相似问题