I found this great module on within and downloaded it as a zip file. Once I extracted the zip file, i put the two modules inside the file(setup and the main one) on the module folder including an extra read me file I needed to run. I tried installing the setup file but I couldn't install it because the console couldn't find it. So I did some research and I tried using pip to install it as well, but that didn't work. So I was wondering if any of you could give me the steps to install it manually and with pip (keep in mind that the setup.py file needs to be installed in order for the main module to work).
我在里面找到了这个很棒的模块,并下载了它作为一个zip文件。一旦我提取了zip文件,我将两个模块放在模块文件夹中的文件(安装和主文件)中,其中包括我需要运行的一个额外的read me文件。我尝试安装安装文件,但是由于控制台找不到,我无法安装它。所以我做了一些研究,我也尝试使用pip来安装它,但是没有成功。所以我想知道你们是否可以给我一些步骤来手动安装它和pip(记住这个设置)。为了让主模块工作,需要安装py文件)。
Thanks!
谢谢!
3 个解决方案
#1
15
The cleanest and simplest way I have found is to use pip from within QPython console as in This Answer
我发现的最干净和最简单的方法是在QPython控制台中使用pip作为这个答案。
import pip
pip.main(['install', 'networkx'])
#2
0
Extract the zip file to the site-packages folder. Find the qpyplus folder in that Lib/python3.2/site-packages extract here that's it.Now you can directly use your module from REPL terminal by importing it.
将zip文件解压缩到站点包文件夹。在Lib/python3.2/site-packages中找到qpyplus文件夹。现在,您可以通过导入REPL终端直接使用模块。
#3
#1
15
The cleanest and simplest way I have found is to use pip from within QPython console as in This Answer
我发现的最干净和最简单的方法是在QPython控制台中使用pip作为这个答案。
import pip
pip.main(['install', 'networkx'])
#2
0
Extract the zip file to the site-packages folder. Find the qpyplus folder in that Lib/python3.2/site-packages extract here that's it.Now you can directly use your module from REPL terminal by importing it.
将zip文件解压缩到站点包文件夹。在Lib/python3.2/site-packages中找到qpyplus文件夹。现在,您可以通过导入REPL终端直接使用模块。