Code Monkey home page Code Monkey logo

Comments (9)

stelgenhof avatar stelgenhof commented on July 4, 2024 1

Same here. There were tons of python package updates, which maybe the reason for this. (Also on ArchLinux).

Perhaps worth mentioning that the protonvpn-cli-community-git package in AUR is marked orphan (maintainer).

UPDATE: Reinstalling solved the issue for me (sudo pip3 install protonvpn-cli)

from linux-cli-community.

Jomosoto avatar Jomosoto commented on July 4, 2024 1

Reinstalling the AUR package solves the problem for me

Edit: I also told to make a new build while reinstalling, I don't know if this makes a difference

from linux-cli-community.

Lucifer25x avatar Lucifer25x commented on July 4, 2024

Same here. There were tons of python package updates, which maybe the reason for this. (Also on ArchLinux).

Perhaps worth mentioning that the protonvpn-cli-community-git package in AUR is marked orphan (maintainer).

UPDATE: Reinstalling solved the issue for me (sudo pip3 install protonvpn-cli)

Hi, thanks for your reply. I also tried installing pip package, and actually that worked for me without a problem. But I have a little concern about installing pip packages as a sudo user, but maybe my concern is meaningless.

from linux-cli-community.

stelgenhof avatar stelgenhof commented on July 4, 2024

I generally try to avoid any sudo operations as well, but I just followed the installations instructions of this project: https://github.com/Rafficer/linux-cli-community#installing-protonvpn-cli

from linux-cli-community.

Lucifer25x avatar Lucifer25x commented on July 4, 2024

Reinstalling the AUR package solves the problem for me

Edit: I also told to make a new build while reinstalling, I don't know if this makes a difference

Thanks, I'll try it

from linux-cli-community.

Jomosoto avatar Jomosoto commented on July 4, 2024

Found the reason for this problem: Python has been updated from 3.10 to 3.11. and the package has to be resetup for the new version. Packages from the official repos are automatically rebuilt, but for AUR packages, you have to rebuild them manually.

from linux-cli-community.

Lucifer25x avatar Lucifer25x commented on July 4, 2024

Found the reason for this problem: Python has been updated from 3.10 to 3.11. and the package has to be resetup for the new version. Packages from the official repos are automatically rebuilt, but for AUR packages, you have to rebuild them manually.

Thanks

from linux-cli-community.

wcrabtree9 avatar wcrabtree9 commented on July 4, 2024

I reinstalled proton-cli from the AUR, ran pip install proton and now I get this message:

Traceback (most recent call last):
  File "/usr/bin/protonvpn-cli", line 33, in <module>
    sys.exit(load_entry_point('protonvpn-cli==3.13.0', 'console_scripts', 'protonvpn-cli')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/protonvpn_cli/main.py", line 20, in main
    from .cli import ProtonVPNCLI
  File "/usr/lib/python3.11/site-packages/protonvpn_cli/cli.py", line 4, in <module>
    from proton.constants import VERSION as proton_version
ModuleNotFoundError: No module named 'proton.constants'

Edit: uninstalled proton with pip, ran yay -S $(pacman -Qoq /usr/lib/python3.10), hit A for clean build of python-proton-client, and now it's working!

from linux-cli-community.

Lucifer25x avatar Lucifer25x commented on July 4, 2024

I think that's time to close this issue as there's no need to keep it open.

from linux-cli-community.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.