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

Create requirements.txt #3

Open
bgant opened this issue Nov 20, 2018 · 3 comments
Open

Create requirements.txt #3

bgant opened this issue Nov 20, 2018 · 3 comments

Comments

@bgant
Copy link
Owner

bgant commented Nov 20, 2018

Read about and create a requirements.txt file for external modules.

@bgant
Copy link
Owner Author

bgant commented Dec 7, 2018

Done but not tested on clean installation yet.

@Arceoavs
Copy link

Arceoavs commented Dec 5, 2020

I tried the project recently (nice work, I really like it) and on startup the following error was thrown:

Traceback (most recent call last): File "inkyphat-stockmarket.py", line 139, in <module> from fonts.ttf import FredokaOne ImportError: cannot import name 'FredokaOne' from 'fonts.ttf' (/usr/local/lib/python3.7/dist-packages/fonts/ttf/__init__.py)

I was able to resolve this issue by just installing the font via pip (pip install font-fredoka-one), I think it would be better to include it in the requirements.txt

@bgant
Copy link
Owner Author

bgant commented Dec 7, 2020

Hi Arnold! Thanks for testing the code and I am glad you like it. I have updated the requirements.txt file to include the font-fredoka-one package.

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

2 participants