For people who need use portable Python on Windows, WinPython is a good choice. WinPython is a free open-source portable distribution of Python. The project is hosted on github. It is also a good alternative to Portable Python, which is not being developed anymore.
In this post I’ll show you how could you install additional packages to WinPython.
WinPython is portable. It means that you can download WinPython from the WinPython download page, add it to your system PATH, and start using it without any installation.
- Unzip the downloaded WinPython Package to a local directory, eg.
- Add the local directory path to your system’s
PATHvariable. You can use Windows command
Now you can open a Windows cmd prompt, and test your installed python version.
Install a package
You can install a Python Package to WinPython using
pip. If you have other versions of Python installed on your computer, you’ll need make sure the
pip you use actually is the one WinPython provides.
Where is the
It’s in the
Scripts directory of the WinPython path.
Now you can use the WinPython
pip to install additional Python packages.
If the installation successfully done, you will find the installed packages in WinPython’s library path.
That’s it! Your Python package is ready to use!