Skip to content

Error when pip installing #47

@SJ001

Description

@SJ001

Hello, when I try to run pip install larcv I am getting the following error:

Collecting larcv
  Using cached larcv-3.4.0.tar.gz (808 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 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-0wwu1sex/larcv_1a0656132a004380b11ebf2d7334d2f9/setup.py", line 12, in <module>
          verstrline = open(VERSIONFILE, "rt").read()
      FileNotFoundError: [Errno 2] No such file or directory: 'larcv/_version.py'
      [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 tried on both Mac and Linux OS. What should I do? Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions