Hi Philip,

Thanks for your advice. I will try what you suggested.

Fausto


On Fri, Sep 2, 2022 at 8:55 AM Philip Yip <philipyip1...@gmail.com> wrote:

> I don't think the apt package for spyder works...
>
> You can install Spyder using Miniconda instead of Anaconda... Ensure to
> intialise Miniconda it in the last steps of installation.
> Miniconda is a barebones version of Anaconda giving an empty base
> environment with the conda package manager.
>
> To get the latest version of Spyder, it is recommended to install it in a
> new conda environment using the commands:
>
> ```
> conda create -n spyder-cf
>
> conda activate spyder-cf
>
> conda install -c conda-forge spyder
>
> conda install -c conda-forge cython seaborn sympy openpyxl xlrd xlsxwriter
> lxml sqlalchemy
>
> ```
>
> The last command gives the optional dependencies for spyder such as numpy,
> pandas, matplotlib (all dependencies of seaborn) and file format converters
> (used by pandas).
>
> To launch you will need to activate your conda environment using:
>
> ```
> conda activate spyder-cf
>
> spyder
>
> ```
>
> I cover the installation on Ubuntu 22.04 LTS here:
>
> https://www.youtube.com/watch?v=MV2lt_7Ifbw
> On Wednesday, August 31, 2022 at 7:04:35 PM UTC+1 dalt...@gmail.com wrote:
>
>> Hi Fausto,
>>
>> Sorry for the inconvenience, but there is not much we can do. For more
>> info about the Spyder distribution on Linux you can check this issue:
>> https://github.com/spyder-ide/spyder/issues/17422
>>
>> Basically, the Spyder team only releases the package through PyPI, conda
>> and by building standalone installer for Windows and MacOS currently.
>>
>> Let us know if the info in the issue linked above helps!
>>
>> Best regards,
>>
>> Daniel
>>
>> El sábado, 27 de agosto de 2022 a las 21:54:44 UTC-5,
>> fausto....@gmail.com escribió:
>>
>>>
>>> Hi,
>>>
>>> I love Spyder, but it has become increasingly problematic to install.
>>>
>>> I've had problems with Spyder since about version 4.0 or maybe a bit
>>> earlier than that, but now things seem to have reached a point of no
>>> return.
>>>
>>> I recently upgraded my Ubuntu installation from 20.04 to 22.04 and
>>> noticed that Spyder stopped working. I then uninstalled the version
>>> I had with apt-get and reinstalled it in the hopes that it would
>>> then work. After all, apt-get is the "official" way of installing
>>> Ubuntu packages, right? It should work. Well, it didn't and produced
>>> the following output:
>>>
>>> $ spyder
>>> /usr/bin/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning:
>>> 1.16.0-unknown is an invalid version and will not be supported in a future
>>> release
>>>   warnings.warn(
>>> /usr/bin/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning:
>>> 0.1.43ubuntu1 is an invalid version and will not be supported in a future
>>> release
>>>   warnings.warn(
>>> /usr/bin/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning:
>>> 1.1build1 is an invalid version and will not be supported in a future
>>> release
>>>   warnings.warn(
>>> Traceback (most recent call last):
>>>   File "/usr/bin/spyder", line 33, in <module>
>>>     sys.exit(load_entry_point('spyder==4.2.1', 'gui_scripts',
>>> 'spyder')())
>>>   File "/usr/lib/python3/dist-packages/spyder/app/start.py", line 213,
>>> in main
>>>     mainwindow.main(options, args)
>>>   File "/usr/lib/python3/dist-packages/spyder/app/mainwindow.py", line
>>> 3624, in main
>>>     mainwindow = create_window(app, splash, options, args)
>>>   File "/usr/lib/python3/dist-packages/spyder/app/mainwindow.py", line
>>> 3482, in create_window
>>>     main.setup()
>>>   File "/usr/lib/python3/dist-packages/spyder/app/mainwindow.py", line
>>> 803, in setup
>>>     self.completions = CompletionManager(self)
>>>   File
>>> "/usr/lib/python3/dist-packages/spyder/plugins/completion/plugin.py", line
>>> 97, in __init__
>>>     plugin_client = Plugin(self.main)
>>>   File
>>> "/usr/lib/python3/dist-packages/spyder/plugins/completion/kite/plugin.py",
>>> line 50, in __init__
>>>     self.installer = KiteInstallerDialog(
>>>   File
>>> "/usr/lib/python3/dist-packages/spyder/plugins/completion/kite/widgets/install.py",
>>> line 287, in __init__
>>>     self._integration_widget = KiteIntegrationInfo(self)
>>>   File
>>> "/usr/lib/python3/dist-packages/spyder/plugins/completion/kite/widgets/install.py",
>>> line 58, in __init__
>>>     image = image.scaled(image_width, image_height, Qt.KeepAspectRatio,
>>> 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'm lost. Since Spyder is in the repository as an "official" package
>>> it should be installed. But neither apt-get nor aptitude worked.
>>>
>>> It is strongly recommended that Spyder should be installed under
>>> Anaconda, but I don't see myself installing ~1 GB of useless clutter
>>> just and only to get Spyder working. I want Spyder as it was before
>>> the upgrade. How could I do this?
>>>
>>> Thanks a lot for any help.
>>>
>>> F.
>>>
>>>
>>>
>>> --
> You received this message because you are subscribed to the Google Groups
> "spyder" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to spyderlib+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/spyderlib/b0fcfca6-d36a-45ad-bb64-17e5a7a56f4dn%40googlegroups.com
> <https://groups.google.com/d/msgid/spyderlib/b0fcfca6-d36a-45ad-bb64-17e5a7a56f4dn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to spyderlib+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/spyderlib/CA%2BB6aWGQrv_0xs3mZmi3JXJtVDH6Gm4g7vPy4aZrrDQqk24C%3DQ%40mail.gmail.com.

Reply via email to