![]() ![]() You can also use a socket to connect to your database without specifying a database hostname. pip install -r requirements.txtįind file config.py, and set the database connection properties according to your environment. PythonGrid uses SQLAlchemy to support different types of databases. With a new virtual environment created and activated, finally, let's install dependents: Install Dependents Now the terminal prompt is modified to include the name of the activated virtual environment (venv) $ _ python3 -m venv venvĪctivate the new virtual environment: source venv/bin/activate The following command will create a virtual environment named venv stored in a directory, also called venv. ![]() Different applications can then use different virtual environments with a modified Python copy without worrying about system permissions. A Python virtual environment is a self-contained separate copy of Python installation. ![]() It is highly recommended to use Python virtual environment. Install Flask Framework via Virtual Environment Type "help", "copyright", "credits" or "license" for more information. To make sure your Python is functional, type python3 in a terminal window, or just python if that does not work. Using your favorite MySQL os Postgres client (more database supports are coming).įirst of all, if you don't have Python installed on your computer, download and install it from the Python official website now.
0 Comments
Leave a Reply. |