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

can't install python-memcached1.58 in Python 3.6.0b2 #103

Closed
sc-syf opened this issue Oct 20, 2016 · 6 comments
Closed

can't install python-memcached1.58 in Python 3.6.0b2 #103

sc-syf opened this issue Oct 20, 2016 · 6 comments

Comments

@sc-syf
Copy link

sc-syf commented Oct 20, 2016

here is the traceback:

Traceback (most recent call last):
File "setup.py", line 8, in
version=get_module_constant('memcache', 'version'),
File "/home/ubuntu/.myvenv/lib/python3.6/site-packages/setuptools/depends.py", line 164, in get_module_constant
return extract_constant(code, symbol, default)
File "/home/ubuntu/.myvenv/lib/python3.6/site-packages/setuptools/depends.py", line 195, in extract_constant
const = code.co_consts[arg]
IndexError: tuple index out of range

@sscherfke
Copy link

And in 3.6.0b4, too.

Fedora 24, 64bit

@timgraham
Copy link
Collaborator

@dieselmachine, the install is faliing at get_module_constant('memcache', '__version__') (added in #82). Any idea about the cause?

@dieselmachine
Copy link
Contributor

I normally don't mess with beta versions of python, but i'll poke around tonight and see what's changed between 3.5.2 (which is working for me) and the betas mentioned above.

@carl-ellis
Copy link

Looks like the issue is in setuptools and it's still unknown what is causing it (pypa/setuptools#866) . It might be worth reverting back to manual versioning in setup.py so the library will work in 3.6

@carl-ellis
Copy link

Oh wow, the setuptools issue has been solved in v32.3.1. That was very quick!

@sc-syf
Copy link
Author

sc-syf commented Jan 2, 2017

@carl-ellis , thanks a lot !
It's solved while use

pip3 install -U setuptools

to upgrade the setuptools from 27.1.2 to 32.3.1.

I'll close this issue.

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

5 participants