How to use a library that is not originally included in Google App Engine

Create a libs / directory and pip install -t libs library name Install the library under libs as follows.

pip install -t, --target <dir>

Install packages into <dir>. By default this will not replace existing files/folders in <dir>. Use –upgrade to replace existing packages in <dir=> with new versions.

You can use the library on GAE by adding the main page and below and adding the path to libs to your application.

import sys
sys.path.insert(0, 'libs')

Sample of using Flask on GAE: cocodrips / GAE-flask-application

Recommended Posts

How to use a library that is not originally included in Google App Engine
How to trick and use a terrible library that is supposed to be kept globally in flask
How to use Django on Google App Engine / Python
How to use Google Test in C
How to use is and == in Python
Introducing a library that was not included in pip on Python / Windows
How to use hmmlearn, a Python library that realizes hidden Markov models
How to use the C library in Python
How to use Python Image Library in python3 series
A memorandum on how to use keras.preprocessing.image in Keras
How to use template engine in pyramid 1 file application
How to use Spacy Japanese model in Google Colaboratory
How to use pip, a package management system that is indispensable for using Python
How to use a tp-link wireless LAN slave unit that does not support Linux
How to use any or all to check if it is in a dictionary (Hash)
How to use Google Colaboratory
How to test that Exception is raised in python unittest
How to use the __call__ method in a Python class
Save in Japanese to StringProperty in Google App Engine data store
[Introduction to Udemy Python 3 + Application] 36. How to use In and Not
Notes on how to use marshmallow in the schema library
What to do when a Missing artifact occurs in a jar that is not defined in pom.xml
[VLC] How to deal with the problem that it is not in the foreground during playback
Use networkx, a library that handles graphs in python (Part 2: Tutorial)
How to use Requests (Python Library)
How to use SQLite in Python
How to judge that the cross key is input in Python3
How to use the asterisk (*) in Python. Maybe this is all? ..
[Introduction to Python] How to use the in operator in a for statement?
[For beginners] How to register a library created in Python in PyPI
[Memo] How to use Google MµG
How to use Mysql in python
How to use ChemSpider in Python
Is R's do.call () a classical higher-order function? Learn how to use
How to use PubChem in Python
Use ndb.tasklet on Google App Engine
How to deploy a Django app on heroku in just 5 minutes
[Ln] How to paste a symbolic link in a directory is complicated
Note that the Google Maps Android API GoogleMap.getProjection is not a singleton
How to fix a bug that jupyter notebook does not start automatically
How to use the library "torchdiffeq" that implements Neural ODE's ODE Block
How to hide warnings that do not affect execution in Jupyter Notebook
What is a C language library? What is the information that is open to the public?
How to run a quickstart for Google Cloud Text-to-Speech .NET in Unity
It is convenient to use Layers when putting a library on Lambda
How to use VS Code (code server) with Google Colab in just 3 lines
How to use calculated columns in CASTable
[Pandas] What is set_option [How to use]
How to use Google Assistant on Windows 10
How to get a stacktrace in python
How to use Anaconda interpreter in PyCharm
Use external modules on Google App Engine
How to use __slots__ in Python class
How to use regular expressions in Python
How to use Map in Android ViewPager
A story that sometimes does not work if pip is up to date
Tips for those who are wondering how to use is and == in Python
About the problem that the python version of Google App Engine does not mesh
How to drop Google Docs in one folder in a .txt file with python
Why Docker is so popular. What is Docker in the first place? How to use
How to install a Python library that can be used by pharmaceutical companies