sheffieldnlp / deepQuest

Framework for neural-based Quality Estimation
https://sheffieldnlp.github.io/deepQuest/
BSD 3-Clause "New" or "Revised" License
42 stars 13 forks source link

Difficulty in installing requirements #12

Closed TharinduDR closed 4 years ago

TharinduDR commented 4 years ago

Describe the bug I am trying to install deepQuest via source in a python 3.6+ environment. However, when I am installing the dependencies, I am having difficulty installing the dependency - cloud.

To Reproduce git clone https://github.com/sheffieldnlp/deepQuest.git cd deepQuest conda install theano pip install -r requirements.txt

I am getting the following error `ERROR: Command errored out with exit status 1: command: /home/anaconda3/envs/sentence_classification_3.6/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ethkdc6v/cloud/setup.py'"'"'; file='"'"'/tmp/pip-install-ethkdc6v/cloud/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-ethkdc6v/cloud/pip-egg-info cwd: /tmp/pip-install-ethkdc6v/cloud/ Complete output (6 lines): Traceback (most recent call last): File "", line 1, in File "/tmp/pip-install-ethkdc6v/cloud/setup.py", line 23 print 'using regular setup tools' ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('using regular setup tools')?

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. `

Desktop:

Is the library compatible above python 3.6?

fredblain commented 4 years ago

Hi @TharinduDR, this version of the toolkit only supports Python 2.7.

TharinduDR commented 4 years ago

Hi @fredblain Thank you