[Thread Prev][Thread Next][Index]

Re: [ferret_users] PyFerret in Mac OSX Catalina



I now remember some update of conda removed the sip package.  I had updated my python code some time ago to remove the use of that package.  (It is no longer needed with python 3.)   But those updates in my code have yet to be pushed out to a conda release.
So, for the time being, please reinstall the sip package:
   $ conda install -n FERRET sip
(replace "FERRET" with name of the conda environment containing PyFerret)

My apologies that I did not see this earlier.  I hope this solves the problem.  From a web search, it appears there are still some issues with using Qt under Catalina; the question is whether my code manages to avoid those issues.

Best regards,
Karl


On Fri, Oct 11, 2019 at 12:00 AM Jian Ma <Jian.Ma@xxxxxxxxxxx> wrote:
Dear Karl,

It did not work. Pls see the screen output:

Last login: Fri Oct 11 14:20:16 on ttys000

(base) VectorSigma@Cybertron-3 ~ % conda activate FERRET 

(FERRET) VectorSigma@Cybertron-3 ~ % python3

Python 3.7.3 | packaged by conda-forge | (default, Jul  1 2019, 14:38:56) 

[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin

Type "help", "copyright", "credits" or "license" for more information.

>>> import PyQt5

>>> exit()

(FERRET) VectorSigma@Cybertron-3 ~ % ferret

  NOAA/PMEL TMAP

  PyFerret v7.5 (optimized)

  Darwin 17.7.0 - 09/03/19

  11-Oct-19 14:52     


yes? set w 1

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

FGD_GACWK: null windowobj

FGD_GSCR: null windowobj

FGD_GSCR: null windowobj

FGD_GSCR: null windowobj

FGD_GSCR: null windowobj

FGD_GSCR: null windowobj

FGD_GSCR: null windowobj

FGD_GSPLR: null windowobj

FGD_GSPLR: null windowobj

FGD_GSPLR: null windowobj

FGD_GSPLR: null windowobj

FGD_GSPLR: null windowobj

FGD_GSPLR: null windowobj

FGD_GSPLR: null windowobj

FGD_GSPLR: null windowobj

FGD_GSPLR: null windowobj

FGD_GSPLR: null windowobj

FGD_GSPLR: null windowobj

FGD_GSPLR: null windowobj

FGD_GSPLR: null windowobj

FGD_GSPLR: null windowobj

FGD_GSPLR: null windowobj

FGD_GSPLR: null windowobj

FGD_GSPLR: null windowobj

FGD_GSPLR: null windowobj

FGD_GQDSP: null windowobj

 **ERROR: value out of legal range: The implied size in pixels is too small

yes? 


Any idea?

Tony


Sent from my iPhone

On Oct 11, 2019, at 12: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