Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to resolve the issue with setuptools #64

Open
3 tasks done
noahfraiture opened this issue Aug 25, 2024 · 3 comments
Open
3 tasks done

How to resolve the issue with setuptools #64

noahfraiture opened this issue Aug 25, 2024 · 3 comments

Comments

@noahfraiture
Copy link

We are happy to answer your questions about the code or discuss technical ideas.

Please complete the following checklist (by adding [x]):

  • I have searched open and closed issues for duplicates
  • This isn't a feature request
  • This is not a report about my app not working as expected

Hello, from the first day I tried to build this app a few month ago (via AUR), I have the same issue and since lot of people seem to get it working, there might be something I miss. I always have this issue ModuleNotFoundError: No module named 'setuptools'.
However I have installed python-setuptools. I also tried with distribute.
Do I have to install something else ? Or downgrade my python ? I tried to build locally but I don't understand how to do that

@Anonymous941
Copy link

Which Python version are you using? Try running python3 -v

@noahfraiture
Copy link
Author

I use 3.12.4-3.12.5 on my global system and I tried to built it locally but I have this error

ERROR: Could not find a version that satisfies the requirement proton-vpn-api-core (from proton-vpn-gtk-app[development]) (from versions: none)
ERROR: No matching distribution found for proton-vpn-api-core

@calexandru2018
Copy link
Member

calexandru2018 commented Dec 4, 2024

setup-tools is needed for manually building packages. Should be as easy as running
pip3 install <dependencies> then pip3 install .. Don't use pip3 install -r requirements.txt as that is mainly internally for us. Start installing in this order proton-core -> local-agent -> keyring-linux -> core-api -> network-manager -> gtk-app (all of these have to be manually installed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants