[Thread Prev][Thread Next][Index]

Re: [ferret_users] PyFerret in Mac OSX Catalina



Looking over some remarks from a search of anaconda and catalina, it would be interesting to know whether the PyQt5 package was found at all or if there was an issue with importing it.  With the new sandboxing for security, it might be that PyQt5 was not installed in a location where python3 would be able to automatically find it, which might be worked-around by adding the path to the environment variable PYTHONPATH before starting python3 (or pyferret).

Kind regards,
Karl


On Thu, Oct 10, 2019 at 9:51 AM Karl Smith - NOAA Affiliate <karl.smith@xxxxxxxx> wrote:
I have not tested at all with this brand-new version of Mac OS X.  Many third-party vendors (including Adobe) are recommending holding off on upgrading as their software does not yet work under Catalina.  So I am not surprised to hear there are problems with PyQt (probably Qt) and Catalina.

That being said, the message you show arises when both the "import PyQt5" and "import PyQt4" python commands fail.  I doubt it will help, but attempting to run these import commands might give more information about the problem.  So something like the following commands ("$" prompt are shell commands, ">>>" prompt are python commands, replace "FERRET" with whatever environment name you used for PyFerret):
    $ conda activate FERRET
    $ python3
    >>> import PyQt5
    >>> exit()

Kind regards,
Karl



On Thu, Oct 10, 2019 at 12:05 AM Jian (Tony) Ma <tonyj.ma@xxxxxxxxx> wrote:
Dear ferreters,

I upgraded my Mac and found I need to reinstall miniconda and pyferret. But after that, the figure window cannot be opened with the following message:

grdelWindowCreate: error when calling createWindow in pyferret.graphbind: The PQ viewers requires PyQt5 or PyQt4

I checked that pyqt5 is installed. Any solution for that?

Thanks,
Tony

Sent from my iPhone


--
Karl M. Smith, Ph.D.
JISAO Univ. Wash. and PMEL NOAA
"The contents of this message are mine personally and do
not necessarily reflect any position of the Government
or the National Oceanic and Atmospheric Administration."


--
Karl M. Smith, Ph.D.
JISAO Univ. Wash. and PMEL NOAA
"The contents of this message are mine personally and do
not necessarily reflect any position of the Government
or the National Oceanic and Atmospheric Administration."

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement