how to install rdflib on Windows?

1,989 views
Skip to first unread message

esras...@gmail.com

unread,
Mar 26, 2014, 2:37:06 PM3/26/14
to rdfli...@googlegroups.com
Hi,
I wanted to ask how I can install rdflib on Windows 7? Actually I want to import rdflib on Python, but I get the following error: ImportError: No module named 'rdflib'. I am working with Python 3.4. Is it possible to install it on Python Shell and do I need to download any rdflib zip folder? Thanks!

Kind regards,
Esra

Gunnar Aastrand Grimnes

unread,
Mar 26, 2014, 2:54:36 PM3/26/14
to rdfli...@googlegroups.com
RDFLib is pure python for several years now, you can install it the
same way you install any other python module - with pip and/or
virtualenv.

I've not touched python on windows for year, but it seems all you have to do is:

1. Download https://raw.github.com/pypa/pip/master/contrib/get-pip.py
2. run python get-pip.py
3. run pip install rdflib

and you should be good to go!

Good luck!

- Gunnar
> --
> http://github.com/RDFLib
> ---
> You received this message because you are subscribed to the Google Groups "rdflib-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rdflib-dev+...@googlegroups.com.
> To post to this group, send email to rdfli...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rdflib-dev/7f1ce798-832c-4f7d-8ff9-4ac87d107d4f%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
http://gromgull.net

esras...@gmail.com

unread,
Mar 26, 2014, 4:04:46 PM3/26/14
to rdfli...@googlegroups.com
Thanks, I've installed it.

regards,
Esra

ekasari....@gmail.com

unread,
Mar 10, 2015, 3:28:59 AM3/10/15
to rdfli...@googlegroups.com, esras...@gmail.com
Hi Esra..
I have a same problem with you..
Im following with run get-pip and install rdflib..but, the problem still there
"ImportError: No module named rdflib" :(

maybe you can help me to solve this problem
thankyou

Ekasari

Gunnar Aastrand Grimnes

unread,
Mar 10, 2015, 4:03:03 AM3/10/15
to rdfli...@googlegroups.com, esras...@gmail.com
I guess your pip/python setup is broken.

Does it work to pip install and then import any other packages?

- Gunnar
> --
> http://github.com/RDFLib
> ---
> You received this message because you are subscribed to the Google Groups "rdflib-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rdflib-dev+...@googlegroups.com.
> To post to this group, send email to rdfli...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rdflib-dev/a5b5f555-7cb6-4104-8403-4812559b982a%40googlegroups.com.

ekasari....@gmail.com

unread,
Mar 10, 2015, 10:22:56 PM3/10/15
to rdfli...@googlegroups.com
oh my stupid...
my python is not running.. you're right
re-installed python and now working..

thank you Gunnar

sele...@gmail.com

unread,
Aug 15, 2018, 12:14:34 PM8/15/18
to rdflib-dev

I have python installed and rdflib, atleast it's been downloaded and I see it in the directory. But need help with a really simple question... how do I run it?

Reply all
Reply to author
Forward
0 new messages