简体   繁体   English

在python 3.4中安装RDFLIB包

[英]installing RDFLIB package in python 3.4

I am trying to install rdflib package in Python. 我正在尝试在Python中安装rdflib软件包。 I have anaconda 3.4 installed on my system, I tried installing this package in spyder with the following command: 我的系统上安装了anaconda 3.4,我尝试使用以下命令在spyder安装此软件包:

!pip install python-rdflib

but it is not installing. 但它没有安装。 please help to install rdflib package. 请帮助安装rdflib软件包。

Install everithing in a virtualenv and not system-wide: virtualenv中而非系统范围内安装everithing:

virtualenv myapp
source myapp/bin/activate
pip install anaconda  # or something similar (see below).
pip install rdflib

For more information: 欲获得更多信息:

pip install rdflib 点安装rdflib

run this command in command prompt (Command prompt should be run as administrator) and wait till installing the package.. after installing package in command prompt open spyder or any python IDE and call import rdflib.. it worked for me... 在命令提示符下运行此命令(命令提示符应以管理员身份运行)并等待安装软件包。在命令提示符下安装软件包后,打开spyder或任何python IDE并调用import rdflib ..它为我工作...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM