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

unable to install ./init.sh error #149

Open
bat3a opened this issue Sep 11, 2019 · 4 comments
Open

unable to install ./init.sh error #149

bat3a opened this issue Sep 11, 2019 · 4 comments

Comments

@bat3a
Copy link

bat3a commented Sep 11, 2019

i tried to install step one but executing sudo sh ./init.sh but keep getting this error:

running build_ext
skipping 'bbox.c' Cython extension (up-to-date)
running build_ext
Traceback (most recent call last):
  File "setup_linux.py", line 56, in <module>
    CUDA = locate_cuda()
  File "setup_linux.py", line 51, in locate_cuda
    for k, v in cudaconfig.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'
Traceback (most recent call last):
  File "setup_linux.py", line 56, in <module>
    CUDA = locate_cuda()
  File "setup_linux.py", line 51, in locate_cuda
    for k, v in cudaconfig.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'

i tried on both Ubuntu 18 and windows 10, all previous requirements installed and verified.

@bat3a
Copy link
Author

bat3a commented Sep 15, 2019

solved by building every lib alone, with noting:
set rc.exe and dll in %PATH%
fixating CUDA location and ignoring the function

@kmateti
Copy link

kmateti commented Oct 10, 2019

I solved this issue by replacing iteritems with items in eachsetup_linux.py script.

Edit: Ugh -- everything is in Python 2 and this is why this failed for me...

Edit2: So, installing the requirements for python2 and changing the script to use python2 for my system worked.

@luisaheise
Copy link

For me (using python3) changing .iteritems to .items worked

@githubwys
Copy link

For me (using python3) changing .iteritems to .items worked

it works, thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants