Closed redouane20-1 closed 2 years ago
Hello, it seems we will need to upgrade dependencies to allow this. Please feel free to go ahead and submit a PR if you have the possibility to do so. Otherwise we will tackle it as soon as reasonably possible.
On Thu, May 12, 2022, 10:26 PM Redouane LESHAF @.***> wrote:
When I try to launch the service, I get this error:
Traceback (most recent call last): File "word2vec-api.py", line 13, in
from flask import Flask, request, jsonify File "C:\Users\user1\anaconda3\envs\py373\lib\site-packages\flask__init.py", line 19, in from jinja2 import Markup, escape ImportError: cannot import name 'Markup' from 'jinja2' (C:\Users\user1\anaconda3\envs\py373\lib\site-packages\jinja2\ init__.py)So I wanna know if this API can use flask 2.x.x instead of flask 1.0.2
— Reply to this email directly, view it on GitHub https://github.com/3Top/word2vec-api/issues/31, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABMC7QVRN4HW7T5UFVI6QLVJVSQ3ANCNFSM5VZMPLZA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hi! After updating the requirements.txt file by removing the versions of flask, flask REST-full and future, it works fine.
When I try to launch the service, I get this error:
So I wanna know if this API can use flask 2.x.x instead of flask 1.0.2