Is it possible to install Prodigy without internet connection at all? I’m working on a secure server without access to internet (apart from white listed channels like conda and pip). While I can start chasing our IT admins to install Prodigy for me, it normally takes ages.
Is there a simple way to install Prodigy myself without internet connection? I can upload to the secure server any packages I want and then install them locally. Thanks!
@Andrey Yes, that should be no problem – you’d just have to install all of Prodigy’s dependencies separately first, before you install the Prodigy wheel with --no-deps. If you’re using the latest version of Prodigy, that would be the following packages:
However, what can this pretty tedious is that many of those packages also have their own dependents, and so on. For an accurate picture of all dependencies, you can install Prodigy in a clean virtualenv and run pip list.
To make this easier, you might want to check out .pex files. We use them a lot internally and they essentially package a whole Python environment into a single file. So you can install Prodigy and whatever else you need locally, create a .pex, copy that single file (!) over to your airtight machine and then execute it instead of the Python interpreter. (The only thing your machine needs is a system Python installation). For example:
Hi @ines, fantastic and many thanks for detailed answer! I will try to do it myself and let you know if I run into problems. Being dependent on IT admins it’s a nightmare.