Closed elpeter25 closed 1 year ago
The message seems to indicate that you are using a manual install of OctoPrint and what instructions/tool did you use to do so? Could you let me know what the base OS is for further troubleshooting? More than likely it's an upstream dependency missing.
That's correct. I'm using Ubuntu 18 as OS.
Linux version 4.15.0-196-generic (buildd@lcy02-amd64-018) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #207-Ubuntu SMP Thu Oct 27 21:24:58 UTC 2022
DISTRIB_ID=Ubuntu DISTRIB_RELEASE=18.04 DISTRIB_CODENAME=bionic DISTRIB_DESCRIPTION="Ubuntu 18.04.6 LTS"
The pip install error is a new thing that has recently come up. Mu understanding is that the next release of OctoPrint will resolve this issue, but I think it's just a matter of pip installing wheel from the venv folder. Not so certain about the older version of Ubuntu though. @paukstelis have you been seeing this with the install/deploy scripts?
Yes, this is a really a python version thing. I think 18.04 maxes out at 3.6 or 3.7 and OctoPrint now requires 3.8 (I think it is). install/deploy specifies Ubuntu20+ for this reason.
Yeah, OctoPrint is set for >=3.7 for python, so if 3.6 is what's there then that's a larger problem for sure. I see from the venv lines in the log above though that 3.7 is what Peter has installed.
Yeah, OctoPrint is set for >=3.7 for python, so if 3.6 is what's there then that's a larger problem for sure. I see from the venv lines in the log above though that 3.7 is what Peter has installed.
Yes it is indeed 3.7 python
Quick googling on the error indicates that possible running sudo apt-get install python3-dev
might fix the issue.
you may have to tell it the version though with sudo apt-get install python3.7-dev
.
and if neither of those help sudo apt-get install build-essential
may get you back in working order.
Quick googling on the error indicates that possible running
sudo apt-get install python3-dev
might fix the issue.
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-dev is already the newest version (3.6.7-1~18.04).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
you may have to tell it the version though with
sudo apt-get install python3.7-dev
.
That worked like a charm!!!
Thanks a bunch!!
Thank yo uso much @jneilliii for your time. It worked after installing python-dev with the correct version!!
Hi,
I'm trying to install the pluging and I'm having following error:
I'm using OctoPrint 1.8.6 and Python 3.7.15