pipreqs icon indicating copy to clipboard operation
pipreqs copied to clipboard

Skipping an import

Open Paksssssss opened this issue 8 years ago • 2 comments

Pipreqs skips MySQLdb import.

Paksssssss avatar Jan 29 '18 07:01 Paksssssss

It looks like this import refers to https://pypi.org/project/MySQL-python/. Once a mapping is added to the mapping file, it should be picked up correctly.

jonafato avatar Nov 09 '18 03:11 jonafato

Pipreqs skips MySQLdb import.

@Paksssssss

pip install PyMySQL and then import pymysql inside the file worked for me. I'm using pymysql + sqlalchemy.

hangryusprime avatar Feb 20 '19 03:02 hangryusprime