Installing update 1.11.110 on Mac

Part 2.
py38-none-macosx_10_16_x86_64
py38-none-macosx_10_16_intel
py38-none-macosx_10_16_fat64
...

Thanks so much Andy.
It's very peculiar, but it seems that for some reason your system's pip does not recognize that it should support macosx_11.
Since pip is only looking at a filename when installing, I believe that re-naming the .whl file should do the job:

mv prodigy-1.11.10-cp39-cp39-macosx_11_0_x86_64.whl prodigy-1.11.10-cp39-cp39-macosx_10_15_x86_64.whl
pip install -f prodigy-1.11.10-cp39-cp39-macosx_10_15_x86_64.whl

Hopefully, this unblocks you. Do let us know if it doesn't. We will definitely keep investigating what combination of factors causes this (it might even be a bug in pip similar to this one)

Hi,
Here is what I have done:

  1. renamed file

  2. CD into that directory

  3. Validate that the file is there
    ls
    prodigy-1.11.10-cp310-cp310-macosx_11_0_arm64.whl
    prodigy-1.11.10-cp37-cp37m-macosx_10_15_x86_64.whl
    prodigy-1.11.10-cp39-cp39-macosx_10_15_x86_64.whl
    prodigy-1.11.10-cp310-cp310-macosx_11_0_x86_64.whl
    prodigy-1.11.10-cp38-cp38-macosx_10_15_x86_64.whl
    prodigy-1.11.10-cp39-cp39-macosx_11_0_arm64.whl

  4. issue command:
    pip install -f prodigy-1.11.10-cp39-cp39-macosx_10_15_x86_64.whl

and get error:
ERROR: You must give at least one requirement to install (maybe you meant "pip install prodigy-1.11.10-cp39-cp39-macosx_10_15_x86_64.whl"?)

Well that message wasn't helpful.
Any guidance?
Andy

Hi Andy,
The command in your step 4 should be:
pip install prodigy -f prodigy-1.11.10-cp39-cp39-macosx_10_15_x86_64.whl
Apologies for the typo before.

Well something ran and did not return an error HOWEVER it looks like it didn't install anything.
Every line of the output to the terminal is showing "Requirement already satisfied" with the first line referencing version 1.11.8. It did not downgrade the spaCy version as before so that is some progress.

(base) andreashegedus@Andys-iMac mac % pip install prodigy -f prodigy-1.11.10-cp39-cp39-macosx_10_15_x86_64.whl

Looking in links: prodigy-1.11.10-cp39-cp39-macosx_10_15_x86_64.whl

Requirement already satisfied: prodigy in /Users/andreashegedus/opt/anaconda3/lib/python3.9/site-packages (1.11.8)
Requirement already satisfied: pyjwt<3.0.0,>=2.0.0 in /Users/andreashegedus/opt/anaconda3/lib/python3.9/site-packages (from prodigy) (2.4.0)
Requirement already satisfied: requests in /Users/andreashegedus/opt/anaconda3/lib/python3.9/site-packages (from prodigy) (2.28.1)

Is there a straight forward way to check the version that is installed?
Andy

Hi Andy,
Sorry to hear you're having troubles still!
It looks like the current problem is that you're trying to install in the conda environment that already has 1.11.8 installed.
The recommended way would be to create a fresh environment to try the 1.11.10 installation or to uninstall Prodigy in your base environment before installing another version. You can achieve that by using the --upgrade flag of pip. I'll provide the commands for both solutions:

In order to create a fresh conda environment & install 1.11.10:

conda create --name prodigy_env python=3.9 # you can of course change the name parameter
conda activate prodigy_env
pip install prodigy -f prodigy-1.11.10-cp39-cp39-macosx_10_15_x86_64.whl

In order to upgrade an existing 1.11.8 installation to 1.11.10 in your base environment:
With the base environment activated:

pip install --upgrade prodigy -f prodigy-1.11.10-cp39-cp39-macosx_10_15_x86_64.whl

In order to check which version of Prodigy has been installed in a given environment, with this environment activated, you can run:

prodigy stats

The first line of the output is the version of Prodigy.

Success.

Thank you.
Andy

You're very welcome. Thanks for reporting back :slight_smile:

I may have spoken too soon.

With your 1.11.11 update, it is not installed and stays at 1.11.10
I used

pip install --upgrade prodigy -f path/to/whl_file

and
it came back with
Looking in links: /Users/andreashegedus/Desktop/Tools/Spacy/update 1.11.11/prodigy-1.11.11-cp39-cp39-macosx_10_0_x86_64.whl
Requirement already satisfied: prodigy in ./opt/anaconda3/lib/python3.9/site-packages (1.11.10)

prodigy stats

Shows version is still 1.11.10

Andy

hi @andyhegedus!

Maybe try to add a --force-reinstall (see)?

pip install --upgrade --force-reinstall prodigy -f path/to/whl_file

Alternatively, have you tried to install v1.11.11 on a fresh environment?

Hi,
Tried this:

pip install --upgrade --force-reinstall prodigy -f /Users/andreashegedus/Desktop/Tools/Spacy/update\ 1.11.11/prodigy-1.11.11-cp39-cp39-macosx_10_0_x86_64.whl

