Skip to content

Installation Problem - error: could not create 'build': File exists #5

@rorynormaness

Description

@rorynormaness

Hello there.

I have made a python 3.7 environment, and then I have also installed Bazel as instructed via Homebrew.

I have then cloned the repository onto the machine - so far so good.

When I then try to install the package with this command:

python3 -m pip install ./trimmed_match

It begins installing dependencies (numpy etc.) just fine, and then when we get to this block, things go south:

Building wheels for collected packages: trimmed-match
  Building wheel for trimmed-match (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [5 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      error: could not create 'build': File exists
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for trimmed-match
  Running setup.py clean for trimmed-match
Failed to build trimmed-match
Installing collected packages: pytz, typing_extensions, six, pyparsing, pillow, packaging, numpy, MarkupSafe, fonttools, cycler, absl-py, scipy, python-dateutil, kiwisolver, jinja2, pandas, matplotlib, seaborn, trimmed-match
  Running setup.py install for trimmed-match ... error
  error: subprocess-exited-with-error
  
  × Running setup.py install for trimmed-match did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      running install
      /Users/xx.xx/anaconda3/envs/xx/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        setuptools.SetuptoolsDeprecationWarning,
      running build
      running build_py
      creating build
      error: could not create 'build': File exists
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> trimmed-match

Please help!

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