bark icon indicating copy to clipboard operation
bark copied to clipboard

Cannot install on brand new virtual environment

Open ruze00 opened this issue 2 years ago • 0 comments

I created a brand new conda environment with Python 3.10 in Windows, and get the following error when trying to do a pip install:

Collecting git+https://github.com/JonathanFly/bark (from -r requirements.txt (line 10))
Cloning https://github.com/JonathanFly/bark to c:\users\ruze\appdata\local\temp\pip-req-build-_g9cwk4r
Running command git clone -q https://github.com/JonathanFly/bark 'C:\Users\ruze\AppData\Local\Temp\pip-req-build-_g9cwk4r'
Resolved https://github.com/JonathanFly/bark to commit c66f4fe5cf2741fc44d41e2b2e43daf340846a72

Installing build dependencies ... done
Getting requirements to build wheel ... error

ERROR: Command errored out with exit status 1:
command: 'C:\Users\ruze\miniconda3\python.exe' 'C:\Users\ruze\miniconda3\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' get_requires_for_build_wheel 'C:\Users\ruze\AppData\Local\Temp\tmph_vhugzy'
cwd: C:\Users\ruze\AppData\Local\Temp\pip-req-build-_g9cwk4r
Complete output (48 lines):

C:\Users\ruze\AppData\Local\Temp\pip-build-env-v6ejer8y\overlay\Lib\site-packages\setuptools\config\pyprojecttoml.py:66: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
config = read_configuration(filepath, True, ignore_option_errors, dist)
configuration error: `project.optional-dependencies.dev[0]` must be string
DESCRIPTION:
Project dependency specification according to PEP 508

GIVEN VALUE:
{
  "file": "requirements-dev-pip.txt"
}

OFFENDING RULE: 'type'
DEFINITION:
{
  "$id": "#/definitions/dependency",
  "title": "Dependency",
  "type": "string",
  "format": "pep508"
}

... (rest of the traceback)

ValueError: invalid pyproject.toml config: `project.optional-dependencies.dev[0]`.
configuration error: `project.optional-dependencies.dev[0]` must be string
----------------------------------------
WARNING: Discarding git+https://github.com/JonathanFly/bark. Command errored out with exit status 1: 'C:\Users\ruze\miniconda3\python.exe' 'C:\Users\ruze\miniconda3\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' get_requires_for_build_wheel 'C:\Users\ruze\AppData\Local\Temp\tmph_vhugzy' Check the logs for full command output.

ERROR: Command errored out with exit status 1: 'C:\Users\ruze\miniconda3\python.exe' 'C:\Users\ruze\miniconda3\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' get_requires_for_build_wheel 'C:\Users\ruze\AppData\Local\Temp\tmph_vhugzy' Check the logs for full command output.

ruze00 avatar Aug 05 '23 17:08 ruze00