You are not logged in.

#1 2023-05-07 03:15:05

N_BaH
Member
Registered: 2015-12-30
Posts: 84

[solved] python 3.11 : selenium not available

hi,

I just got my system up to date, and I'm not able to use selenium anymore.
I notice python has been updated to 3.11.
selenium appears via pacman -Qs selenium, and is still under /usr/lib/python3.10/site-packages
I can add this path to sys.path, but used  with python3.11, it prompts a warning.

can you tell if selenium will be available for python 3.11 ? because it doesn"t appear via pacman -Ss selenium hmm

Last edited by N_BaH (2023-05-07 22:47:12)

Offline

#2 2023-05-07 03:51:39

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,652

Re: [solved] python 3.11 : selenium not available

Are you sure you did not install selenium from the AUR?  I see that python-selenium is available in the AUR, but is not in the repos.  If so, you will need to rebuild it and reinstall.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2023-05-07 15:46:29

N_BaH
Member
Registered: 2015-12-30
Posts: 84

Re: [solved] python 3.11 : selenium not available

I sure I didn't, as the AUR requires python-trio-websocket that is not in the regular(?) repositories, and that is not on my system as makepkg complains it is not found.

would installed AUR be shown by pacman -Qs ?

Offline

#4 2023-05-07 15:50:45

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [solved] python 3.11 : selenium not available

Yes, it's a package just like any other.

What does `pacman -Qi selenium` show?

Offline

#5 2023-05-07 16:27:08

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,652

Re: [solved] python 3.11 : selenium not available

Scimmia wrote:

Yes, it's a package just like any other.

What does `pacman -Qi selenium` show?

ewaller@odin/~% pacman -Ss selenium
ewaller@odin/~[1]% 

hmm


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#6 2023-05-07 18:13:05

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [solved] python 3.11 : selenium not available

They asked about -Qs, though, not -Ss.

Offline

#7 2023-05-07 18:44:22

zuzayka
Member
Registered: 2023-05-07
Posts: 2

Re: [solved] python 3.11 : selenium not available

N_BaH wrote:

hi,

I just got my system up to date, and I'm not able to use selenium anymore.
I notice python has been updated to 3.11.
hmm

I just got my system up to date too. My previous update was one month ago. Three days ago Arch was updated and stop to launch.
Spent two days searching reason and find what display manager lightdm after updating Python to version 3.11.3 was killed. Changed lightdm to
lxdm and Arch came to life. Maybe better to wait when python developers or selenium developers will solve problem?

Offline

#8 2023-05-07 18:54:09

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,471
Website

Re: [solved] python 3.11 : selenium not available

zuzayka wrote:

Maybe better to wait when python developers or selenium developers will solve problem?

I just installed it and it works fine here (and is installed to the 3.11 path).  I doubt the problem has anything to do with python or selenium developers, but rather python or selenium users who don't manage their AUR packages properly.

Last edited by Trilby (2023-05-07 18:55:49)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#9 2023-05-07 19:21:20

N_BaH
Member
Registered: 2015-12-30
Posts: 84

Re: [solved] python 3.11 : selenium not available

Scimmia wrote:

Yes, it's a package just like any other.

What does `pacman -Qi selenium` show?

$ pacman -Qi python-selenium
Name            : python-selenium
Version         : 3.141.0-4
Description     : Python binding for Selenium Remote Control
Architecture    : x86_64
URL             : https://pypi.python.org/pypi/selenium
Licenses        : Apache
Groups          : None
Provides        : None
Depends On      : python  python-urllib3
Optional Deps   : geckodriver: Firefox driver support [installed]
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 1841.82 KiB
Packager        : Evangelos Foutras <foutrelis@archlinux.org>
Build Date      : Fri Dec 3 01:10:58 2021
Install Date    : Fri Dec 17 01:36:32 2021
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : SHA-256 Sum

Last edited by N_BaH (2023-05-07 19:21:42)

Offline

#10 2023-05-07 19:29:49

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,471
Website

Re: [solved] python 3.11 : selenium not available

And that install date doesn't stand out to you?  You installed it from the repos - but then left it to decay after it was dropped to the AUR.

Last edited by Trilby (2023-05-07 19:31:33)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#11 2023-05-07 20:05:00

N_BaH
Member
Registered: 2015-12-30
Posts: 84

Re: [solved] python 3.11 : selenium not available

do you think I don't update my system at least every week ?

it worked until now (which implies it's not been uninstalled as it should when it's been removed from repos), why would I care !?

Offline

#12 2023-05-07 20:13:25

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [solved] python 3.11 : selenium not available

N_BaH wrote:

it's not been uninstalled as it should when it's been removed from repos

No clue where you got that idea. That's not how package management works.

Anyway, you just have an ancient version that you need to either rebuild or update.

Offline

#13 2023-05-07 20:53:12

N_BaH
Member
Registered: 2015-12-30
Posts: 84

Re: [solved] python 3.11 : selenium not available

simple logic : how are we advised otherwise that a package is not maintained/updated anymore?

this means that we may be using out of date (thus unsecure) softwares without knowing... ?

Last edited by N_BaH (2023-05-07 20:53:59)

Offline

#14 2023-05-07 20:57:01

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [solved] python 3.11 : selenium not available

See pacman -Qm

Once a package is installed, pacman has no concept of where it came from. A package is simply a package, whether it's from the official repos, the AUR, or elsewhere.

Offline

#15 2023-05-07 22:23:32

N_BaH
Member
Registered: 2015-12-30
Posts: 84

Re: [solved] python 3.11 : selenium not available

pacman doesn't maintain a kind of a database of what it installs ?

Offline

#16 2023-05-07 22:28:38

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [solved] python 3.11 : selenium not available

Of what it installs, sure, but all that means is that package is installed.

Offline

#17 2023-05-07 22:30:08

papajoke
Member
From: france
Registered: 2014-10-10
Posts: 42

Re: [solved] python 3.11 : selenium not available

read packager ? if archlinux email : it's an old arch package

LANG=C pacman -Qi $(pacman -Qmq) | grep -E '^(Name|Packager)'

from PKGBUILD, packager is "Unknown Packager" or set by own "makepkg.conf"

Last edited by papajoke (2023-05-07 22:41:22)


LTS - Fish - Kde - intel M100 - 16Go RAM - ssd

Offline

#18 2023-05-07 22:42:35

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,471
Website

Re: [solved] python 3.11 : selenium not available

papajoke wrote:

read packager ? if archlinux email : it's an old arch package

Uh ... There are date fields ...

(edit: perhaps I misread - the packager field can be somewhat informative to indicate whether it was built locally verses from some repo, but the actual email address isn't relevant for this.  And this doesn't say anything about whether it is an old package ... the date says that.)

Last edited by Trilby (2023-05-07 22:44:34)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#19 2023-05-07 22:46:46

N_BaH
Member
Registered: 2015-12-30
Posts: 84

Re: [solved] python 3.11 : selenium not available

Scimmia wrote:

Of what it installs, sure, but all that means is that package is installed.

yes. and AURs are installed by... pacman. hmm
smile

so, i installed AUR.

thank you all.

Offline

Board footer

Powered by FluxBB