Score:0

Problem launch spyder

um flag

I encounter the following problem when I want to launch spyder from my ubuntu pc:

    TypeError: arguments did not match any overloaded call:
  scaled(self, int, int, aspectRatioMode: Qt.AspectRatioMode = Qt.IgnoreAspectRatio, transformMode: Qt.TransformationMode = Qt.FastTransformation): argument 1 has unexpected type 'float'
  scaled(self, QSize, aspectRatioMode: Qt.AspectRatioMode = Qt.IgnoreAspectRatio, transformMode: Qt.TransformationMode = Qt.FastTransformation): argument 1 has unexpected type 'float'

I have ubuntu 20.04. Thanks for your help.

Score:2
cn flag

According to this answer over at StackOverflow and this comment on GitHub, there seems to be a mismatch at least with Ubuntu 22.04. The version of Spyder packaged for Ubuntu 22.04 doesn't seem to work with the version of Python packaged for Ubuntu 22.04. I would assume that the same or a similar problem exists with Ubuntu 20.04, too.

A solution would be to install a more recent version of Spyder, according to the sources linked above at least version 5.3.0. Ubuntu 22.04 comes with Spyder in Version 4.2.1+dfsg1-3, Ubuntu 20.04 with version 3.3.6+dfsg1-4build1. You may want to install the more recent version of Spyder in a virtualenv or similar, or to use Anaconda/Miniconda.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.