AttributeError: module 'virtualenv.create.via_global_ref.builtin.cpython.mac_os' has no attribute 'CPython2macOsArmFramework'

robert rottermann robert at redcor.ch
Thu Feb 10 14:45:28 UTC 2022


Hi there

when I try to run

python -mvirtualenv

i get

AttributeError: module 'virtualenv.create.via_global_ref.builtin.cpython.mac_os' 
has no attribute 'CPython2macOsArmFramework'

Googling for a solution i found that probably more than one virtualenv package 
is installed.

so I try to

pip3 uninstall virtualenv

apt install python3-virtualenv
apt autoremove
apt install python3-virtualenv --reinstall

but still:

virtualenv
AttributeError: module 'virtualenv.create.via_global_ref.builtin.cpython.mac_os' 
has no attribute 'CPython2macOsArmFramework'


can someone of you please give me a hint, how to resolve that error

thanks very much

Robert





More information about the ubuntu-users mailing list