Skip to content

Installation issue for Google Colab demo #4

@TannerGilbert

Description

@TannerGilbert

It seems like the Google Colab demo provided in the repo doesn't work as expected anymore. Firstly some packages don't seem supported for the Python version of Colab:

ERROR: torch-1.1.0-cp37-cp37m-linux_x86_64.whl is not a supported wheel on this platform.
ERROR: torchvision-0.3.0-cp37-cp37m-linux_x86_64.whl is not a supported wheel on this platform.

Here I think the issue is that the venv you create isn't activated as expected or doesn't stay activated as expected. So !which python results in /usr/local/bin/python instead of ~/venvs/smplify-x/bin/python.

Additionally there is a error with the version name of the homogenus library.

/content/smplify-x-partial/smplifyx/homogenus
Traceback (most recent call last):
  File "/content/smplify-x-partial/smplifyx/homogenus/setup.py", line 25, in <module>
    setup(name='homogenus',
  File "/usr/local/lib/python3.12/dist-packages/setuptools/__init__.py", line 117, in setup
    return distutils.core.setup(**attrs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/setuptools/_distutils/core.py", line 145, in setup
    _setup_distribution = dist = klass(attrs)
                                 ^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/setuptools/dist.py", line 333, in __init__
    self.metadata.version = self._normalize_version(self.metadata.version)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/setuptools/dist.py", line 369, in _normalize_version
    normalized = str(Version(version))
                     ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/packaging/version.py", line 361, in __init__
    raise InvalidVersion(f"Invalid version: {version!r}")
packaging.version.InvalidVersion: Invalid version: '.5'

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