I am getting the following error when trying to open eduvpn-gui
ModuleNotFoundError: No module named 'eduvpn'
I have python-eduvpn-common
and networkmanager-openvpn
installed.
Git Clone URL: | https://aur.archlinux.org/python-eduvpn-client.git (read-only, click to copy) |
---|---|
Package Base: | python-eduvpn-client |
Description: | Linux client and Python client API for eduVPN |
Upstream URL: | https://codeberg.org/eduVPN/linux-app |
Keywords: | vpn |
Licenses: | GPL-3.0-or-later |
Submitter: | hv15 |
Maintainer: | hv15 |
Last Packager: | hv15 |
Votes: | 8 |
Popularity: | 1.11 |
First Submitted: | 2021-04-21 07:42 (UTC) |
Last Updated: | 2024-12-25 08:55 (UTC) |
I am getting the following error when trying to open eduvpn-gui
ModuleNotFoundError: No module named 'eduvpn'
I have python-eduvpn-common
and networkmanager-openvpn
installed.
@hrast2, I've changed the PKGBUILD to make networkmanager-openvpn
a dependency.
Hello, based on the discussion here, consider adding networkmanager-openvpn
as a dependency instead of an optional dependency. Without it I got an unclear python error, that doesn't immediately point to the issue of me not having the networkmanager-openvpn
dependency.
Please update: Latest version 4.1.3
was released almost 3 months ago. https://github.com/eduvpn/python-eduvpn-client/releases/tag/4.1.3
I think it should be as easy as just updating pkgver=4.1.3
Edit: and once python-eduvpn_common
is updated to 1.1.2 it would be nice to update that in the dependencies.
For me it builds (and works) just fine with these small changes.
Thanks for maintaining.
python-argparse
must be removed from the depends
array, see ↗ here.
Thanks for maintaining!
@TheCrazyRABBIT13 New version of setuptools solves this problem.
Re-added signature, users need to retrieve the PGP public key from upstream: https://app.eduvpn.org/linux/v4/deb/app+linux@eduvpn.org.asc.
For convenience, you can also do the following (note the dash - at the end of the line!):
curl https://app.eduvpn.org/linux/v4/deb/app+linux@eduvpn.org.asc | gpg --import -
@gothicVI oh you have both the AUR package and the pip user local one installed? I suggest you only use one or the other, don't install both on your system, it creates exactly the kind of issue you've reported. The pip user local packages by default are picked up first on your PATH/PYTHONPATH.
@hv15 sort of yes but no.
The installation worked for sure, however, the version remained 3.1.0
. Also, the gui didn't change.
Today, after a reboot, still:
$ eduvpn-gui --version
eduVPN Linux client version 3.1.0
$ which eduvpn-gui
/home/$whoami/.local/bin/eduvpn-gui
$ /usr/bin/eduvpn-gui --version
eduVPN Linux client version 3.1.0
$ yay -Q python-eduvpn-client
python-eduvpn-client 4.0.0-1
After pip install -U eduvpn-client
the gui is different and I'm getting:
$ eduvpn-gui --version
eduVPN client version 4.0.0
$ /usr/bin/eduvpn-gui --version
eduVPN client version 4.0.0
So everything seems to be fine but it's strange that a reboot and a pip update of the user package were necessary.
@gothicVI are you sure the installation worked? I get 4.0.0 from the same command...
Pinned Comments
hv15 commented on 2023-03-07 14:28 (UTC)
Re-added signature, users need to retrieve the PGP public key from upstream: https://app.eduvpn.org/linux/v4/deb/app+linux@eduvpn.org.asc.
For convenience, you can also do the following (note the dash - at the end of the line!):