• DaddyCakes

    Hi All,

    I'm curious as to how can we install and use Flask in Pythonista?
    I have seen a tutorial on how to use bottle. Is there a similar type of documentation for Flask?

    Thanks! :)

    posted in Pythonista read more
  • DaddyCakes

    Hi All,

    I'm starting to study Python and Web Development.
    I have read a couple of useful articles about flask and so I want to focus on this one.
    I already have a Stash on my Pythonista app. However, I am having a hard time creating a virtual environment in the app.
    I noticed that Stash does not install pyvenv when I execute this command in Stash:

    pip install pyvenv
    The error message says it cannot find the module.
    And so I proceeded with installing virtualenv
    pip install virtualenv
    After this, the installation seemed to be complete. However, if I execute the virtualenv in Stash:
    python -m virtualenv mytestsite
    I'm having an error as follows:
    PYTHONHOME is set. You must activate the virtualenv before using it
    stash: <clas 'distutils.errors.DistutilsPlatformError'>: invalid Python installation: unable to open /var/conatiners/Bundle/Application/8E7DC623-A2AA-4934-8775-661E7100AFBD/Pythonista3.app/Frameworks/PythonistaKit.framework/pylib/lib/python2.7/config/Makefile (No such file or directory)

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!