I am using winpython. Now for simple distribution, I want to use winpython zero. Is it possible to install the package from winpython folder to winpython zero folder?
-
Or, nobody uses winpython?Rahul– Rahul2016年08月24日 05:33:00 +00:00Commented Aug 24, 2016 at 5:33
2 Answers 2
In theory, a possible way would be to:
download packages from https://sourceforge.net/projects/winpython/files/WinPython_Source/Do_It_Yourself/Winpython_2016-03/
unzip them all in d:\toto
then do
pip install the_package_i_want --no-index --find-links=d:\toto --trusted-host=None
Comments
One of the simplest ways is just copying the site-package directory in the original winpython to the new one (It is assumed that the versions of two winpythons are the same, saying python 3.5).
If you thinks the above way is silly, then you can use pip instead.
Extract the installed packages from original winpython (pip used below should belong to the original winpython)
pip freeze --all> python_packages.txt
Install the extracted package list with pip. (pip used below should belong to the new winpython)
pip install -r python_packages.txt