FormerLurker / ArcWelderPlugin

A plugin for OctoPrint used to convert G0/G1 commands to G2/G3 commands. Reduce the size of your gcode files, and reduce number of gcodes per second sent to your printer.
Other
444 stars 25 forks source link

Installation error: `ModuleNotFoundError: No module named 'distutils.msvccompiler'` #239

Open MisterEyMan opened 2 years ago

MisterEyMan commented 2 years ago

I have Octoprint setup on my DietPi. When trying to install Arc Welder I get:

root@DietPi:~# pip install "https://github.com/FormerLurker/ArcWelderPlugin/archive/master.zip"
Collecting https://github.com/FormerLurker/ArcWelderPlugin/archive/master.zip
  Downloading https://github.com/FormerLurker/ArcWelderPlugin/archive/master.zip
     / 200.1 kB 657.6 kB/s 0:00:00
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-req-build-0xt8qnjh/setup.py", line 32, in <module>
          from distutils.msvccompiler import MSVCCompiler
      ModuleNotFoundError: No module named 'distutils.msvccompiler'
      [end of output]

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

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

I have searched in vain for that error but no luck. Any ideas?
Thanks.