[Python] Web development preparation (building a virtual environment)

I started studying python, so I decided to use the framework to learn web-related things as well.

Web frameworks have only dealt with java related things, so I'm already excited about the speedy framework of a language like python.

Three candidates to use are Pyramid, Flask, and Django. After a lot of trouble, I decided to use Pyramid.

By the way, the environment is Debian 3.10.5-1 (LMDE) I will work with python3.3

So, for the time being, I tried to start from the installation according to the Official Document.

__ "Building a virtual Python environment" __

An unfamiliar word jumped into my eyes.

After a little research, it seems that it is a convenient function to see, which allows you to freely create and delete python virtual environments. When I think that such a function is common sense, I can reflect on the narrowness of my world.

For the time being, it seems that virtualenv should be introduced, so I introduced it.

To install, download and run the module distribute_setup.py

After that, install virtualenv with the following command

$sudo easy_install virtualenv

For the time being, it seems that a virtual environment can be created with this. More on that later.


2014/1/31 postscript About distribute_setup.py. Originally it was called setuptools, but it seems that the update has been neglected for a while. Basically, I am using distribute because I can use distribute forked setuptools.

But this was about last year, and now it seems that setuptools and distribute have been merged. It turns out that it's OK if you use the latest version of setuptools.

I wonder if people who will create an environment should use the latest version of setuptools.

Recommended Posts

[Python] Web development preparation (building a virtual environment)
Building a Python virtual environment
Building a Python virtual environment
Building a virtual environment with Python 3
[Mac] Building a virtual environment for Python
Building a Python development environment for AI development
Create a Python virtual development environment on Windows
Building and enabling a python virtual environment, etc. (venv)
Building a Python environment on Mac
Create a virtual environment with Python!
[Django3] Display a web page in Django3 + WSL + Python virtual environment
Building a development environment for Android apps-creating Android apps in Python
[Python] Building a virtual python environment for the pyramid tutorial (summary)
Until building a Python development environment using pyenv on Ubuntu 20.04
[Pyenv] Building a python environment with ubuntu 16.04
Building a Python3 environment with Amazon Linux2
Building a virtual environment using homebrew + pyenv-virtualenv
Let's create a virtual environment for Python
[Python] Create a virtual environment with Anaconda
Creating a python virtual environment on Windows
Build a python virtual environment with pyenv
Add a Python virtual environment to VSCode
From installing Ansible to building a Python environment in Vagrant's virtual environment
Building a virtual environment for Mayavi dedicated to Python 3.6, Anaconda, Spyder users
How to create a Python virtual environment (venv)
Ubuntu18.04.05 Creating a python virtual environment in LTS
Building a python environment with virtualenv and direnv
Building a Python environment with WLS2 + Anaconda + PyCharm
Create a virtual environment with conda in Python
[Python] Build a Django development environment with Docker
Build a Python development environment on your Mac
Build a simple Python virtual environment without pyenv
virtual environment in python
Think about building a Python 3 environment in a Mac environment
[Venv] Create a python virtual environment on Ubuntu
Work in a virtual environment with Python virtualenv.
python2.7 development environment construction
Set up a Python development environment on Marvericks
Create a Python environment
Development environment in Python
Building a Python environment on a Sakura VPS server
Virtual environment with Python 3.6
Build a Python development environment on Raspberry Pi
Get a quick Python development environment with Poetry
Build a GVim-based Python development environment on Windows 10 (3) GVim8.0 & Python3.6
Building a Python environment for pyenv, pyenv-virtualenv, Anaconda (Miniconda)
Write about building a Python environment for writing Qiita Qiita
Python: Creating a virtual environment (venv), starting and stopping
Recommendation of building a portable Python environment with conda
Building a Docker working environment for R and Python
Build a python virtual environment with virtualenv and virtualenvwrapper
Create a comfortable Python 3 (Anaconda) development environment on windows
Create a python development environment with vagrant + ansible + fabric
Build a GVim-based Python development environment on Windows 10 (1) Installation
Build a Python development environment on Mac OS X
Build a Python virtual environment using venv (Django + MySQL ①)
Build a machine learning application development environment with Python
Procedure for building a CDK environment on Windows (Python)
Build a python virtual environment with virtualenv and virtualenvwrapper
Build a Python development environment using pyenv on MacOS
conda memorandum: Building a Python environment with supercomputer ITO