Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
NanoVNAsaver wont install on Debian 10 Xfce
Pierre Martel
I know it is not related on the NanoVNA directly, but I did not think it is a github type issue
Fresh install off debian 10 with Xfce as the windows manager. All is updated and I am in the Sudo group. I try to install as a user and as a sudo user. Both time I have this: when using sudo: sudo python3.7 -m pip install . Processing /home/pierre/nanovna-saver Collecting PyQt5 (from NanoVNASaver==0.2.2) Downloading (3.2MB) 100% |¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨| 3.2MB 332kB/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-g1539h3f/PyQt5/setup.py' ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-g1539h3f/PyQt5/ When not using sudo python3.7 -m pip install . Processing /home/pierre/nanovna-saver Collecting pyserial (from NanoVNASaver==0.2.2) Downloading (193kB) 100% |¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨| 194kB 3.1MB/s Collecting PyQt5 (from NanoVNASaver==0.2.2) Using cached 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-9ifd2mji/PyQt5/setup.py' ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-9ifd2mji/PyQt5/ pierre@workbench:~/nanovna-saver$ I did search in the group, found some stuff on mint but nothing in there fix this problem. Thanks for the help Pierre VE2PF |
Do you actually have a tmp directory in the root?
73 -Jim NU0C On Sun, 12 Jan 2020 17:58:02 -0800 "Pierre Martel" <petem001@...> wrote: I know it is not related on the NanoVNA directly, but I did not think it is a github type issue |
Pierre Martel wrote:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-install-9ifd2mji/PyQt5/setup.py'Check for us, please. Does this file exist? If you search for it, can you find a file somewhere in the file system named "setup.py"? (Probably in a PyQt5 subdirectory somewhere else.) -- wes will n9kdy |
Pierre Martel
Yes I do. and there are some stuff left in it
toggle quoted message
Show quoted text
ls /tmp/ mozilla_pierre0 pulse-PKdhtXMmr18n ssh-IfE43VTJEnve systemd-private-fb8c2b57f05146519286706d79b30aeb-colord.service-ITCxnV systemd-private-fb8c2b57f05146519286706d79b30aeb-ModemManager.service-EKXWbl systemd-private-fb8c2b57f05146519286706d79b30aeb-rtkit-daemon.service-mGzzVF systemd-private-fb8c2b57f05146519286706d79b30aeb-systemd-timesyncd.service-GHA7MZ systemd-private-fb8c2b57f05146519286706d79b30aeb-upower.service-69fZ57 Temp-1f3b678f-d226-4b63-964b-d3fca628a08f Temp-809947be-febe-417e-8b53-4e89a2bb3775 tmpaddon Le dim. 12 janv. 2020 ¨€ 21:14, Jim Shorney <jshorney@...> a ¨¦crit :
|
Pierre Martel wrote:
Yes I do. and there are some stuff left in itBut notice there is NO pip-install directory. Check under /usr/tmp and /usr/local/tmp and see if there might be a pip-install directory in there somewhere. -- wes will n9kdy |
Pierre Martel
I used locate and find and I did not found any other place where I
toggle quoted message
Show quoted text
could have a tmp directory beside ton one on the root. I did watched if the sudo python3.7 -m pip install . command did put some stuff in the /tmp directory, end yes it does but it get erased as soon as the install fail Le dim. 12 janv. 2020 ¨€ 21:41, N9KDY <n9kdy@...> a ¨¦crit :
|
Pierre Martel
if I try to install PQty5 by itself
python3.7 -m pip install PQty5 Collecting PQty5 Could not install packages due to an EnvironmentError: 404 Client Error: Not Found for url: pierre@workbench:~/nanovna-saver$ Le dim. 12 janv. 2020 ¨€ 21:56, Pierre Martel via Groups.Io <petem001@...> a ¨¦crit :
|
Pierre Martel
I've downloaded PyQt5-5.14.1.tar.gz from the link in the error I sent
there is no setup.py in this archive.. Le dim. 12 janv. 2020 ¨€ 22:03, Pierre Martel via Groups.Io <petem001= [email protected]> a ¨¦crit : systemd-private-fb8c2b57f05146519286706d79b30aeb-colord.service-ITCxnV systemd-private-fb8c2b57f05146519286706d79b30aeb-ModemManager.service-EKXWbl systemd-private-fb8c2b57f05146519286706d79b30aeb-rtkit-daemon.service-mGzzVF systemd-private-fb8c2b57f05146519286706d79b30aeb-systemd-timesyncd.service-GHA7MZ systemd-private-fb8c2b57f05146519286706d79b30aeb-upower.service-69fZ57 Temp-1f3b678f-d226-4b63-964b-d3fca628a08fBut notice there is NO pip-install directory. |
Vince Vielhaber
Also check /var/tmp
toggle quoted message
Show quoted text
You also mentioned using locate. locate is useless until after the database is rebuilt, which happens in a system cron job or if you run it yourself. Vince - K8ZW. On 01/12/2020 09:41 PM, N9KDY wrote:
Pierre Martel wrote:Yes I do. and there are some stuff left in itBut notice there is NO pip-install directory. --
K8ZW |
Pierre Martel wrote:
I used locate and find and I did not found any other place where IThis is almost surely a path and permissions problem. Mostly path. Where things wind up using this or that install routine, versus what the "distro" has mandated as the be-all and end-all of directory structures. I wish the "high forehead" pocket-protector-flapping, egotistical, IDIOTS in charge of all the Linux distros would pull their collective high-forehead crania out of their asses and decide upon ONE directory structure. Right now, I can think of four discrete layouts, with /usr, /usr/local, /usr/etc/local (Believe it or not! But I think this one died a lonely death already - I hope.) and a couple of other variants involving /opt, where things can wind up. Don't let any of their BS fool you, it's somebody's personal preference and NOT "security." Any directory on a Linux system is as secure as any other one, if the right options are selected, so /usr and /usr/local are not different in any significant way. That crap, and the "sudo" insanity pushed by the ScrewBuntu crowd drive me absolutely ape-snot. All that said, now it just means we need to track down where your system has decided to put the various bits and pieces, kick it in the gonads, and make a few symbolic links to where things -really- are instead. Check the install logs, and see where the Qt5 stuff actually was sent when you tried to install it. Then we might be able to track down where your distro will accept them and force the correct parts down it's throat. -- wes will n9kdy BSIndEng, MSIT(InfoSec) (And some other alphabet soup to go with it.) (All that and a couple dollars get me coffee at the local gas station. I can lose all of the diplomas, but I better have the two bucks.) |
to navigate to use esc to dismiss