excel2table icon indicating copy to clipboard operation
excel2table copied to clipboard

pip install --upgrade excel2table lands in error

Open jay-ramani opened this issue 1 year ago • 0 comments

While the project from which this was forked (csvtotable) installs without issues with its command line (pip install --upgrade csvtotable), excel2table throws a pip not installed error (when it very much is, and works with all other packages!)

pip install --upgrade excel2table
Collecting excel2table
  Using cached excel2table-2.3.2.tar.gz (301 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
  ╰─> [29 lines of output]
      C:\Program Files\Python\python.exe: No module named pip
      Traceback (most recent call last):
        File "<string>", line 6, in <module>
      ModuleNotFoundError: No module named 'jupyterpip'

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
        File "C:\Program Files\Python\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
          main()
        File "C:\Program Files\Python\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Program Files\Python\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\<user home>\AppData\Local\Temp\pip-build-env-9bkgoabe\overlay\Lib\site-packages\setuptools\build_meta.py", line 332, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\<user home>\AppData\Local\Temp\pip-build-env-9bkgoabe\overlay\Lib\site-packages\setuptools\build_meta.py", line 302, in _get_build_requires
          self.run_setup()
        File "C:\Users\<user home>\AppData\Local\Temp\pip-build-env-9bkgoabe\overlay\Lib\site-packages\setuptools\build_meta.py", line 503, in run_setup
          super().run_setup(setup_script=setup_script)
        File "C:\Users\<user home>\AppData\Local\Temp\pip-build-env-9bkgoabe\overlay\Lib\site-packages\setuptools\build_meta.py", line 318, in run_setup
          exec(code, locals())
        File "<string>", line 11, in <module>
        File "C:\Program Files\Python\Lib\subprocess.py", line 413, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['C:\\Program Files\\Python\\python.exe', '-m', 'pip', 'install', 'jupyter-pip']' returned non-zero exit status 1.
      [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.

Trying to install jupyterpip lands in another error:

pip install --upgrade jupyterpip
ERROR: Could not find a version that satisfies the requirement jupyterpip (from versions: none)
ERROR: No matching distribution found for jupyterpip

Should it help, here's my configuration information -

Architecture: 64-bit OS: Windows 11 23H2 (Build 22631.4169) CPU: AMD Ryzen 7 6800H RAM: 42GB free on 64GB DDR5 Disk Space: 208GB free on a 1TB disk Python version: 3.12.6

Thanks and cheers.

P.S: Hope this project is not abandoned; I see two issues persisting in open state since the last couple of years!

jay-ramani avatar Sep 28 '24 23:09 jay-ramani