Skip to content

does not install on raspberry pi / aarm64 bookworm using pip+python3.11 #287

@bbx-github

Description

@bbx-github

I am not sure if it is a bug in the package/packaging or somewhere else. Also I am not sure where to report this. So do it here in lack of knowing a better place.

Setup:

  • raspberry pi / aarm64 / bookworm
  • python3.11 / pip-25.2
  • django-organizations==2.5.0 or django-organizations==2.4.1 (same result)

Folder lib/python3.11/site-packages/organizations is not installed. If I do the same on a amd64/bookworm the folder is created.

what i do:

user@pi:~ $ mkdir d_o_venv
user@pi:~ $ virtualenv d_o_venv
created virtual environment CPython3.11.2.final.0-64 in 305ms
  creator CPython3Posix(dest=/home/user/d_o_venv, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/user/.local/share/virtualenv)
    added seed packages: pip==23.0.1, setuptools==66.1.1, wheel==0.38.4
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
user@pi:~ $ source d_o_venv/bin/activate
(d_o_venv) user@pi:~ $ pip list
Package    Version
---------- -------
pip        23.0.1
setuptools 66.1.1
wheel      0.38.4
(d_o_venv) user@pi:~ $ pip install --upgrade pip
[..]
(d_o_venv) user@pi:~ $ pip install --upgrade setuptools
[..]
(d_o_venv) user@pi:~ $ pip install --upgrade wheel
[..]
(d_o_venv) user@pi:~ $ pip list
Package    Version
---------- -------
pip        25.2
setuptools 80.9.0
wheel      0.45.1
(d_o_venv) user@pi:~ $ pip install django-organizations==2.4.1  # same outcome with django-organizations==2.5
[..]
(d_o_venv) user@pi:~ $ pip list
Package              Version
-------------------- -------
asgiref              3.9.1
Django               5.2.6
django-extensions    4.1
django-organizations 2.4.1
pip                  25.2
setuptools           80.9.0
sqlparse             0.5.3
wheel                0.45.1
(d_o_venv) user@pi:~ $ ls -1 d_o_venv/lib/python3.11/site-packages/
asgiref
asgiref-3.9.1.dist-info
_distutils_hack
distutils-precedence.pth
django
django-5.2.6.dist-info
django_extensions
django_extensions-4.1.dist-info
django_organizations-2.4.1.dist-info
pip
pip-25.2.dist-info
pkg_resources
__pycache__
setuptools
setuptools-80.9.0.dist-info
sqlparse
sqlparse-0.5.3.dist-info
_virtualenv.pth
_virtualenv.py
wheel
wheel-0.45.1.dist-info
(d_o_venv) user@pi:~ $ python3
Python 3.11.2 (main, Apr 28 2025, 14:11:48) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import organizations
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'organizations'

Different result with amd64/bookworm:

(d_o_venv) user@amd64:~ $ ls -1 d_o_venv/lib/python3.11/site-packages/
asgiref
asgiref-3.9.1.dist-info
_distutils_hack
distutils-precedence.pth
django
django-5.2.6.dist-info
django_extensions
django_extensions-4.1.dist-info
django_organizations-2.5.0.dist-info
organizations
pip
pip-25.2.dist-info
pkg_resources
__pycache__
setuptools
setuptools-80.9.0.dist-info
sqlparse
sqlparse-0.5.3.dist-info
_virtualenv.pth
_virtualenv.py
wheel
wheel-0.45.1.dist-info
(d_o_venv) user@amd64:~ $ python3
>>> import organizations
>>> 

If I copy organizations-folder from amd64 to pi:

(d_o_venv) user@pi:~ $ python3
Python 3.11.2 (main, Apr 28 2025, 14:11:48) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import organizations
>>> 

Seems to work for now. I'll update if this changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions