Installation on Windows

install
windows

(Gaurav Gola) #1

I am unable to install prodigy…
can somebody please guide me to install in it for windows 10.
I have already installed spacy 2.0 & my python version is 3.5+

Processing c:\users\user\desktop\prodigy-1.4.2-cp35.cp36-cp35m.cp36m-win_amd64.whl
Requirement ‘prodigy-1.4.2-cp35.cp36-cp35m.cp36m-win_amd64.whl’ looks like a filename, but the file does not exist
Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: ‘C:\Users\User\Desktop\prodigy-1.4.2-cp35.cp36-cp35m.cp36m-win_amd64.whl’


Train a new NER entity with multi-word tokens
(Ines Montani) #2

Moved your comment out to a separate thread to keep things in one place!

This is strange! The file definitely exists in that location, right? Could you share the command you ran to install it? Just pip install? And are you using a virtual envionment / conda environment?


#3

Hi,

I continue having problems with installing the Prodigy whl. I re-installed Anaconda3 to make sure I had Python 3.7 64bit. I then created a virtual env (env_spacy), and install software in
(env_spacy) C:\Anaconda3\Scripts. “conda install spacy” works fine.
I then try to install prodigy, C:\Anaconda3\prodigy…amd64.whl

  • Using conda: conda install …\prodigy…amd64.whl
  • Result: PackagesNotFoundError, followed by a list of channels
  • Using pip: pip install …\prodigy…amd64.whl
  • Result: prodigy…amd64.whl is not a supported whl on this platform.
    As per prodigy installation instructions I try to determine the platform
  • distutils.utils.get_platform(). Not recognized as command.
  • python -m distutils.utils.get_platform() does not work either (even don’t know if that should work)

So pretty much :confused: Suggestions?


(Ines Montani) #4

@aph61 Sorry if this was confusing! To instally the wheel, you should use pip, which can install packages directly from wheel files (which conda install can’t, as far as I know). The package will still be installed into the same environment, so it should be compatible with any other packages you’ve installed via conda.

pip install prodigy…amd64.whl

The distutils.utils.get_platform() command needs to be executed in Python – we should probably make this more explicit in the docs (sorry about that). So you’d do something like this:

import distultils
print(distutils.utils.get_platform())

Or, alternatively from the command line:

python -c "import distutils; print(distutils.utils.get_platform())"

(Pawel Kranzberg) #5

@aph61 In my case I had to use python 3.6, as apparently my downloaded wheel supports only 3.5 and 3.6.
Let me know if you need further help. I managed today to successfully install Prodigy on Win 10, so the experience is still fresh :slight_smile:


#6

@Ines, Pawel,

I had the same experience, it’s a python 3.6 v 3.7 issue. Solved by using python 3.6 in spacy environment. Leaves me with the problem to get the web-app running, I’ve the infamous “Oops, something went wrong :(” message displayed. (command: "python -m prodigy terms.teach med_terminology en_core_web_lg --seeds “cancer, sarcoma, leukemia”. The model generates very relevant terms for this non-trivial domain. kudos!)


(Ines Montani) #7

That’s strange! Could you open the developer tools in the browser and check if there’s an error message there? And are you using the latest version of Prodigy?