-
Notifications
You must be signed in to change notification settings - Fork 146
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
Update Flask or requirements.txt #194
Comments
Hi there, thnx for using AntminerMonitor. |
Yes i already install all the required packages from requirements.txt, and yes im not using a virtual environment |
I think the issue is due the Jinja2 version.
|
Okay, imma try that |
Ok so after trying that suggestion, im now getting this error |
According to pallets/markupsafe#284 you have to do |
After doing that now im getting this error, |
All those are not errors caused by the app itself but are dependency errors. |
hmm, okay so for now what do i need to do? |
You can search online for the error. |
okay, gotcha |
and now it seems to works, thanks! |
oh and also when i try to use the "miner discovery" feature it didnt seems to work |
There is a discovery in the app |
when trying to use the miner discovery it just loading loading and after it finishes theres nothing happening |
@anselal Hello
|
Did this happen on a new installation without adding any miners ? |
It’s new, clean installation on windows 10 (on parallels) |
Thanks for the feedback. I will look into it |
|
this new requirements file should do the work. |
1. Clean w11 DEPRECATION: infinity is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559 DEPRECATION: validators is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559 5. python manage.py create-db Traceback (most recent call last): PS C:\monitor> python -m pip install -r newrequirements.txt [notice] A new release of pip available: 22.3.1 -> 23.0 |
in txt log |
I am using python3.8. |
Also the file antminermonitor/database.py replace this with this |
|
PS C:\monitor> python manage.py create-db |
Nice, this is just a warning. I have fixed it in my local copy of the app. |
Thank you, everything works |
Hi so i recently just found this project and wanted to install it, but when i try to make the database it gives me this error
Traceback (most recent call last): File "manage.py", line 1, in <module> from flask.cli import FlaskGroup File "/usr/local/lib/python3.8/dist-packages/flask/__init__.py", line 19, in <module> from jinja2 import Markup, escape ImportError: cannot import name 'Markup' from 'jinja2' (/usr/local/lib/python3.8/dist-packages/jinja2/__init__.py)
do anyone know how to fix this?, thanks!The text was updated successfully, but these errors were encountered: