[QGIS-Developer] Linux users: wanna flatpak?

Bernd Vogelgesang bernd.vogelgesang at gmx.de
Thu May 28 05:18:16 PDT 2020


Wow,

thanx a lot!

Umh, just reading https://github.com/flathub/org.qgis.qgis
Seems I can just reinstall the flatpak with the needed module

|flatpak run --command=pip3 org.qgis.qgis install scipy --user Will give
it a try! Cheers, Bernd |

On 28.05.20 14:12, Richard Duivenvoorde wrote:
> FYI:
>
> https://github.com/flathub/org.qgis.qgis/issues/59
>
> As I reckon there are not too many flatpak users around here in qgis dev
>
> Regards,
>
> Richard Duivenvoorde
>
> On 5/28/20 1:27 PM, Bernd Vogelgesang wrote:
>> On 28.05.20 12:48, Richard Duivenvoorde wrote:
>>> Hi Bernd,
>>>
>>> I do not know how to fix this, but I would create an issue at the
>>> flatpak repo:
>>>
>>> https://github.com/flathub/org.qgis.qgis/issues
>>>
>>> They are rather responsive.
>>> In here:
>>> https://github.com/flathub/org.qgis.qgis/issues/28#issuecomment-587224383
>>> It looks like you can run python (so pip?) command within your flatpak
>>> environment (which is different then your default qgis profile
>>> envirnoment).
>>>
>>> If you find out, please report back so we can update the flatpak
>>> instructions on the download page.
>>>
>>> Regards,
>>>
>>> Richard Duivenvoorde
>>>
>> Hi Richard,
>>
>> actually, I do not intend to fumble myself deeper in this stuff, but
>> have the hope that some more enlightened people could give some more
>> detailed instructions how to proceed the before-mentioned workaround.
>> So, maybe 5 sentences on the matter might be better than only the one
>> given so far.
>>
>> Cheers,
>>
>> Bernd
>>
>>> On 5/28/20 12:22 PM, Bernd Vogelgesang wrote:
>>>> On 30.09.18 11:39, Daniele Viganò wrote:
>>>>> Thanks Aleix and the other devs for the excellent work!
>>>>>
>>>>> I confirm that it's working well, at least on my Fedora 28 and 29beta.
>>>>>
>>>>> I had only issues with plugins that are requiring extra Python
>>>>> dependencies which are not available in the flatpak image (like scipy
>>>>> and matplotlib).
>>>>> I was able to find a workaround which is to extract the corresponding
>>>>> python wheels (for the proper python version, cp35) in the python
>>>>> folder under the application user storage (which is located under
>>>>> $HOME/.var/); that path is already part of sys.path.
>>>>>
>>>>> There's any better way to address that?
>>>>>
>>>>> Cheers,
>>>>> Daniele
>>>>>
>>>> Sorry for digging up this old thread, but as after upgrading QGIS, my
>>>> normal install on Linux Mint is (again) gone, so a I fell back on the
>>>> flatpak version which I installed recently to try.
>>>>
>>>> Now I luckily found this thread dealing with missing python modules in
>>>> flatpak.
>>>> I tried to install "Distant measurement styles" via the Resource Sharing
>>>> plugin.
>>>>
>>>> This did not work, cause "urlib3" is missing.
>>>>
>>>> Could someone elaborate more on that python wheels stuff and where to
>>>> install what (exactly) to add missing python dependencies to the
>>>> flatpak?
>>>>   From what I read, I only understood half and I would like to keep at
>>>> least one functional QGIS version.
>>>>
>>>> Cheers,
>>>>
>>>> Bernd
>>>>
>>>>
>>>>
>>>>
>>>>> ---
>>>>> Daniele Viganò
>>>>> http://daniele.vigano.me
>>>>>
>>>>> On mobile, please excuse my brevity.
>>>>>
>>>>> On Sat, Sep 29, 2018, 18:12 Richard Duivenvoorde <rdmailings at duif.net
>>>>> <mailto:rdmailings at duif.net>> wrote:
>>>>>
>>>>>       Hi,
>>>>>
>>>>>       Thanks to some devs and Aleix Pol @aleixpol in particular,
>>>>> there is a
>>>>>       (for me working!) flatpak available for QGIS 3.2.x on flathub:
>>>>>
>>>>>       https://flathub.org/apps/details/org.qgis.qgis
>>>>>
>>>>>       Short intro:
>>>>>       https://qgis.org/en/site/forusers/alldownloads.html#flatpak
>>>>>
>>>>>       Try test and create issues here
>>>>>       https://github.com/flathub/org.qgis.qgis
>>>>>       if you encounter some flathub related issues..
>>>>>
>>>>>       I think it is a nice addition for fresh Linux users to easily
>>>>> install
>>>>>       and try out QGIS, independent of lib/qt/gdal/whatever versions
>>>>>
>>>>>       Regards,
>>>>>
>>>>>       Richard Duivenvoorde
>>>>>       _______________________________________________
>>>>>       QGIS-Developer mailing list
>>>>>       QGIS-Developer at lists.osgeo.org
>>>>> <mailto:QGIS-Developer at lists.osgeo.org>
>>>>>       List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>>>       Unsubscribe:
>>>>> https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> QGIS-Developer mailing list
>>>>> QGIS-Developer at lists.osgeo.org
>>>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>> _______________________________________________
>>>> QGIS-Developer mailing list
>>>> QGIS-Developer at lists.osgeo.org
>>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20200528/3a1b1822/attachment-0001.html>


More information about the QGIS-Developer mailing list