google / google/trimmed_match

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

Open
#5 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
72
Forks
27
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.