sheffieldnlp/naacl2018-fever

Failed to build DrQA

Closed this issue · 0 comments

Never mind, it looks like just permission issue.

My hunch is that the baseline uses a specifical version of drqa other than the one we can find in the drqa's repo. However, when I try to install it with the following command, as specified in the requirements:

pip3 install git+git://github.com/j6mes/drqa@fever#egg=DrQA-0.1.3

I got the error:

Building wheels for collected packages: drqa, drqa
  Running setup.py bdist_wheel for drqa ... done
  Stored in directory: /private/var/folders/gk/hj0gqfws7sj4s3dk8rnckplc0000gn/T/pip-ephem-wheel-cache-ok8ikj6r/wheels/2a/62/41/ddc1e0efc8a4f3becd45012e6624752e2fe5fbf733a5b61d3a
  Running setup.py bdist_wheel for drqa ... error
  Complete output from command /usr/local/opt/python3/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/private/var/folders/gk/hj0gqfws7sj4s3dk8rnckplc0000gn/T/pip-install-6vmieha8/drqa/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /private/var/folders/gk/hj0gqfws7sj4s3dk8rnckplc0000gn/T/pip-wheel-t6ci4qrb --python-tag cp36:
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/tokenize.py", line 452, in open
      buffer = _builtin_open(filename, 'rb')
  FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/gk/hj0gqfws7sj4s3dk8rnckplc0000gn/T/pip-install-6vmieha8/drqa/setup.py'
  
  ----------------------------------------
  Failed building wheel for drqa
  Running setup.py clean for drqa
  Complete output from command /usr/local/opt/python3/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/private/var/folders/gk/hj0gqfws7sj4s3dk8rnckplc0000gn/T/pip-install-6vmieha8/drqa/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" clean --all:
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/tokenize.py", line 452, in open
      buffer = _builtin_open(filename, 'rb')
  FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/gk/hj0gqfws7sj4s3dk8rnckplc0000gn/T/pip-install-6vmieha8/drqa/setup.py'
  
  ----------------------------------------
  Failed cleaning build dir for drqa
Successfully built drqa
Failed to build drqa

Can somebody help please? Thank you!