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