Installing on Eclipse/Mac

28 views
Skip to first unread message

vsj...@gmail.com

unread,
Apr 22, 2015, 8:29:01 PM4/22/15
to rdfli...@googlegroups.com
Hi,

I am running python 2.7 on eclipse Luna as PyDev. I have never used rdflib before but I need if for my AI project. Can anyone guide me how do I install rdflib on my workspace?

n...@mayacs.com

unread,
Apr 23, 2015, 5:31:45 AM4/23/15
to rdfli...@googlegroups.com, vsj...@gmail.com
Hi,

If you just want to download the rdflib code into the Eclipse project, open Terminal and run
pip install rdflib -t path/to/your/eclipse/project

If you do not want to see the code itself, but want rdflib added to your Mac's python environment, run
sudo pip install rdflib
This makes rdflib available to all python running on the machine.

I personally prefer setting up a virtual environment for each python project and install into that. You can read about virtual environments here: http://docs.python-guide.org/en/latest/dev/virtualenvs/

Cheers,
Niels

vsj...@gmail.com

unread,
Apr 25, 2015, 11:57:12 AM4/25/15
to rdfli...@googlegroups.com, vsj...@gmail.com
On Wednesday, April 22, 2015 at 7:29:01 PM UTC-5, vsj...@gmail.com wrote:
> Hi,
>
> I am running python 2.7 on eclipse Luna as PyDev. I have never used rdflib before but I need if for my AI project. Can anyone guide me how do I install rdflib on my workspace?

Yeah got it to work. Thanks.
Reply all
Reply to author
Forward
0 new messages