Prodigy installation on RHEL

install

(Aakash) #1

Hi

I am installing Prodigy on RHEL v6.5 But pip is informing that the wheel is not supported. RHEL_install

Anyone has faced a similar problem?


(Ines Montani) #2

Hi! Did you rename the wheel file for your platform as described here? And if so, what did distutils.util.get_platform() output?

About the “is not a supported wheel on this platform” error: Double-check
that you’ve downloaded the correct wheel and make sure your version of pip is
up to date. If it still doesn’t work, check if the file name matches your
platform (distutils.util.get_platform()) and rename the file if necessary.
For more details, see this article on Python wheels. Essentially,
Python wheels are only archives containing the source files – so you can
also just unpack the wheel and place the contained prodigy package in
your site-packages directory.


(Aakash) #3

I am trying to install the linux wheel - prodigy-1.5.1-cp35.cp36-cp35m.cp36m-linux_x86_64.whl

The output I get from the distutil command - linux-x86_64unsupported%20Wheel

Also I am using the latest pip version


(Matthew Honnibal) #4

Hi Aakash,

You probably need to write pip3 when you install. I suspect the pip you’re running refers to the system’s Python2 installation.

Alternatively, if you make a virtualenv you can install it within that:

python3 -m venv .env
source .env/bin/activate
pip install ~/prodigy-1.5.1-cp35.cp36-cp35m.cp36m-linux_x86_64.whl

This should give you a working Prodigy installation.


(Aakash) #5

No, the options don’t work.

I am going through the other support chats, you have mentioned Ubuntu in a lot of your documentation. Have you tested the wheel on a RHEL installation?


(Matthew Honnibal) #6

Could you paste the result of:

python --version
which pip

As the wheelfile notes, supported versions are Python 3.5 and Python 3.6


(Aakash) #7

pip is the latest

python is 3.7. Do you think I should use a separate environment with Py=3.6/3.5?


(Ines Montani) #8

Yes, that should work! :+1: