jupynium.nvim: Can't install Jupynium - error with dependencies

Describe the bug I can’t install the jupynium with python3 and showing an error with dependencies. I tried installing it from nvim and from the terminal itself but it didn’t install.

To Reproduce Steps to reproduce the behavior:

  1. just followed the instruction to install via lazy.nvim
  2. once trying to install the issue appear. Screen Shot 2023-01-12 at 9 39 31 PM Screen Shot 2023-01-12 at 9 39 43 PM

different way to reproduce:

  1. just do in the terminal: pip3 install --user jupynium
  2. the issue will immediatley appear. Screen Shot 2023-01-12 at 9 39 11 PM

Expected behavior to be installed correctly

The output

Collecting jupynium Using cached jupynium-0.1.0.tar.gz (28 kB) 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 ╰─> [17 lines of output] Error in sitecustomize; set PYTHONVERBOSE for traceback: AssertionError: Traceback (most recent call last): File “/usr/local/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py”, line 351, in <module> main() File “/usr/local/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py”, line 333, in main json_out[‘return_val’] = hook(**hook_input[‘kwargs’]) File “/usr/local/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py”, line 118, in get_requires_for_build_wheel return hook(config_settings) File “/usr/local/Cellar/python@3.10/3.10.9/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/build_meta.py”, line 338, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[‘wheel’]) File “/usr/local/Cellar/python@3.10/3.10.9/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/build_meta.py”, line 320, in _get_build_requires self.run_setup() File “/usr/local/Cellar/python@3.10/3.10.9/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/build_meta.py”, line 335, in run_setup exec(code, locals()) File “<string>”, line 2, in <module> ModuleNotFoundError: No module named ‘versioneer’ [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.

Output of jupynium --version

Paste the output here

Output of nvim --version

NVIM v0.8.2

Additional context OS: MacOS 12.6 Python: Python 3.10.9 I don’t use conda or miniconda

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 19 (11 by maintainers)

Most upvoted comments

If you don’t have Jupyter Notebook running at localhost:8888 then the browser closes automatically. I should make this more user friendly, and I will keep improving the plugin.

Also, if you want to use the command line, you need to set the correct --nvim_listen_addr. This is not the notebook address. Check with :echo v:servername to see the nvim address, or launch nvim like nvim --listen localhost:18898

Good to hear! Thanks for letting me identify numerous issues already. If you have any more problem, feel free to add more comments or open another issue.