The accepted answer is outdated. So first, pip is preferred over easy_install, (Why use pip over easy_install?). Then follow these steps to install pip on Windows, it's quite easy.
Install
setuptools:curl https://bootstrap.pypa.io/ez_setup.py | pythonInstall
pip:curl https://bootstrap.pypa.io/get-pip.py | pythonOptionally, you can add the path to your environment so that you can use
pipanywhere. It's somewhere likeC:\Python33\Scripts.
The accepted answer is outdated. So first, pip is preferred over easy_install, (Why use pip over easy_install?). Then follow these steps to install pip on Windows, it's quite easy.
Install
setuptools:curl https://bootstrap.pypa.io/ez_setup.py | pythonInstall
pip:curl https://bootstrap.pypa.io/get-pip.py | pythonOptionally, you can add the path to your environment so that you can use
pipanywhere. It's somewhere likeC:\Python33\Scripts.
Newer versions of Python for Windows come with the pip package manager. (source)
pip is already installed if you're using Python 2 >=2.7.9 or Python 3 >=3.4
Use pip to install packages from the Python Package Index.
cd C:\Python\Scripts\
pip.exe install <package-name>
In your case run:
pip.exe install mechanize
Is there a GUI Python package manager?
Which package manager do you use?
What's the best package manager for python in your opinion?
[deleted by user]
Videos
Are there any GUI-based package managers for Python that allow installing libraries and applications without using the command line?
I'm looking for something like a "visual pip" that would make it easy for command-line adverse users to install and manage Python packages.
Does anything like this exist?
there are 3 popular package managers for python modules being used the most frequently: conda pip apt(for debian-based linux).
I initially installed anaconda which gave me conda but together with a lot of extra package bloat I may never use.
So naturally I tried miniconda. It turns out there are caveats to this too:
conda-forge is touted as a robust channel but when i tried installing all my most used packages from the conda-forge channel here is what I got:
python3.10 as of writingpandas1.3.4 (latest)scikit-learn(latest)jupyterlab(no problem)matplotlib(CANNOT INSTALL. dependency conflict with python version on conda-forge)requests(CANNOT INSTALL. dependency conflict with python version on conda-forge)
I tried conda package manager with the defaults channel:
all the packages install but
pythonfrom defaults channel is 3.9.7. Everything works with this but no python==3.10.
When I made a separate virtual environment and tried installing via pip package manager only:
everything worked.
python--version is 3.10. every package installed to the latest version EXCEPTscikit-learnwhich is not installing for some reason.
And then there's apt which manages all other non-python packages on my linux and has a few python packages on ubuntu's repositories. But apt does not install packages in virtual environment and may not contain as many packages as pip or conda.
it appears conda with defaults channel is the most robust of all. I don't want to use multiple package managers as it is a hassle when updating and may lead to dependency hell. I want to know which package managers are being used the most considering they are hassle-free and easy to update and keep track of.
So what package manager do you use?