[mcstas-users] McStas 3.0 - problem starting mcgui on Ubuntu 20.04
Richard Wagner
wagnerrichard at ill.fr
Wed Feb 3 13:17:03 CET 2021
Dear Peter,
thanks for the fast answer.
With your suggestion below I can start mcgui.
Only downside is that now my Jupyter installation is not working anymore.
But I'll try to find a solution for that.
Best,
Richard
On 03.02.21 11:07, Peter Kjær Willendrup wrote:
> Dear Richard,
>
>
> Based on the ImportError reference to
> /usr/local/lib/python3.8/dist-packages/, this to me looks like a clash
> with locally installed Python-modules…
>
> Our Debian-packages rely on the Debian/Ubuntu-provided version of
> PyQt, Qscintilla etc., you may have installed these earlier as a local
> version for some other software.
>
> My guess is that if you (as an experiment) rename
> your /usr/local/lib/python3.8/ folder to e.g.
> /usr/local/lib/python3.8.GONE mcgui will run just fine.
>
>
>
> Best,
> Peter
>
>
>
>> On 3 Feb 2021, at 10.00, Richard Wagner <wagnerrichard at ill.fr
>> <mailto:wagnerrichard at ill.fr>> wrote:
>>
>> Hi,
>>
>> just installed McStas 3.0 and have the following problem after an
>> install on Ubuntu 20.04.
>>
>> with
>> cd /etc/apt/sources.list.d
>> sudo wgethttp://packages.mccode.org/debian/mccode.list
>> sudo apt-get update
>>
>> sudo apt-get install mcstas-suite-python-ng
>>
>>
>> mcgui wont start and gives the following error message:
>>
>> /usr/bin/mcgui: 14: [[: not found
>> Traceback (most recent call last):
>> File "<string>", line 1, in <module>
>> ImportError:
>> /usr/local/lib/python3.8/dist-packages/PyQt5/Qt/lib/libQt5Core.so.5:
>> version `Qt_5.15' not found (required by
>> /usr/local/lib/python3.8/dist-packages/PyQt5/Qsci.abi3.so)
>>
>> I'm completely new to the software, so
>> perhaps I'm missing something completely obvious.
>> Any hints would be highly appreciated.
>>
>> thanks in advance
>>
>> Richard
>> _______________________________________________
>> mcstas-users mailing list
>> mcstas-users at mcstas.org <mailto:mcstas-users at mcstas.org>
>> https://mailman2.mcstas.org/mailman/listinfo/mcstas-users
>
>
>
>
> Peter Kjær Willendrup
> Forskningsingeniør, Specialkonsulent
> Næstformand for DTU Fysik LSU
>
> DTU Physics
>
>
>
>
>
> Technical University of Denmark
>
>
>
>
>
>
> Department of Physics
> Fysikvej
> Building 307
> DK-2800 Kongens Lyngby
> Direct +45 2125 4612
> Mobil +45 2125 4612
> Fax +45 4593 2399
> pkwi at fysik.dtu.dk <mailto:pkwi at fysik.dtu.dk>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20210203/a4509d14/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 58 bytes
Desc: not available
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20210203/a4509d14/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: image/gif
Size: 1055 bytes
Desc: not available
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20210203/a4509d14/attachment-0001.gif>
More information about the mcstas-users
mailing list