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

Unable to install on a clean Ubuntu System #957

Open
XeroZar opened this issue Oct 28, 2024 · 4 comments
Open

Unable to install on a clean Ubuntu System #957

XeroZar opened this issue Oct 28, 2024 · 4 comments

Comments

@XeroZar
Copy link

XeroZar commented Oct 28, 2024

If this is a feature request describe it here

___REPLACE_THIS__FEATURE_REQUEST_DESCRIPTION_GOES_HERE

Version of Octolapse

Octolapse Version: ___0.4.5 (latest available)

Version of OctoPrint

OctoPrint Version: ___0.4.5

When you ran into the problem, did you have diagnostic logging enabled?

Diagnostic Logging was Enabled: ___REPLACE_THIS__YES_OR_NO

What were you doing when the problem occurred

  1. __Trying to install on a clean Ubuntu System
  2. ___REPLACE_THIS__STEP_TWO_GOES_HERE
  3. __REPLACE_THIS__STEP...

What should have happened?

___Should have installed like the other plugins I installed.

What happened instead?

___Got the following error when installing...
Installing plugin "Octolapse" from https://github.com/FormerLurker/Octolapse/archive/master.zip...
/home/pi/OctoPrint/bin/python3 -m pip --disable-pip-version-check install file:///tmp/tmpzb_vxm70/Octolapse-master.zip --no-cache-dir
Processing /tmp/tmpzb_vxm70/Octolapse-master.zip
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status '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 "", line 2, in
File "", line 34, in
File "/tmp/pip-req-build-ynvf7rgv/setup.py", line 6, in
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.
Error!
Could not parse output from pip, see plugin_pluginmanager_console.log for generated output

Operating System running OctoPrint and Octolapse

OS Name: ___Ubuntu
Os Version: ___24.04.1

Printer model & used firmware incl. version

Printer Model: ___Ender 3 Pro
Printer Firmware Version: ___2.1.1

Browser and version of browser, operating system running browser

Browser: ___REPLACE_THIS__BROWSER_VERSION_GOES_HERE
Browser OS: ___REPLACE_THIS__BROWSER_OS_GOES_HERE

Link to the gcode file you were printing when the problem occurred

Link to Gcode File: ___REPLACE_THIS__GCODE_FILE_LINK_GOES_HERE

Link to settings.json

Link to settings.json with all passwords removed: ___REPLACE_THIS__SETTINGS_JSON_LINK_GOES_HERE

Link to plugin_octolapse.log

Link to plugin_octolapse.log: LINK_GOES_HERE

Link to octoprint.log

Link to octoprint.log: ___REPLACE_THIS__LINK_GOES_HERE

Link to contents of Javascript console in the browser

Link to javascript console output: ___REPLACE_THIS__LINK_GOES_HERE

Screenshots and/or videos of the problem:

Screenshot/Video Links: ___REPLACE_THIS__LINKs_GO_HERE

Please consider becoming a patron

If you like this project, please support my work by becoming a patron, and consider adding a 'star' to the repository. It takes a lot of time and effort to maintain the project and respond to issues. The cost of test prints, software, cameras, printer parts, etc. can quickly add up, so every bit helps.

You can find various videos and tutorials by subscribing to my Youtube channel. You can also follow me on Twitter.

@rolandbough
Copy link

I have this same issue fresh install of same version of Ubuntu.

@Big-Channie
Copy link

I have this same issue. I believe it's a python version problem. Hoping this gets fixed soon

@rolandbough
Copy link

I have this same issue fresh install of same version of Ubuntu.

Looking forther into it, it seems with Python 3.12 (default for Ubuntu 24 Server) the distutils in general is depreciated. So there is no package for it, this has been totally replaced by setuptools in python 3.12.

As a result when pip tried to install the requirement for distutils.msvccompiler it doesn't exist, there should be something similar under setuptools.

@XeroZar
Copy link
Author

XeroZar commented Nov 20, 2024

So well there be a fix for this issue anytime soon?

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