prodigy installation without pip

Hi Guys,

My company bought 10 licenses for prodigy, but I'm struggling to get these installed.

I'm working on a secure network, and we're not allowed to use pip to install software. The pypi site is blocked by our corporate firewall, and this is unlikely to change given the recent discovery of malware on it.

However, I am able to use the Anaconda repositories on my corporate network, and we have professional licenses for the conda suite.

Is it possible to install prodigy and it's dependencies without using pip?

Regards,

Brendan

hi @nlp_newbie!

Thanks for your question and welcome to the Prodigy community :wave:

Yes - here's a recent post that outlines how to approach installing the current dependencies.

Most important, here are the current dependencies for v1.11.14:

spacy>=3.1.1,<3.6.0
wasabi
srsly>=2.0.0,<3.0.0
catalogue
toolz>=0.8.2,<1.0.0
plac>=0.9.6,<1.2.0
requests
pydantic>=1.10.4,<2.0
fastapi>=0.65.1,<0.95.1
aiofiles
uvicorn>=0.13.3,<0.19.0
peewee>=3.12.0,< 3.17.0
cachetools>=4.2
pyjwt<3.0.0,>=2.0.0
uvloop<=0.14.0; python_version < "3.7" and platform_system != "Windows"
jinja2
python-dotenv>=0.21.1,<2.0.0
typeguard>=3.0.2,<4.0
tqdm>=4.38.0,<5.0.0
typing_extensions<4.6.0

I don't use Anaconda, but I tried to check and it seems like these are all in conda. Can you try to install these dependencies first? Then you can install the Prodigy wheel with --no-deps.

If you can get that to run, you may also want to look into pex files to create a .pex , copy that single file over to your airtight machine and then execute it instead of the Python interpreter.

Let us know if this works!