vericast / nbconflux

nbconflux converts Jupyter Notebooks to Atlassian Confluence pages
BSD 3-Clause "New" or "Revised" License
117 stars 33 forks source link

Installation failed: Getting requirements to build wheel ... error #49

Open duybuile opened 7 months ago

duybuile commented 7 months ago

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 commented 4 months ago

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

User-vin commented 1 month ago

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