Yeah, I spotted the mistake. There was a file left in the folder named reportlab.pyc which I could not see from the pycharm interface.
Thanks! On Mon, Apr 18, 2016 at 1:47 AM, Danny Yoo <danny....@gmail.com> wrote: > >> But I get the following error code on line 1 >> >> ImportError: No module named pdfgen >> > > Is reportlab.pdfgen a standard part of that package's installation? > > You might want to check for possible conflicts with other things called > reportlab. Do you have any files in the current directory that are called > "reportlab"? > > You might also try the following: > > ### > import reportlab > print(reportlab.__file__) > ### > > which hopefully should point to the expected path. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor