Python error during installation

More
02 May 2020 16:59 #166417 by helmholtz
I'm having a hard time installing QtpyVCP on a new computer even though I've installed it before on a different pc without issue. I think it's a python error but I don't really understand. appreciate any help.

Mint 19.3

I'm following the instructions here:
www.qtpyvcp.com/install/quick_start.html

after the "pip install qtpyvcp" i get the following error:
Running setup.py bdist_wheel for qtpyvcp ... error
  Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-r82hjz/qtpyvcp/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/tmpbXFpMppip-wheel- --python-tag cp27:
  /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
    warnings.warn(msg)
  /usr/lib/python2.7/dist-packages/setuptools/dist.py:397: UserWarning: Normalizing 'v0.3.7' to '0.3.7'
    normalized_version,
  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 qtpyvcp
  Running setup.py clean for qtpyvcp
  Running setup.py bdist_wheel for docopt ... error
  Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-r82hjz/docopt/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/tmpYqY_P8pip-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'

Please Log in or Create an account to join the conversation.

More
03 May 2020 07:40 #166480 by anfänger
You need to install the wheel package. Open you package management and search for wheel. If there is something with python and wheel install it. Afterwards the installation should run. Later there will miss some other package it is qtwebkit install it also and you should be fine
The following user(s) said Thank You: KCJ

Please Log in or Create an account to join the conversation.

More
03 May 2020 23:09 #166544 by helmholtz
thank you! that was the issue. both wheel and then later qtwebkit were needed before it worked.

Please Log in or Create an account to join the conversation.

Moderators: KCJLcvette
Time to create page: 0.070 seconds
Powered by Kunena Forum