首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在win10上安装anaconda(python3.8)中的infomap模块?

如何在win10上安装anaconda(python3.8)中的infomap模块?
EN

Stack Overflow用户
提问于 2021-05-14 21:37:49
回答 1查看 85关注 0票数 0

我需要使用与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。

代码语言:javascript
复制
sudo apt-get -y update
sudo apt-get install python3-pip
sudo apt-get install python-pip

3.在Ubuntu中安装gcc

代码语言:javascript
复制
sudo apt install gcc

4.在Ubuntu中安装Infomap1.3.0(https://pypi.org/project/infomap/)。

代码语言:javascript
复制
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路径上安装它,我还尝试了

代码语言:javascript
复制
sudo pip3 install infomap --target=/mnt/f/Users/xc/anaconda3/Lib/site-packages

现在,我在win10上的anaconda(python3.8)也找不到这个模块,不知道哪个步骤wrong.How才能正确安装它?

EN

回答 1

Stack Overflow用户

发布于 2021-05-25 21:42:30

您的意思是,您需要使用github.com中提供的信息映射模块

代码语言:javascript
复制
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 done
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/67535298

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档