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

add requirements.txt #3

Open
SnelleJelle opened this issue Feb 2, 2019 · 9 comments
Open

add requirements.txt #3

SnelleJelle opened this issue Feb 2, 2019 · 9 comments

Comments

@SnelleJelle
Copy link

A requirements.txt would help others install the required packages.

In the readme.me you list cv2 for example, which isn't found on pypi by that name.
https://pypi.org/search/?q=cv2

@vietnh1009
Copy link
Owner

Hi,
cv2 is open cv, which you could install by pip or anaconda

@SnelleJelle
Copy link
Author

Could you elaborate because no such package exists on pypi?
https://pypi.org/search/?q=open+cv

@SnelleJelle
Copy link
Author

@vietnguyen91

@mtuchi
Copy link

mtuchi commented Oct 14, 2019

I can't find cv2 package as well

import cv2
ImportError: No module named cv2

Could you elaborate because no such package exists on pypi?
https://pypi.org/search/?q=open+cv

@NikhilCodes
Copy link

Do pip install opencv-python and your problem shall be solved!

@mtuchi
Copy link

mtuchi commented Oct 14, 2019

Do pip install opencv-python and your problem shall be solved!

This worked for img2txt.py am facing another problem with img2img.py

File "img2img.py", line 8, in <module>
  from PIL import Image, ImageFont, ImageDraw, ImageOps
ImportError: No module named PIL

pip install pil does not work

@NikhilCodes
Copy link

For using PIL use pip install pillow

@shaenr
Copy link

shaenr commented Jan 30, 2021

I added this solution on this fork https://github.com/shanerowden/ASCII-generator/
You can see the diff on this commit shaenr@40a8237

I would recommend just adding this to the upstream.

@github0hello
Copy link

install it
pip install opencv-python

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

No branches or pull requests

6 participants