Proton won't install

Proton wont install but I do have virtualenv installed in python:

Traceback (most recent call last):
  File "/home/vfbsilva/.local/bin/virtualenv", line 5, in <module>
    from virtualenv.__main__ import run_with_catch
ModuleNotFoundError: No module named 'virtualenv'

Do you mean the proton package from AUR?

yes I do mean that

This might sound silly, but you’re not interested in Proton (the VPN provider), but actually proton for gaming?

How are python and virtualenv installed? Through pip or through the package manager?

package manager

How exactly are you trying to (build and) install proton ?

yay -S proton

So, for the basics, i’d suggest you check you have all the development tools.

Since AUR helpers are not officially supported for building AUR packages, you should also try building and installing manually: Arch User Repository - ArchWiki

On a side node, a thing that ticks me is that the error points to a file within your home. Since you installed virtualenv through the package manager, i’d rather expect the build process to use the one from the system…

I do have all base-devel installed

warning: autoconf-2.71-1 is up to date -- skipping
warning: automake-1.16.5-1 is up to date -- skipping
warning: binutils-2.38-5 is up to date -- skipping
warning: bison-3.8.2-4 is up to date -- skipping
warning: fakeroot-1.29-1 is up to date -- skipping
warning: file-5.42-1 is up to date -- skipping
warning: findutils-4.9.0-1 is up to date -- skipping
warning: flex-2.6.4-3 is up to date -- skipping
warning: gawk-5.1.1-1 is up to date -- skipping
warning: gcc-12.1.0-2 is up to date -- skipping
warning: gettext-0.21-2 is up to date -- skipping
warning: grep-3.7-1 is up to date -- skipping
warning: groff-1.22.4-7 is up to date -- skipping
warning: gzip-1.12-1 is up to date -- skipping
warning: libtool-2.4.7-2 is up to date -- skipping
warning: m4-1.4.19-1 is up to date -- skipping
warning: make-4.3-3 is up to date -- skipping
warning: pacman-6.0.1-10 is up to date -- skipping
warning: patch-2.7.6-8 is up to date -- skipping
warning: pkgconf-1.8.0-1 is up to date -- skipping
warning: sed-4.8-1 is up to date -- skipping
warning: sudo-1.9.11.p2-1 is up to date -- skipping
warning: texinfo-6.8-2 is up to date -- skipping
warning: which-2.21-5 is up to date -- skipping
 there is nothing to do