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 failed: Getting requirements to build wheel ... error #49

Open
duybuile opened this issue Dec 1, 2023 · 2 comments
Open

Comments

@duybuile
Copy link

duybuile commented Dec 1, 2023

I've been trying to install nbconflux (on Windows) using the command pip install nbconflux and I always ran into the following error

Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [3 lines of output]
      error in nbconflux setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected end or semicolon (after version specifier)
          nbconvert>=5.3requeststraitlets
                   ~~~~~~^
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

I thought it might be because of the latest version, thus, I went back to install different versions of nbconflux (0.7.0, 0.6.1, 0.6.0, 0.5.1, 0.5.0) and all of them resulted in the same error.

On my virtual environment (Windows), I have nbconvert==7.11.0 already

@bli-plng
Copy link

same, I can't get it to work unfortunately as well.

@User-vin
Copy link

User-vin commented Jun 12, 2024

There is an error in the setup.py file. It is missing a comma after 'nbconvert>=5.3' and 'requests'. Once this is corrected, you should be able to run python setup.py install without any issues.

I'm using nbconvert==7.9.2 and nbconflux==0.7.0

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

3 participants