![]() yaml file and using pip download for downloading each of them. ![]() In addition, I automatically downloaded the necessary files for the pip installed packages by looping through the pip entries in the. yaml file instead of the conda list file they used. For that, I just adapted the code from the link above to work with my. Following the instructions on, I automatically downloaded all the necessary installation files for conda installed packages and created a channel from the files. yaml file specifying the environment using conda env export > file.yaml. I guess that Anthon's solution above is pretty good but just in case anybody is interested in an easy solution that worked for me: not uploaded to PyPI) as a normal dependency, by just generating the package and upload it to your local devpi server. run pip, it will find all the packages on the local server.ĭevpi has a small learning curve, which already worth traversing because of the speed up and the ability to install private packages (i.e.make sure you have pip configured to look at the devpi server.use the devpi client to upload all the packages you gathered (using devpi upload) to the devpi server.whl files out of there (you might be able to tar the whole thing) examine the devpi repository and gathered all the.install the devpi server (I have that running in a Docker container).You have to configure pip to retrieve the packages from the devpi server.Īs you don't want to list all the packages and their dependencies by hand you should, on a machine connected to the internet: devpi can cache packages normally installed from PyPI, so only on first install it actually retrieves them. If you can use pip to install the packages, you should take a look at devpi, particutlarily its server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |