[mcstas-users] McStas 3.0 - problem starting mcgui on Ubuntu 20.04

Peter Kjær Willendrup pkwi at fysik.dtu.dk
Wed Feb 3 11:07:07 CET 2021


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 wget http://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


[cid:b6339554-7f28-441d-9f31-5944f811397c at win.dtu.dk]


Technical University of Denmark


[cid:e108e480-fcab-46e2-9531-b38165079572 at win.dtu.dk]



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/4e601f3d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 58 bytes
Desc: image001.gif
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20210203/4e601f3d/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: image/gif
Size: 1055 bytes
Desc: image002.gif
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20210203/4e601f3d/attachment-0003.gif>


More information about the mcstas-users mailing list