Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with package version specification upon installation #127

Open
RobertPJenkins opened this issue Jun 3, 2024 · 1 comment
Open

Comments

@RobertPJenkins
Copy link

Hi.

I am getting an error with the way the Boruta_py package is specified. Is this a problem my end or is there something you need to update?

Thanks for your time,

Rob

 pip install git+https://github.com/scikit-learn-contrib/boruta_py.git
Collecting git+https://github.com/scikit-learn-contrib/boruta_py.git
  Cloning https://github.com/scikit-learn-contrib/boruta_py.git to /tmp/pip-req-build-wyfzcqai
  Running command git clone --filter=blob:none --quiet https://github.com/scikit-learn-contrib/boruta_py.git /tmp/pip-req-build-wyfzcqai
  Resolved https://github.com/scikit-learn-contrib/boruta_py.git to commit 92e4b4e1c3ee115a8e1997a8b4a25f8e5090236c
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [27 lines of output]
      running egg_info
      /camp/home/jenkinr/.conda/envs/ml_ecm/lib/python3.8/site-packages/setuptools/dist.py:543: UserWarning: The version specified ('{{VERSION_PLACEHOLDER}}') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
        warnings.warn(
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-req-build-wyfzcqai/setup.py", line 3, in <module>
          setup(name='Boruta',
        File "/camp/home/jenkinr/.conda/envs/ml_ecm/lib/python3.8/site-packages/setuptools/__init__.py", line 87, in setup
          return distutils.core.setup(**attrs)
        File "/camp/home/jenkinr/.conda/envs/ml_ecm/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
          return run_commands(dist)
        File "/camp/home/jenkinr/.conda/envs/ml_ecm/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
          dist.run_commands()
        File "/camp/home/jenkinr/.conda/envs/ml_ecm/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
          self.run_command(cmd)
        File "/camp/home/jenkinr/.conda/envs/ml_ecm/lib/python3.8/site-packages/setuptools/dist.py", line 1208, in run_command
          super().run_command(command)
        File "/camp/home/jenkinr/.conda/envs/ml_ecm/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
          cmd_obj.ensure_finalized()
        File "/camp/home/jenkinr/.conda/envs/ml_ecm/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 111, in ensure_finalized
          self.finalize_options()
        File "/camp/home/jenkinr/.conda/envs/ml_ecm/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 219, in finalize_options
          parsed_version = parse_version(self.egg_version)
        File "/camp/home/jenkinr/.conda/envs/ml_ecm/lib/python3.8/site-packages/pkg_resources/_vendor/packaging/version.py", line 266, in __init__
          raise InvalidVersion(f"Invalid version: '{version}'")
      pkg_resources.extern.packaging.version.InvalidVersion: Invalid version: '-VERSION-PLACEHOLDER-'
      [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.
@danielhomola
Copy link
Collaborator

How about now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants