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

Cannot install on brand new virtual environment #103

Open
ruze00 opened this issue Aug 5, 2023 · 0 comments
Open

Cannot install on brand new virtual environment #103

ruze00 opened this issue Aug 5, 2023 · 0 comments

Comments

@ruze00
Copy link

ruze00 commented Aug 5, 2023

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.

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