Skip to content

Issue installing timsconvert through conda #72

Description

@SuhasSrinivasan

Hi @gtluu ,

Thank you for developing and maintaining this important tool!

There is an issue when following the Linux installation guide.

$ pip install git+https://github.com/gtluu/timsconvert
Collecting git+https://github.com/gtluu/timsconvert
  Cloning https://github.com/gtluu/timsconvert to /tmp/pip-req-build-ggolpqb1
  Running command git clone --filter=blob:none --quiet https://github.com/gtluu/timsconvert /tmp/pip-req-build-ggolpqb1
  Resolved https://github.com/gtluu/timsconvert to commit c8bbfd98251e07e24522220fd4309e37eea4d7a9
  Running command git submodule update --init --recursive -q
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [34 lines of output]
      /home/userx/miniconda3/envs/tims/lib/python3.11/site-packages/setuptools/__init__.py:94: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
      !!

              ********************************************************************************
              Requirements should be satisfied by a PEP 517 installer.
              If you are using pip, you can try `pip install --use-pep517`.
              ********************************************************************************

      !!
        dist.fetch_build_eggs(dist.setup_requires)
        DEPRECATION: Building 'wheezy.template' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the `--use-pep517` option, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of 'wheezy.template'. Discussion can be found at https://github.com/pypa/pip/issues/6334
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 35, in <module>
        File "/tmp/pip-req-build-ggolpqb1/setup.py", line 13, in <module>
          setup(
        File "/home/userx/miniconda3/envs/tims/lib/python3.11/site-packages/setuptools/__init__.py", line 116, in setup
          _install_setup_requires(attrs)
        File "/home/userx/miniconda3/envs/tims/lib/python3.11/site-packages/setuptools/__init__.py", line 89, in _install_setup_requires
          _fetch_build_eggs(dist)
        File "/home/userx/miniconda3/envs/tims/lib/python3.11/site-packages/setuptools/__init__.py", line 94, in _fetch_build_eggs
          dist.fetch_build_eggs(dist.setup_requires)
        File "/home/userx/miniconda3/envs/tims/lib/python3.11/site-packages/setuptools/dist.py", line 768, in fetch_build_eggs
          return _fetch_build_eggs(self, requires)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/userx/miniconda3/envs/tims/lib/python3.11/site-packages/setuptools/installer.py", line 44, in _fetch_build_eggs
          resolved_dists = pkg_resources.working_set.resolve(
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/userx/miniconda3/envs/tims/lib/python3.11/site-packages/pkg_resources/__init__.py", line 893, in resolve
          dist = self._resolve_dist(
                 ^^^^^^^^^^^^^^^^^^^
        File "/home/userx/miniconda3/envs/tims/lib/python3.11/site-packages/pkg_resources/__init__.py", line 939, in _resolve_dist
          raise VersionConflict(dist, req).with_context(dependent_req)
      pkg_resources.VersionConflict: (wheezy-template 3.2.2 (/tmp/pip-req-build-ggolpqb1/.eggs/wheezy_template-3.2.2-py3.11.egg), Requirement.parse('wheezy.template==3.2.2'))
      [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.

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