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

How to fix "wheel for jasmin (setup.py) ... error" when installing Jasmin ??? #79

Open
chegmarco1989 opened this issue Aug 5, 2024 · 0 comments

Comments

@chegmarco1989
Copy link

Hello.

Now, installing Jasmin SMS Gateway on my Ubuntu 20.0.4 LTS, I got in red some error:

Building wheels for collected packages: jasmin, python-messaging, smpp.twisted3, txAMQP3
  Building wheel for jasmin (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /opt/jasmin-sms-gateway/venv/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0y5be_6m/jasmin/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0y5be_6m/jasmin/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-3ww0fl78
       cwd: /tmp/pip-install-0y5be_6m/jasmin/
  Complete output (6 lines):
  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 jasmin
  Running setup.py clean for jasmin
  Building wheel for python-messaging (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /opt/jasmin-sms-gateway/venv/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0y5be_6m/python-messaging/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0y5be_6m/python-messaging/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-t13x3zws
       cwd: /tmp/pip-install-0y5be_6m/python-messaging/
  Complete output (6 lines):
  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 python-messaging
  Running setup.py clean for python-messaging
  Building wheel for smpp.twisted3 (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /opt/jasmin-sms-gateway/venv/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0y5be_6m/smpp.twisted3/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0y5be_6m/smpp.twisted3/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-x_ogikrq
       cwd: /tmp/pip-install-0y5be_6m/smpp.twisted3/
  Complete output (6 lines):
  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 smpp.twisted3
  Running setup.py clean for smpp.twisted3
  Building wheel for txAMQP3 (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /opt/jasmin-sms-gateway/venv/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0y5be_6m/txAMQP3/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0y5be_6m/txAMQP3/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-0t9claco
       cwd: /tmp/pip-install-0y5be_6m/txAMQP3/
  Complete output (6 lines):
  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 txAMQP3
  Running setup.py clean for txAMQP3
Failed to build jasmin python-messaging smpp.twisted3 txAMQP3
Installing collected packages: constantly, setuptools, tomli, incremental, zope-interface, typing-extensions, attrs, six, automat, idna, hyperlink, Twisted, click, click-didyoumean, billiard, tzdata, wcwidth, prompt-toolkit, click-repl, backports.zoneinfo, vine, amqp, kombu, python-dateutil, click-plugins, celery, pycparser, cffi, cryptography, falcon, lockfile, prometheus-client, pyasn1, pyopenssl, pyparsing, python-messaging, python-mimeparse, async-timeout, redis, certifi, urllib3, charset-normalizer, requests, pyasn1-modules, service-identity, smpp.pdu3, smpp.twisted3, tabulate, treq, txAMQP3, txredisapi, jasmin
  Attempting uninstall: setuptools
    Found existing installation: setuptools 44.0.0
    Uninstalling setuptools-44.0.0:
      Successfully uninstalled setuptools-44.0.0
    Running setup.py install for python-messaging ... done
    Running setup.py install for smpp.twisted3 ... done
    Running setup.py install for txAMQP3 ... done
    Running setup.py install for jasmin ... done
Successfully installed Twisted-23.10.0 amqp-5.2.0 async-timeout-4.0.3 attrs-24.1.0 automat-22.10.0 backports.zoneinfo-0.2.1 billiard-4.2.0 celery-5.3.6 certifi-2024.7.4 cffi-1.16.0 charset-normalizer-3.3.2 click-8.1.7 click-didyoumean-0.3.1 click-plugins-1.1.1 click-repl-0.3.0 constantly-23.10.4 cryptography-41.0.7 falcon-3.1.3 hyperlink-21.0.0 idna-3.7 incremental-24.7.2 jasmin-0.11.1 kombu-5.3.7 lockfile-0.12.2 prometheus-client-0.18.0 prompt-toolkit-3.0.47 pyasn1-0.5.1 pyasn1-modules-0.4.0 pycparser-2.22 pyopenssl-23.3.0 pyparsing-3.1.2 python-dateutil-2.8.2 python-messaging-0.5.13 python-mimeparse-1.6.0 redis-5.0.8 requests-2.31.0 service-identity-23.1.0 setuptools-72.1.0 six-1.16.0 smpp.pdu3-0.6 smpp.twisted3-0.8 tabulate-0.8.10 tomli-2.0.1 treq-23.11.0 txAMQP3-0.9.4 txredisapi-1.4.10 typing-extensions-4.12.2 tzdata-2024.1 urllib3-2.2.2 vine-5.1.0 wcwidth-0.2.13 zope-interface
Created symlink /etc/systemd/system/multi-user.target.wants/jasmind.service → /lib/systemd/system/jasmind.service.
[master 9bcdd2a7] committing changes in /etc made by "apt-get install jasmin-sms-gateway=0.11.1"
 5 files changed, 8 insertions(+), 7 deletions(-)
 create mode 120000 systemd/system/multi-user.target.wants/jasmind.service

Is that normal ???
How to fix that or do you think I can use Jasmin like that without any problem ???

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

1 participant