It returned error:
Looking in links: /Users/andreashegedus/Desktop/Tools/Spacy/update 1.11.11/prodigy-1.11.11-cp39-cp39-macosx_11_0_x86_64.whl

ERROR: Could not find a version that satisfies the requirement prodigy (from versions: none)

ERROR: No matching distribution found for prodigy

Andy

ps. Python 3.9.13

What about starting a new environment? Did that work?

conda create --name prodigy_env python=3.9 # you can of course change the name parameter
conda activate prodigy_env
pip install prodigy -f prodigy-1.11.11-...

No.
Returns error
ERROR: Could not find a version that satisfies the requirement prodigy (from versions: none)
ERROR: No matching distribution found for prodigy

Can you rename the wheel file from
prodigy-1.11.11-cp39-cp39-macosx_11_0_x86_64.whl
to
prodigy-1.11.11-cp39-cp39-macosx_10_15_x86_64.whl

Then try again:

pip install --upgrade prodigy -f prodigy-1.11.11-cp39-cp39-macosx_10_15_x86_64.whl

Renamed wheel file. ran and it kept the 1.11.10 version and ran command.

Looking in links: /Users/andreashegedus/Desktop/Tools/Spacy/update 1.11.11/prodigy-1.11.11-cp39-cp39-macosx_10_0_x86_64.whl
Requirement already satisfied: prodigy in ./opt/anaconda3/lib/python3.9/site-packages (1.11.10)
============================== :sparkles: Prodigy Stats ==============================

Version 1.11.10
Location /Users/andreashegedus/opt/anaconda3/lib/python3.9/site-packages/prodigy
Prodigy Home /Users/andreashegedus/.prodigy
Platform macOS-10.16-x86_64-i386-64bit
Python Version 3.9.13

Andy

Looks like you renamed it 10_0, not 10_15. Can you try 10_15?

So this: prodigy-1.11.11-cp39-cp39-macosx_10_15_x86_64.whl

In the download for 1.11.11

These are wheel files provided
mac:
prodigy-1.11.11-cp37-cp37m-macosx_10_15_x86_64.whl
prodigy-1.11.11-cp38-cp38-macosx_10_15_x86_64.whl
prodigy-1.11.11-cp39-cp39-macosx_10_0_x86_64.whl
prodigy-1.11.11-cp39-cp39-macosx_11_0_arm64.whl
prodigy-1.11.11-cp310-cp310-macosx_11_0_arm64.whl
prodigy-1.11.11-cp310-cp310-macosx_11_0_x86_64.whl

The highlighted one is the file I renamed per your suggestion, the original file was
prodigy-1.11.11-cp39-cp39-macosx_11_0_x86_64.whl
Note I have tried it with both file names and same result. Per your naming scheme the cpXX indicates the python version and I have 3.9.3.

The 10_15 files are thus for either python 3.7 or 3.8 neither of which I have.

There is no
prodigy-1.11.11-cp39-cp39-macosx_11_15_x86_64.whl
to start with and rename

Andy

One other idea: try pip install *.whl?

Seemed to work for others:

Also one other point:

Important to remember that the wheel file is essentially a zip file. If you replace its contents into your site-packages it should do the trick.

Here is what I tried.
Change the filename to replace -and. with _

pip install --upgrade prodigy -f /Users/andreashegedus/Desktop/Tools/Spacy/update\ 1.11.11/prodigy_1_11_11_cp39_cp39_macosx_10_0_x86_64.whl

This runs the install but does not update
Looking in links: /Users/andreashegedus/Desktop/Tools/Spacy/update 1.11.11/prodigy_1_11_11_cp39_cp39_macosx_10_0_x86_64.whl
Requirement already satisfied: prodigy in ./opt/anaconda3/lib/python3.9/site-packages (1.11.10)

Next I tried

pip install /Users/andreashegedus/Desktop/Tools/Spacy/update\ 1.11.11/*.whl 

And it gave an error:
ERROR: prodigy_1_11_11_cp39_cp39_macosx_10_0_x86_64.whl is not a valid wheel filename.

I then changed it back to the original spellings

pip install /Users/andreashegedus/Desktop/Tools/Spacy/update\ 1.11.11/*.whl

and got an error:
ERROR: prodigy-1.11.11-cp39-cp39_macosx_10_0_x86_64.whl is not a valid wheel filename.

Andy

Hi Andy,

I think the problem is that that the .whl was renamed incorrectly. From your snippets I can tell you ended up trying to install prodigy-1.11.11-cp39-cp39_macosx_10_0_x86_64.whl which is not a valid filename because your system does not support macosx 10.0.
So, from the download zip, you should take :
prodigy-1.11.11-cp39-cp39_macosx_11_0_x86_64.whl
and rename it to:
prodigy-1.11.11-cp39-cp39_macosx_10_15_x86_64.whl.
Please note that it is the macosx version that needs to be changed from 11_0 to 10_15 (not 10_0).
Then, you should be able to install just like you did for v1.11.10, so:
pip install --upgrade prodigy -f prodigy-1.11.11-cp39-cp39-macosx_10_15_x86_64.whl