lericson / pylibmc

A Python wrapper around the libmemcached interface from TangentOrg.
http://sendapatch.se/projects/pylibmc/
BSD 3-Clause "New" or "Revised" License
478 stars 136 forks source link

ERROR: Failed building wheel for pylibmc #266

Closed elmcrest closed 3 years ago

elmcrest commented 3 years ago

Hey lericson,

I stumbled upon the following while installing requirements for Django, so I'm not a first citizen user of your lib - sorry :)

Anyways, I thought the issue is missing and since python is moving to wheel this might have a place here, right?

My experience with C is a little project for my university years ago - so I have no Idea what to do. Still, I'd be happy to help here if that's imaginable.

Cheers, Marius

Building wheels for collected packages: pylibmc
  Building wheel for pylibmc (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/elmcrest/projects/django/env/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yv18qluz/pylibmc/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yv18qluz/pylibmc/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 /tmp/pip-wheel-0_i6f_c8
       cwd: /tmp/pip-install-yv18qluz/pylibmc/
  Complete output (10 lines):
  /tmp/pip-install-yv18qluz/pylibmc/setup.py:98: DeprecationWarning: 'U' mode is deprecated
    with open("README.rst", "U", encoding="utf-8") as r:
  /tmp/pip-install-yv18qluz/pylibmc/setup.py:100: DeprecationWarning: 'U' mode is deprecated
    with open("src/pylibmc-version.h", "U", encoding="utf-8") as r:
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help

  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for pylibmc
lericson commented 3 years ago

https://stackoverflow.com/questions/34819221/why-is-python-setup-py-saying-invalid-command-bdist-wheel-on-travis-ci