Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pipreqs mapping - cv2 to opencv-python #307

Open
adventure2165 opened this issue May 2, 2022 · 1 comment · May be fixed by #373
Open

pipreqs mapping - cv2 to opencv-python #307

adventure2165 opened this issue May 2, 2022 · 1 comment · May be fixed by #373

Comments

@adventure2165
Copy link

Hello.

I notice that pipreq failed to recognize cv2.

First, i tried to figure out the reason, and found that the pypi server have the cv2 package name as opencv-python, not cv2.

and i found the file names mapping, which has the package names to mapping input package name to already defined names.

so i add cv2:opencv-python, and it actually worked.

But I don't know if I can edit it like this and I'd like to ask if it's okay to modify this way. I wish someone could check it out. Thanks.

@fzyzcjy
Copy link

fzyzcjy commented Aug 10, 2022

+1

mcp292 added a commit to mcp292/pipreqs that referenced this issue May 17, 2023
@mcp292 mcp292 linked a pull request May 17, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants