Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to include a library like lxml without installing it?

Tags:

python

lxml

I need to perform some xml parsing using a machine that I may not have permission to install libraries in. So is it possible to include a python library like lxml with my source?

like image 405
Christopher Dorian Avatar asked Jul 01 '11 15:07

Christopher Dorian


People also ask

How do I know if LXML is installed?

You can check if you have the lxml package installed by running the pip show lxml command. Copied! The pip show lxml command will either state that the package is not installed or show a bunch of information about the package, including the location where the package is installed.


1 Answers

Have you tried using virtualenv? That should let you use lxml without "installing" it.

like image 139
NickAldwin Avatar answered Sep 27 '22 20:09

NickAldwin