Tuesday, August 11, 2015

Problems installing a Django package

I did the tutorial for reusable apps for Django. All went well... but then I get problems when installing the app.
Processing ./django-muro_humoristas/dist/django-muro_humoristas-1.tar.gz
  Requirement already satisfied (use --upgrade to upgrade): django-muro-humoristas==1 from file:///media/Comun/Programacion/Python/Django/Proyectos/muro_humoristas/django-muro_humoristas/dist/django-muro_humoristas-1.tar.gz in /home/rompepc/.local/lib/python3.2/site-packages
Building wheels for collected packages: django-muro-humoristas
  Running setup.py bdist_wheel for django-muro-humoristas
  Complete output from command /usr/bin/python3 -c "import setuptools;__file__='/tmp/pip-ip3iaz-build/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmp3885trpip-wheel-:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help
  
  error: invalid command 'bdist_wheel'
  
  ----------------------------------------
  Failed building wheel for django-muro-humoristas
Failed to build django-muro-humoristas

Searching about the error, it looks like I just have to install wheel. However, when I run the command sudo pip install wheel (pip is installed under Python3):
Requirement already satisfied (use --upgrade to upgrade): wheel in /usr/local/lib/python3.2/dist-packages

So, seeing that I can just going, I retry the package install and... get the same error: "invalid command 'bdist_wheel'". Anyone could tell me what is going on? Is my first time doing a reusable app.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6287be74-ee45-4af5-b829-fa79aa1a6305%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment