Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v6.6.0 setup.py iteritems() error #27

Closed
telesphore opened this issue May 15, 2017 · 1 comment
Closed

v6.6.0 setup.py iteritems() error #27

telesphore opened this issue May 15, 2017 · 1 comment
Labels
bug Bugs and behaviour differing from documentation

Comments

@telesphore
Copy link

Python 3.6.1 virtual environment (not conda!), Ubuntu 17.04 x64, GPU cuda 8.0...

I believe that you can stop the error at line 157 in setup.py to something like

for k, v in cudaconfig.items():

Error follows

(venv) $ pip list -o
Package Version Latest Type 
------- ------- ------ -----
thinc   6.5.2   6.6.0  sdist
(venv) $ pip install -U thinc
Collecting thinc
  Using cached thinc-6.6.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-62_23xac/thinc/setup.py", line 163, in <module>
        CUDA = locate_cuda()
      File "/tmp/pip-build-62_23xac/thinc/setup.py", line 157, in locate_cuda
        for k, v in cudaconfig.iteritems():
    AttributeError: 'dict' object has no attribute 'iteritems'
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-62_23xac/thinc/
@honnibal
Copy link
Member

This was dumb, thanks --- the Travis tests didn't exercise the CUDA branch, so this slipped through.

@honnibal honnibal added the bug Bugs and behaviour differing from documentation label May 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs and behaviour differing from documentation
Projects
None yet
Development

No branches or pull requests

2 participants