Posted: Wed 31 Oct 2018, 00:05 Post subject:
How to Install Pip on TazPup Subject description: will expand this tutorial to more topics
I wanted to install bottle on TazPup but it isn't available on the TazPup package manager. Often I install pip to install python packages. That wasn't available either. The solution is to first install setuptool and then install pip.
The sequence of commands are as follows:
tazpkg get-install setuptools
and now we are done. So say we wanted to install "bottle" we can now do:
pip install bottle
Note that the tutorials for bottle usually have it setup up in a vitual environment. So instead of the above command one might do:
$ virtualenv develop # Create virtual environment
$ source develop/bin/activate # Change default python to virtual one
(develop)$ pip install -U bottle # Install bottle to virtual environment
but if one does it this way the'll have start the virtual environment before using bottle.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum