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

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

Open
rorynormaness opened this issue Feb 19, 2024 · 0 comments

Comments

@rorynormaness
Copy link

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!

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

1 participant