@Scaglioni (Francesco Scaglioni) posted a new topic, subject "Ubuntu 18.04 install faillure". It read:

   Long time RPD usere never with any prior issues. Recently had to reinstall ubuntu 18.04 ( long story / my own fault ). Ran the install.py script and the installation finally errors out with :
    
    * * *
    
    Updating PyQt5 and PyQt5_sip…  
    Collecting PyQt5  
    Using cached https://files.pythonhosted.org/packages/3a/fb/eb51731f2dc7c22d8e1a63ba88fb702727b324c6352183a32f27f73b8116/PyQt5-5.14.1.tar.gz  
    Complete output from command python setup.py egg_info:  
    Traceback (most recent call last):  
    File “”, line 1, in   
    File “/usr/lib/python3.6/tokenize.py”, line 452, in open  
    buffer = _builtin_open(filename, ‘rb')  
    FileNotFoundError: [Errno 2] No such file or directory: ‘/tmp/pip-build-uah5weto/PyQt5/setup.py'
    
    * * *
    
    Any suggestions very much appreciated as without RPD I am a bit stuffed.
    
    Cheers
    
    Francesco

After which, @damonlynch (Damon Lynch) added

    It's running into a problem installing PyQt5, because PyQt5 now depends on a very very new version of pip. I'll need to release an updated install.py script in the next few days.
    
    In the meantime, if you want to, try this ( **do _not_ run** as sudo):
    
    python3 -m pip install -U pip
    
    then run the install script again. It should work.

@Scaglioni (Francesco Scaglioni) replied

    Thanks you so much for such an amazing quick reply. Sadly it still errored out with :  
    Collecting PyQt5  
    Using cached https://files.pythonhosted.org/packages/3a/fb/eb51731f2dc7c22d8e1a63ba88fb702727b324c6352183a32f27f73b8116/PyQt5-5.14.1.tar.gz  
    Complete output from command python setup.py egg_info:  
    Traceback (most recent call last):  
    File “”, line 1, in  
    File “/usr/lib/python3.6/tokenize.py”, line 452, in open  
    buffer = _builtin_open(filename, ‘rb')  
    FileNotFoundError: [Errno 2] No such file or directory: ‘/tmp/pip-build-p6sl3b3d/PyQt5/setup.py'  
    Cheers

After which, @damonlynch (Damon Lynch) added

    That's a little surprising. It worked for me once I upgraded Python3's pip. Run this and paste the output here:
    
    `python3 -m pip --version`

Then @Scaglioni (Francesco Scaglioni) said

    fgs@xxxxxxx:~/bin$ python3 -m pip --version  
    pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)

After which, @damonlynch (Damon Lynch) added

    Which indicates pip was not upgraded. I hope to release an version of Rapid Photo Downloader in the next 24 hours or so that addresses the installation problem.

After which, @Scaglioni (Francesco Scaglioni) added

    Thank you so much for your help and input. There is no real substitute for RPD and my “windows friends” are jealous. I shall watch the site and try again soonest.
    
    Thanks again
    
    Francesco

Then @Scaglioni (Francesco Scaglioni) said

    Hi sadly the 0.9.18 install also fails for me. I have tried the python3 -m pip install -U pip approach first. This message system will not allow me to post the full output ( the links in it cause problems ) but the apparently fatal message from python3 ./install.py appears to be :
    
    Complete output from command python setup.py egg_info:  
    Traceback (most recent call last):  
    File “”, line 1, in   
    File “/usr/lib/python3.6/tokenize.py”, line 452, in open  
    buffer = _builtin_open(filename, ‘rb')  
    FileNotFoundError: [Errno 2] No such file or directory: ‘/tmp/pip-build-jggelt03/PyQt5/setup.py'
    
    Any suggestions much appreciated
    
    Many Thanks
    
    Francesco

After which, @damonlynch (Damon Lynch) added

    Scaglioni:
    
    > I have tried the python3 -m pip install -U pip approach first.
    
    What do you mean by this? What output did you get when you ran this command? Did you prefix it with sudo or not?
    
    Please provide more details.

After which, @Scaglioni (Francesco Scaglioni) added

    It was the command that you suggested a couple of days ago ( see above ). I ran it as myself before then running the install script ( also as myself ). I shall re-run it now and post the output :  
    Collecting pip  
    Using cached Installing collected packages: pip  
    ##https link removed as I cannot post links here ###  
    Successfully installed pip-19.3.1
    
    The subsequent running of the install.py errors as in my previous post.

So @damonlynch (Damon Lynch) replied

    Scaglioni:
    
    > I shall re-run it now and post the output
    
    You reran what, exactly? I'm unsure what you mean by “it”.

To which @Scaglioni (Francesco Scaglioni) replied

    I ran python3 -m pip install -U pip ( as user ) as you had suggested as an attempted work around. The output was :  
    Collecting pip  
    Using cached Installing collected packages: pip  
    ##https link removed as I cannot post links here ###  
    Successfully installed pip-19.3.1

Then @damonlynch (Damon Lynch) said

    Now confirm it installed successfully:
    
    `python3 -m pip --version`
    
    Assuming it reports 19.3.1, run:
    
    `python3 -m pip install --user --upgrade setuptools`
    
    And if that works without error, run:
    
    `python3 -m pip install --user --upgrade wheel`
    
    And if that works without error, run:
    
    `python3 -m pip install --user --upgrade PyQt5`
    
    If there are errors, simply saying there was an error is not helpful. If you cannot share the complete output here, please find another place in which to share the output and then share a link to it. I suggest https://paste.ubuntu.com/

Then @Scaglioni (Francesco Scaglioni) said

    Progress !  
    Initial error with different versions of PIP being reported :  
    fgs@mossdog:~/bin/RPD$ python3 -m pip --version  
    pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)  
    fgs@mossdog:~/bin/RPD$ sudo python3 -m pip --version  
    [sudo] password for fgs:  
    pip 19.3.1 from /home/fgs/.local/lib/python3.6/site-packages/pip (python 3.6)
    
    Then ran each of your subsequent commands as root followed , finally by the RPD install script run as user – and PRD installed and then launched.
    
    I have no idea why the returned version of PIP varies between user and root.
    
    Thank you, so so much for your help and forbearance.

To which @damonlynch (Damon Lynch) replied

    Scaglioni:
    
    > I have no idea why the returned version of PIP varies between user and root.
    
    I don't know either. But I expect you could find other problems popping up that mean it might be easier simply to reinstall Ubuntu 18.04, assuming of course you keep /home on a different partition.

After which, @1111 (Роман Орлов) added

    Thanks! You`ve helped me

After which, @remixedcat (Remixedcat) added

    Just wanted to thank you profusely for the fix that also helped me get the dropbox alt client maestral working! Had a tough time with various things and the same error trying to run the maestral gui and tried your command and it worked and I got it working! Thanks again
    
    mods please don't delete this would help others as well


{'source': 'discourse', 'url': 'https://discuss.pixls.us/t/ubuntu-18-04-install-faillure/15765', 'title': 'Ubuntu 18.04 install faillure', 'views': 1805, 'has_accepted_answer': False, 'word_count': 1009, 'like_count': 6, 'reply_count': 15, 'participant_count': 4, 'posts': 17, 'tags': '', 'author': '@Scaglioni (Francesco Scaglioni)', 'participants': '@Scaglioni (Francesco Scaglioni), @damonlynch (Damon Lynch), @1111 (Роман Орлов), @remixedcat (Remixedcat)', 'image_url': [None], 'created_at': '2020-01-12T17:30:34.074Z', 'last_posted_at': '2020-05-11T23:57:37.169Z'}