closeio / flask-mongorest

Restful API framework wrapped around MongoEngine
Other
523 stars 88 forks source link

pip don't install package #125

Closed yogip closed 4 years ago

yogip commented 4 years ago

Hello I have tried to install with pip install Flask-MongoRest in a new python3.6 environment and I got an error.

Running setup.py (path:/tmp/pip-install-x4ta989a/Flask-MongoRest/setup.py) egg_info for package Flask-MongoRest
Running command python setup.py egg_info
WARNING: The wheel package is not available.
  ERROR: Command errored out with exit status 1:
   command: /home/peter/.virtualenvs/app_follow/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-ydmleqbk/cleancat/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-ydmleqbk/cleancat/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-f8re3mqh
       cwd: /tmp/pip-wheel-ydmleqbk/cleancat/
  Complete output (7 lines):
  WARNING: The wheel package is not available.
  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 cleancat

Due to solve the problem, I installed wheel before the Flask-MongoRest pip install wheel