2
Hello, I’m trying to import the following lib in my Python project 2.7:
from reportlab.lib.rparsexml import simpleparse
Error:
Import: No module named reportlab.lib.rparsexml
I tried to install the python-reportlab:
python-reportlab is already the Newest version.
Note: I am using the virtualenv.
It is likely that you have installed reportlab in the virtual environment but your project is not connected to virtualenv
– Paulo
In the terminal activate your virtual environment, type
pythonin the terminal and try to import the moduleimport reportlab, successfully care that your project is not configured to run in the environment.– Paulo