Skip to content

Python Version Conflicts and Missing Packages in requirements.txt #10

@wwwwwyyyyyxxxxx

Description

@wwwwwyyyyyxxxxx

Python Version Conflicts and Missing Packages in Requirements.txt

Issue Description

I have encountered some installation challenges while attempting to implement the repository according to the provided documentation. When following the README instructions specifying Python 3.8 as the required environment, several packages fail to install due to version incompatibility or unavailability.

Multiple Incompatibility Examples

  1. The dependency bpy==3.4.0 listed in [line 5 of requirements.txt](

    bpy==3.4.0
    ) requires Python 3.10 according to its PyPI documentation (https://pypi.org/project/bpy/3.4.0/), which directly conflicts with the Python 3.8 environment specified in the README.

  2. The package mc==0.0 referenced in [line 21 of requirements.txt](

    mc==0.0
    ) appears to be unavailable. I was unable to locate this package on PyPI or determine what it refers to.

  3. The open3d==0.12.0 dependency specified in [line 27 of requirements.txt](

    open3d==0.12.0
    ) has a dependency on sklearn, which is no longer being distributed through PyPI. This issue has been addressed in open3d==0.13.0, but the requirements file specifies the older version.

  4. When attempting to compile mathutils, I encountered Python C API compatibility errors:

src/mathutils/mathutils.c:79:24: error: incompatible type for argument 1 of '_Py_HashDouble'
src/mathutils/mathutils.c:770:3: warning: implicit declaration of function 'PyModule_AddType'

These errors indicate the code is being compiled against Python 3.8:

  • _Py_HashDouble API changed in Python 3.8+ to accept a single argument instead of two
  • PyModule_AddType was introduced in Python 3.9 and doesn't exist in Python 3.8

Notably, I was able to successfully install mathutils==2.81.2 instead, further suggesting version compatibility issues with Python 3.8.

Inquiries

  1. Could you please clarify the precise Python version that should be used for this project given these conflicting requirements?
  2. Could you provide information about what the mc==0.0 package refers to and where it can be obtained?
  3. Is it possible to update the requirements to versions compatible with a single Python version?
  4. Would it be possible to provide a Docker implementation to ensure consistent environment setup across different systems?

Thank you for your attention to this matter.

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