Skip to content

pip requirement issue #6

@tbreimer14

Description

@tbreimer14

Hello, I'm having trouble installing the requirements.txt.

Following the instructions for installing via Conda, I get the following error:

Collecting geomloss==0.2.5 (from -r requirements.txt (line 15))
  Using cached geomloss-0.2.5.tar.gz (26 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [12 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-ysnz1969/geomloss_8e1680372f81438995e2c2d2276e6e7e/setup.py", line 14, in <module>
          import geomloss
        File "/tmp/pip-install-ysnz1969/geomloss_8e1680372f81438995e2c2d2276e6e7e/geomloss/__init__.py", line 5, in <module>
          from .samples_loss import SamplesLoss
        File "/tmp/pip-install-ysnz1969/geomloss_8e1680372f81438995e2c2d2276e6e7e/geomloss/samples_loss.py", line 1, in <module>
          import torch
        File "/home/tbreimer/miniconda3/envs/softzoo/lib/python3.8/site-packages/torch/__init__.py", line 290, in <module>
          from torch._C import *  # noqa: F403
      ImportError: /home/tbreimer/miniconda3/envs/softzoo/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so: undefined symbol: iJIT_NotifyEvent
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

I did try removing geomloss from the requirements.txt, in which case it installs successfully. However, I then encounter this problem when running bash scripts/diffsim_with_annotated_pcd.sh.

Traceback (most recent call last):
  File "/home/tbreimer/miniconda3/envs/softzoo/lib/python3.8/runpy.py", line 192, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/tbreimer/miniconda3/envs/softzoo/lib/python3.8/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/tbreimer/sims/not_working/SoftZoo/softzoo/algorithms/diffsim/run.py", line 9, in <module>
    import torch
  File "/home/tbreimer/miniconda3/envs/softzoo/lib/python3.8/site-packages/torch/__init__.py", line 290, in <module>
    from torch._C import *  # noqa: F403
ImportError: /home/tbreimer/miniconda3/envs/softzoo/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so: undefined symbol: iJIT_NotifyEvent

I'm on Ubuntu 22.04.5 LTS. Any help would be appreciated.

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