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

Installation on Debian 10 (buster) failed #186

Closed
googlegitter opened this issue Jun 16, 2020 · 2 comments
Closed

Installation on Debian 10 (buster) failed #186

googlegitter opened this issue Jun 16, 2020 · 2 comments

Comments

@googlegitter
Copy link

googlegitter commented Jun 16, 2020

I tried to follow the installation description but it will not work.

First i have to install the following packages:
python3-pip python3-distutils python3-setuptools python3-wheel

Then i could start

# python3.7 -m pip install .
Processing /srv/bin/nanovna-saver
Collecting PyQt5 (from NanoVNASaver==0.2.2)
  Downloading https://files.pythonhosted.org/packages/8c/90/82c62bbbadcca98e8c6fa84f1a638de1ed1c89e85368241e9cc43fcbc320/PyQt5-5.15.0.tar.gz (3.3MB)
    100% |████████████████████████████████| 3.3MB 339kB/s 
  Installing build dependencies ... done
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/usr/lib/python3.7/tokenize.py", line 447, in open
        buffer = _builtin_open(filename, 'rb')
    FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-install-el3apevh/PyQt5/setup.py'
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-el3apevh/PyQt5/

that failed!

Afterwards i tried to manually install the packages one after another with the given error messages trying to start "python3.7 nanovna-saver.py":
python3.7 -m pip install numpy
python3.7 -m pip install scipy
python3.7 -m pip install serial

But the last package could not be fixed:

$ python3.7 nanovna-saver.py
Traceback (most recent call last):
  File "nanovna-saver.py", line 17, in <module>
    from NanoVNASaver.__main__ import main
  File "/srv/bin/nanovna-saver/NanoVNASaver/__main__.py", line 23, in <module>
    from .NanoVNASaver import NanoVNASaver
  File "/srv/bin/nanovna-saver/NanoVNASaver/NanoVNASaver.py", line 29, in <module>
    from serial.tools import list_ports
ModuleNotFoundError: No module named 'serial.tools'


# python3.7 -m pip install serial.tools
Collecting serial.tools
Could not install packages due to an EnvironmentError: 404 Client Error: Not Found for url: https://pypi.org/simple/serial-tools/

Please - what mystic must be done to get it running?

@googlegitter
Copy link
Author

I could found the solution here: espressif/esptool#350

So python3.7 -m pip install pyserial did fix it.
Now it starts. :-)

@zarath
Copy link
Collaborator

zarath commented Jun 25, 2020

also upgrading pip before installing should fix this

@zarath zarath closed this as completed Jun 25, 2020
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

2 participants