I want to install sphinx, and the website says to use:
easy_install -U Sphinx
What will happen when I install this command? will I get the source also? Where will it install?
Distributes Python programs and libraries (based on the Python Eggs wrapper) It's a python module (easy_install) that is bundled with setuptools. It lets you automatically download, build, install, and manage Python packages.
easy_install, now deprecated, was released in 2004 as part of setuptools. It was notable at the time for installing packages from PyPI using requirement specifiers, and automatically installing dependencies.
Also, the egg file is just a zip, so you could unzip it and then use python setup.py install . unzip setuptools-0.6c11-py2. 7.
PIP is automatically installed with Python 2.7.9+ and Python 3.4+ and it comes with the virtualenv and pyvenv virtual environments.
On Ubuntu I believe it installs to /usr/local/lib/python2.6/dist-packages/ and I believe it install the egg for it. -U denotes upgrading it if its already installed
/usr/lib/pythonx.y/site-packages
pythonx.y
is your version of python. It could be python2.4
, python2.7
, python3.1
, etc.
If you have multiple versions of python on your system, you would easy_install-x.y
to install packages for your non-default python. Again x.y
is your version of python. You'd use this if you wanted to mess with Python 3, but your system default is 2.7.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With