Giter VIP home page Giter VIP logo

demo_application's People

Contributors

imchairmanm avatar tarikdemirci avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

cpk1224

demo_application's Issues

Buildpack defaults to python 3 on Dokku

While following the below tutorial:
https://www.digitalocean.com/community/tutorials/how-to-use-the-dokku-one-click-install-image-to-deploy-your-app

git push step fails because buildpack defaults to python3 and required flask version doesn't support python3

$ git push dokku master
Counting objects: 8, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (8/8), 769 bytes | 769.00 KiB/s, done.
Total 8 (delta 0), reused 0 (delta 0)
-----> Cleaning up...
-----> Building demo1 from herokuish...
-----> Setting config vars
       CURL_CONNECT_TIMEOUT:  90
-----> Setting config vars
       CURL_TIMEOUT:  60
-----> Adding BUILD_ENV to build environment...
-----> Python app detected
-----> Installing python-3.6.2
-----> Installing pip
-----> Installing requirements with pip
       Collecting Flask==0.9 (from -r /tmp/build/requirements.txt (line 1))
       Downloading Flask-0.9.tar.gz (481kB)
       Complete output from command python setup.py egg_info:
       Traceback (most recent call last):
       File "<string>", line 1, in <module>
       File "/tmp/pip-build-ph_l2p45/Flask/setup.py", line 62
       print "Audit requires PyFlakes installed in your system."
       ^
       SyntaxError: Missing parentheses in call to 'print'

----------------------------------------
       Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-ph_l2p45/Flask/
To XXXXX.XXX:demo1
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:demo1'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.