Forums

Is it possible to import matplotlib.pyplot with sys.path.append()?

Hi, I'm a internship and i was asked to do a code for a database server that generates graphics with csv files fetched from this server and so i don't have permission to install lib's. So I though to create a folder with them and use sys.path.append to use them, all others module seems to work except matplotlib. Does someone know if it's possible to do that? How? Sorry for my bad english.

The error that's happening is: "from .transforms import (Bbox, IdentityTransform, TransformedBbox, File "~/Libraries/dist-packages/matplotlib/transforms.py", line 39, in <module> from matplotlib._path import (affine_transform, count_bboxes_overlapping_bbox, ImportError: No module named _path "

That looks to me like the matplotlib install that you're trying to use is broken in some way. How did you create it?