discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

R: Cannot run a command


From: Vincenzo Mone
Subject: R: Cannot run a command
Date: Wed, 2 Sep 2020 22:53:14 +0200

Hello Fabian,
I have tried how you said with the command:

But I get this:

DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020.
Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0
will drop support for Python 2.7 in January 2021. More details about Python
2 support in pip can be found at
https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Defaulting to user installation because normal site-packages is not
writeable
ERROR: Could not find a version that satisfies the requirement PyQt5 (from
versions: none)
ERROR: No matching distribution found for PyQt5

Please have I done something wrong?
Thanks a lot

73’s de Enzo IK8OZV
EasyLog 5 BetaTester
EasyLog PDA BetaTester
WinBollet BetaTester
D.C.I. CheckPoint Regione Campania
Skype: ik8ozv8520




      *********************************
      ******   GSM  +39 328 7110193  ******
      *****     SMS  +39 328 7110193    *****
      *********************************

> -----Messaggio originale-----
> Da: Discuss-gnuradio <discuss-gnuradio-bounces+vimone=alice.it@gnu.org>
> Per conto di Fabian Schwartau
> Inviato: martedì 1 settembre 2020 15:31
> A: discuss-gnuradio@gnu.org
> Oggetto: Re: Cannot run a command
> 
> Hi Vincenzo,
> 
> urllib2 is not available in Python3 any more, as far as I know. So this
seens to
> be a Python2 script. Use
> pip2 install PyQt5
> to install PyQt, then it should work. Keep in mind that Python2 is out of
date
> and should not be used any more.
> 
> Best regards,
> Fabian
> 
> Am 01.09.20 um 11:22 schrieb Vincenzo Mone:
> > Hello ,
> >
> > I have installed UBUNTU 20.4 and have to run one of these commands:
> >
> >
> >
> > python2
> > ~/gr-lilacsat-pyqt5/examples/BY70-2/DSLWP-Downlink-
> Proxy/mun_downlink_
> > proxy.py
> >
> > or
> >
> > python3
> > ~/gr-lilacsat-pyqt5/examples/BY70-2/DSLWP-Downlink-
> Proxy/mun_downlink_
> > proxy.py
> >
> >
> >
> > but no one works for my purpose.
> >
> > If I run:
> >
> >
> >
> > python2
> > ~/gr-lilacsat-pyqt5/examples/BY70-2/DSLWP-Downlink-
> Proxy/mun_downlink_
> > proxy.py
> >
> >
> >
> > I get:
> >
> >
> >
> > Traceback (most recent call last):
> >
> >   File
> > "/home/enzo/gr-lilacsat-pyqt5/examples/BY70-2/DSLWP-Downlink-
> Proxy/mun
> > _downlink_proxy.py",
> > line 31, in <module>
> >
> >     from PyQt5 import QtGui, QtCore, Qt, QtWidgets
> >
> > ImportError: No module named PyQt5
> >
> >
> >
> > If I run:
> >
> >
> >
> > python3
> > ~/gr-lilacsat-pyqt5/examples/BY70-2/DSLWP-Downlink-
> Proxy/mun_downlink_
> > proxy.py
> >
> >
> >
> > I get:
> >
> >
> >
> > Traceback (most recent call last):
> >
> >   File
> > "/home/enzo/gr-lilacsat-pyqt5/examples/BY70-2/DSLWP-Downlink-
> Proxy/mun
> > _downlink_proxy.py",
> > line 29, in <module>
> >
> >     import urllib2
> >
> > ModuleNotFoundError: No module named 'urllib2'
> >
> >
> >
> > Please which is the correct command and how to solve the error?
> >
> > Thanks
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > 73’s de Enzo IK8OZV
> > EasyLog 5 BetaTester
> > EasyLog PDA BetaTester
> > WinBollet BetaTester
> > D.C.I. CheckPoint Regione Campania
> > Skype: ik8ozv8520
> >
> >
> >
> >
> >       *********************************
> >
> >       ******   GSM  +39 328 7110193  ******
> >
> >       *****     SMS  +39 328 7110193    *****
> >
> >       *********************************
> >
> >
> >





reply via email to

[Prev in Thread] Current Thread [Next in Thread]