samedi 11 mai 2019

How install Flask correctly for python 3.7 to run this github project?

I want to run this Github code on my MacOS: https://github.com/llSourcell/AI_Startup_Prototype/tree/master/flaskSaaS-master

I have both the latest pip, Python 2.7 and 3.7

I have also installed Flask (for python 3: https://dev.to/sahilrajput/install-flask-and-create-your-first-web-application-2dba )

and made a hello world in PyCharm

I use the given setup instructions from the Github project: I go to the folder (I have downloaded it and extracted the zip) than I run the 1st set up code on the terminal:

make install && make dev 

And I get the following message:

pip install -r requirements.txt
Collecting Flask==0.10.1 (from -r requirements.txt (line 1))
  Could not fetch URL https://pypi.python.org/simple/flask/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) - skipping
  Could not find a version that satisfies the requirement Flask==0.10.1 (from -r requirements.txt (line 1)) (from versions: )
No matching distribution found for Flask==0.10.1 (from -r requirements.txt (line 1))
make: *** [install] Error 1

Thank you for the help




Aucun commentaire:

Enregistrer un commentaire