You are not logged in.
i have try spyder 5.4.1-1 and spyder-git 5.2.1.r345.gfad14a342-1
they don't work ()i don't know why)
use spyder 5.4.1-1 as an example:
Traceback (most recent call last):
File "/usr/bin/spyder", line 33, in <module>
sys.exit(load_entry_point('spyder==5.4.1', 'gui_scripts', 'spyder')())
File "/usr/bin/spyder", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.10/site-packages/spyder/app/start.py", line 55, in <module>
from spyder.utils.external import lockfile
File "/usr/lib/python3.10/site-packages/spyder/utils/external/lockfile.py", line 31, in <module>
from spyder.utils.programs import is_spyder_process
File "/usr/lib/python3.10/site-packages/spyder/utils/programs.py", line 28, in <module>
import pkg_resources
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3257, in <module>
def _initialize_master_working_set():
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3231, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3269, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 617, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 956, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 815, in resolve
dist = self._resolve_dist(
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 856, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'appdirs>=1.4.4; extra == "global"' distribution was not found and is required by pytoolconfig
Offline
Please use code tags.
How did you install? For the AUR package, did you read the comments in the AUR web page of the package?
There may be useful past threads in our forums about that issue.
Last edited by philo (2023-02-19 14:20:22)
Offline
Offline
distribution was not found and is required by pytoolconfig
What does that tell you?
Sanity check: did you make a full upgrade (with pacman -Syu) before installing spyder 5.4.1?
Last edited by philo (2023-02-18 15:36:01)
Offline
I personally recommend pipx for Python programs.
pipx install spyder
Offline
pip is not widely recommended. pipx even less. Why circumvent pacman?
Last edited by philo (2023-02-18 16:34:49)
Offline
Please use code.
How did you install? For the AUR package, did you read the comments in the AUR web page of the package?
There may be useful past threads in our forums about that issue.
i have try this version
https://archlinux.org/packages/community/any/spyder/
and AUR version
https://aur.archlinux.org/packages/spyder-git
but they both don't work
Offline
distribution was not found and is required by pytoolconfig
What does that tell you?
Sanity check: did you make a full upgrade (with pacman -Syu) before installing spyder 5.4.1?
yes, i have
Offline
i found a strange things
i use vanilla 64-bit Arch Linux
spyder 5.4.1-1 don't work
but it work on friend's Manjaro
( ꩜ ᯅ ꩜;)
Offline
in Installation Guide
it said
"Other distributions
Spyder is also available in other GNU/Linux distributions, including:
Arch Linux
Fedora
Gentoo
openSUSE
Please refer to the links or your distribution’s documentation for how to install Spyder"
the link for arch is this
https://aur.archlinux.org/packages/spyder-git
AUR version
i tried this but don't work too
Offline
The AUR package is over one year old. Also, it conflits with the official Community package.
Make a complete uninstall of both (including dependencies) and then try installing 5.4.1 with:
sudo pacman -Syu spyder
Last edited by philo (2023-02-19 12:08:10)
Offline
pip is not widely recommended. pipx even less. Why circumvent pacman?
source?
Offline
The wikis and comments as well as warnings from reliable contributors in our forums.
Offline
The souce of the problems is most probably that the OP mixed system-wide pip installations with pacman installations. For me the spyder package from [community] works out of the box.
Offline
The AUR package is over one year old. Also, it conflits with the official Community package.
Make a complete uninstall of both (including dependencies) and then try installing 5.4.1 with:
sudo pacman -Syu spyder
i have try this many time
but still don't work
Offline
i have try this many time
but still don't work
Do not expect much help after such vague comments.
https://bbs.archlinux.org/viewtopic.php?id=57855
http://www.catb.org/~esr/faqs/smart-questions.html
Last edited by philo (2023-02-20 11:30:46)
Offline
philo wrote:The AUR package is over one year old. Also, it conflits with the official Community package.
Make a complete uninstall of both (including dependencies) and then try installing 5.4.1 with:
sudo pacman -Syu spyderi have try this many time
but still don't work
Traceback (most recent call last):
File "/usr/bin/spyder", line 33, in <module>
sys.exit(load_entry_point('spyder==5.4.1', 'gui_scripts', 'spyder')())
File "/usr/bin/spyder", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.10/site-packages/spyder/app/start.py", line 55, in <module>
from spyder.utils.external import lockfile
File "/usr/lib/python3.10/site-packages/spyder/utils/external/lockfile.py", line 31, in <module>
from spyder.utils.programs import is_spyder_process
File "/usr/lib/python3.10/site-packages/spyder/utils/programs.py", line 28, in <module>
import pkg_resources
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3257, in <module>
def _initialize_master_working_set():
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3231, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3269, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 617, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 956, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 815, in resolve
dist = self._resolve_dist(
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 856, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'appdirs>=1.4.4; extra == "global"' distribution was not found and is required by pytoolconfig
Offline
Who know that but we do not know how you got there.For example:
What commands etc did you use:
- to first install the official [community] package and the one from AUR
- to uninstall them
What do you think of post #14 above?
Offline
All of this and nobody's checked if python-appdirs is installed yet?
GENgreen, pacman -Q python-appdirs
Offline
All of this and nobody's checked if python-appdirs is installed yet?
GENgreen, pacman -Q python-appdirs
thank you
is don't have python-appdirs
but after a installed python-appdirs 1.4.4-7
spyder work!
Last edited by GENgreen (2023-02-20 19:22:24)
Offline
Scimmia wrote:All of this and nobody's checked if python-appdirs is installed yet?
GENgreen, pacman -Q python-appdirs
thank you
is don't have python-appdirs
but after a installed python-appdirs 1.4.4-7
spyder work!
before install python-appdirs 1.4.4-7 i have tried
spyder in anaconda
anaconda-spyder can open but have error
(i forget what error is in it)
after install python-appdirs 1.4.4-7
anaconda-spyder works too
thank you
Offline
python-appdirs is not a dependency of spyder 5.4.1. It would not have been required if the OP had done a straightforward installation of spyder.
As early as in posts #2 & 4 the OP was asked how he/she installed and about that "distribution" error message. No answer.
Time for the OP to mark the thread as [SOLVED].
Last edited by philo (2023-02-21 10:04:16)
Offline
pip install appdirs
Offline