02-09-2018, 02:36 PM
(Última modificación: 02-09-2018, 02:37 PM por Sergiolocuelo.)
Hola, estoy aprendiendo a como crear paquetes distribuibles con Python, e creado uno y ahora quiero instalarlo en mi propio pc con linux. Antes no me dejaba crear el setup porque no tenía instalado setuptools, lo instalé e hice el setup. Después instalé pip y puse en la terminal: pip install Nombredelpaquete y me aparece esto:
Processing ./Paquetecalculos-1.0.tar.gz
Building wheels for collected packages: Paquetecalculos
Running setup.py bdist_wheel for Paquetecalculos ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-T47Rmq-build/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/tmp2AN5hspip-wheel- --python-tag cp27:
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 Paquetecalculos
Running setup.py clean for Paquetecalculos
Failed to build Paquetecalculos
Installing collected packages: Paquetecalculos
Running setup.py install for Paquetecalculos ... done
Successfully installed Paquetecalculos-1.0
¿Alguien sabe lo que pasa?
Processing ./Paquetecalculos-1.0.tar.gz
Building wheels for collected packages: Paquetecalculos
Running setup.py bdist_wheel for Paquetecalculos ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-T47Rmq-build/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/tmp2AN5hspip-wheel- --python-tag cp27:
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 Paquetecalculos
Running setup.py clean for Paquetecalculos
Failed to build Paquetecalculos
Installing collected packages: Paquetecalculos
Running setup.py install for Paquetecalculos ... done
Successfully installed Paquetecalculos-1.0
¿Alguien sabe lo que pasa?