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

I can't install it anymore. #81

Closed
acguardia opened this issue Jul 16, 2021 · 18 comments
Closed

I can't install it anymore. #81

acguardia opened this issue Jul 16, 2021 · 18 comments
Labels
duplicate This issue or pull request already exists support how-to or assistance with operation

Comments

@acguardia
Copy link

acguardia commented Jul 16, 2021

pi@octobox:~$ pip install "https://github.com/jneilliii/OctoPrint-PrusaSlicerThumbnails/archive/refs/tags/1.0.0.zip"
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Collecting https://github.com/jneilliii/OctoPrint-PrusaSlicerThumbnails/archive/refs/tags/1.0.0.zip
Downloading https://github.com/jneilliii/OctoPrint-PrusaSlicerThumbnails/archive/refs/tags/1.0.0.zip
| 239 kB 204 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-foSBMC/setup.py'"'"'; file='"'"'/tmp/pip-req-build-foSBMC/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-F6DCoJ
cwd: /tmp/pip-req-build-foSBMC/
Complete output (3 lines):
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named setuptools
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

@jneilliii
Copy link
Owner

could you please share your otoprint.log and plugin_pluginmanager_console.log? You can drag them into a comment here.

@bjwest
Copy link

bjwest commented Jul 17, 2021

I'm getting the same thing. Here are my logs:

octoprint.log
plugin_pluginmanager_console.log

I've been using my Raspberry Pi for something else and just got a new one. I inserted the OctoPi SD card, immediately updated to 1.6.1 and got this error afterwards. I rebooted and got a notification that PrusaSlicer Thumbnails: 1.0.0 was ready to update and received the error again when I tried to upgrade it.

@jneilliii
Copy link
Owner

@bjwest can you share your plugin_softwareupdate_console.log as well please?

@bjwest
Copy link

bjwest commented Jul 18, 2021

Sure thing.
plugin_softwareupdate_console.log

@jneilliii
Copy link
Owner

@njwest, I think I see the issue for you. try copying/pasting this URL directly in Plugin Manager > Get More > ...from URL.

https://github.com/jneilliii/OctoPrint-PrusaSlicerThumbnails/archive/refs/tags/1.0.0.zip

@bjwest
Copy link

bjwest commented Jul 19, 2021

Thank you jneilliii, that worked.

@nysports
Copy link

I keep trying to install and get the below followed by "Installing Unknow":

2021-07-23 02:58:19,472 /home/pi/OctoPrint/venv/bin/python3 -m pip --disable-pip-version-check install file:///tmp/tmp8m0zqfxg/OctoPrint-PrusaSlicerThumbnails-master.zip --no-cache-dir
2021-07-23 02:58:22,914 > Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
2021-07-23 02:58:22,915 > Processing /tmp/tmp8m0zqfxg/OctoPrint-PrusaSlicerThumbnails-master.zip
2021-07-23 02:58:22,916 > Requirement already satisfied: OctoPrint in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from Slicer-Thumbnails==1.0.0) (1.6.1)
2021-07-23 02:58:22,917 > Requirement already satisfied: Pillow in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from Slicer-Thumbnails==1.0.0) (8.2.0)
2021-07-23 02:58:22,917 > Requirement already satisfied: Click<8,>=7.1.2 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (7.1.2)
2021-07-23 02:58:22,917 > Requirement already satisfied: Flask-Assets<3,>=2.0 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (2.0)
2021-07-23 02:58:22,917 > Requirement already satisfied: Flask-Babel<2,>=1.0 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (1.0.0)
2021-07-23 02:58:22,917 > Requirement already satisfied: Flask-Login<0.6,>=0.5 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (0.5.0)
2021-07-23 02:58:22,917 > Requirement already satisfied: Jinja2<3,>=2.11.2 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (2.11.2)
2021-07-23 02:58:22,917 > Requirement already satisfied: OctoPrint-FileCheck>=2021.2.23 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (2021.2.23)
2021-07-23 02:58:22,918 > Requirement already satisfied: OctoPrint-FirmwareCheck>=2021.2.4 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (2021.5.31)
2021-07-23 02:58:22,918 > Requirement already satisfied: OctoPrint-PiSupport>=2021.3.26 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (2021.6.14)
2021-07-23 02:58:22,918 > Requirement already satisfied: PyYAML<6,>=5.3.1 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (5.4.1)
2021-07-23 02:58:22,918 > Requirement already satisfied: blinker<2,>=1.4 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (1.4)
2021-07-23 02:58:22,918 > Requirement already satisfied: cachelib<1,>=0.1 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (0.1.1)
2021-07-23 02:58:22,918 > Requirement already satisfied: emoji<1,>=0.5.4 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (0.6.0)
2021-07-23 02:58:22,919 > Requirement already satisfied: filetype<2,>=1.0.7 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (1.0.7)
2021-07-23 02:58:22,919 > Requirement already satisfied: flask<2,>=1.1.2 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (1.1.2)
2021-07-23 02:58:22,919 > Requirement already satisfied: future<1,>=0.18.2 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (0.18.2)
2021-07-23 02:58:22,919 > Requirement already satisfied: itsdangerous<2,>=1.1.0 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (1.1.0)
2021-07-23 02:58:22,919 > Requirement already satisfied: markdown<3.2,>=3.1 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (3.1.1)
2021-07-23 02:58:22,919 > Requirement already satisfied: markupsafe<2.0,>=1.1 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (1.1.1)
2021-07-23 02:58:22,919 > Requirement already satisfied: netaddr<1,>=0.7.19 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (0.8.0)
2021-07-23 02:58:22,919 > Requirement already satisfied: netifaces<1,>=0.10.9 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (0.10.9)
2021-07-23 02:58:22,920 > Requirement already satisfied: pkginfo<2,>=1.5.0.1 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (1.7.0)
2021-07-23 02:58:22,920 > Requirement already satisfied: psutil<6,>=5.7 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (5.8.0)
2021-07-23 02:58:22,920 > Requirement already satisfied: pylru<2,>=1.2 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (1.2.0)
2021-07-23 02:58:22,920 > Requirement already satisfied: pyserial<4,>=3.4 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (3.5)
2021-07-23 02:58:22,920 > Requirement already satisfied: regex!=2018.11.6 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (2020.11.13)
2021-07-23 02:58:22,920 > Requirement already satisfied: requests<3,>=2.23.0 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (2.25.1)
2021-07-23 02:58:22,920 > Requirement already satisfied: sarge==0.1.5post0 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (0.1.5.post0)
2021-07-23 02:58:22,921 > Requirement already satisfied: semantic_version<3,>=2.8.5 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (2.8.5)
2021-07-23 02:58:22,921 > Requirement already satisfied: sentry-sdk<1,>=0.15.1 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (0.19.5)
2021-07-23 02:58:22,921 > Requirement already satisfied: tornado==5.1.1 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (5.1.1)
2021-07-23 02:58:22,921 > Requirement already satisfied: unidecode<0.05,>=0.04.14 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (0.4.21)
2021-07-23 02:58:22,921 > Requirement already satisfied: watchdog==0.10.4 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (0.10.4)
2021-07-23 02:58:22,921 > Requirement already satisfied: websocket-client<1,>=0.57 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (0.57.0)
2021-07-23 02:58:22,921 > Requirement already satisfied: werkzeug<2,>=1.0.1 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (1.0.1)
2021-07-23 02:58:22,921 > Requirement already satisfied: wrapt<2,>=1.12.1 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (1.12.1)
2021-07-23 02:58:22,922 > Requirement already satisfied: zipstream-new<1.2,>=1.1.8 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (1.1.8)
2021-07-23 02:58:22,922 > Requirement already satisfied: feedparser<7,>=6.0.2 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (6.0.2)
2021-07-23 02:58:22,922 > Requirement already satisfied: immutabledict<2,>=1.2.0 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (1.3.0)
2021-07-23 02:58:22,922 > Requirement already satisfied: zeroconf<0.25,>=0.24 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from OctoPrint->Slicer-Thumbnails==1.0.0) (0.24.5)
2021-07-23 02:58:22,922 > Requirement already satisfied: pathtools>=0.1.1 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from watchdog==0.10.4->OctoPrint->Slicer-Thumbnails==1.0.0) (0.1.2)
2021-07-23 02:58:22,922 > Requirement already satisfied: sgmllib3k in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from feedparser<7,>=6.0.2->OctoPrint->Slicer-Thumbnails==1.0.0) (1.0.0)
2021-07-23 02:58:22,922 > Requirement already satisfied: webassets>=2.0 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from Flask-Assets<3,>=2.0->OctoPrint->Slicer-Thumbnails==1.0.0) (2.0)
2021-07-23 02:58:22,922 > Requirement already satisfied: Babel>=2.3 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from Flask-Babel<2,>=1.0->OctoPrint->Slicer-Thumbnails==1.0.0) (2.9.0)
2021-07-23 02:58:22,922 > Requirement already satisfied: pytz in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from Flask-Babel<2,>=1.0->OctoPrint->Slicer-Thumbnails==1.0.0) (2020.5)
2021-07-23 02:58:22,923 > Requirement already satisfied: setuptools>=36 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from markdown<3.2,>=3.1->OctoPrint->Slicer-Thumbnails==1.0.0) (40.8.0)
2021-07-23 02:58:22,923 > Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from requests<3,>=2.23.0->OctoPrint->Slicer-Thumbnails==1.0.0) (1.26.3)
2021-07-23 02:58:22,923 > Requirement already satisfied: chardet<5,>=3.0.2 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from requests<3,>=2.23.0->OctoPrint->Slicer-Thumbnails==1.0.0) (4.0.0)
2021-07-23 02:58:22,923 > Requirement already satisfied: certifi>=2017.4.17 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from requests<3,>=2.23.0->OctoPrint->Slicer-Thumbnails==1.0.0) (2020.12.5)
2021-07-23 02:58:22,923 > Requirement already satisfied: idna<3,>=2.5 in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from requests<3,>=2.23.0->OctoPrint->Slicer-Thumbnails==1.0.0) (2.10)
2021-07-23 02:58:22,923 > Requirement already satisfied: six in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from websocket-client<1,>=0.57->OctoPrint->Slicer-Thumbnails==1.0.0) (1.15.0)
2021-07-23 02:58:22,923 > Requirement already satisfied: ifaddr in /home/pi/OctoPrint/venv/lib/python3.7/site-packages (from zeroconf<0.25,>=0.24->OctoPrint->Slicer-Thumbnails==1.0.0) (0.1.7)
2021-07-23 02:58:22,923 > Using legacy 'setup.py install' for Slicer-Thumbnails, since package 'wheel' is not installed.
2021-07-23 02:58:22,924 > Installing collected packages: Slicer-Thumbnails
2021-07-23 02:58:22,924 > Attempting uninstall: Slicer-Thumbnails
2021-07-23 02:58:22,924 > Found existing installation: Slicer-Thumbnails 1.0.0
2021-07-23 02:58:22,924 > Uninstalling Slicer-Thumbnails-1.0.0:
2021-07-23 02:58:22,924 > Successfully uninstalled Slicer-Thumbnails-1.0.0
2021-07-23 02:58:22,924 > Running setup.py install for Slicer-Thumbnails: started
2021-07-23 02:58:23,425 > Running setup.py install for Slicer-Thumbnails: finished with status 'done'
2021-07-23 02:58:23,426 > Successfully installed Slicer-Thumbnails-1.0.0

@jneilliii
Copy link
Owner

can you share your octoprint.log @nysports, because the install states successful. I think this issue is dependency related.

@jneilliii jneilliii added the support how-to or assistance with operation label Jul 23, 2021
@njwest
Copy link

njwest commented Jul 24, 2021

@njwest, I think I see the issue for you. try copying/pasting this URL directly in Plugin Manager > Get More > ...from URL.

https://github.com/jneilliii/OctoPrint-PrusaSlicerThumbnails/archive/refs/tags/1.0.0.zip

wrong username, i'm njwest, you're looking for bjwest

@bjwest
Copy link

bjwest commented Jul 24, 2021

@njwest

wrong username, i'm njwest, you're looking for bjwest

No worries. I didn't even notice the wrong username and followed the instructions anyway. Worked like a charm.

@nysports
Copy link

nysports commented Aug 1, 2021

can you share your octoprint.log @nysports, because the install states successful. I think this issue is dependency related.

Sorry for the delayed response. I was away. Log attached.
octoprint.log

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had activity in 14 days. It will be closed if no further activity occurs in 7 days

@github-actions github-actions bot added the stale issues without activity label Aug 16, 2021
@jneilliii
Copy link
Owner

ImportError: libopenjp2.so.7: cannot open shared object file: No such file or directory

#78 (comment)

@jneilliii jneilliii added duplicate This issue or pull request already exists and removed stale issues without activity labels Aug 16, 2021
@nysports
Copy link

Hey @jneilliii wondering if you saw this. Appreciate your help.

can you share your octoprint.log @nysports, because the install states successful. I think this issue is dependency related.

Sorry for the delayed response. I was away. Log attached.
octoprint.log

@jneilliii
Copy link
Owner

I posted a link to another issue with the fix for your problem.

@nysports
Copy link

I posted a link to another issue with the fix for your problem.

@jneilliii Still no luck. I've attached an updated log
octoprint.log

BTW, really appreciate your help

@jneilliii
Copy link
Owner

jneilliii commented Aug 27, 2021

Ok, looks like after installing that it is missing another dependency.

ImportError: libtiff.so.5: cannot open shared object file: No such file or directory

so try this command via SSH...and then restart OctoPrint.

sudo apt install libtiff5

I also noticed you are getting numpy errors with bedlevelvisualizer. You might want to upgrade that plugin to the latest stable version, which removes the numpy dependency.

@nysports
Copy link

Hey, success! Really nice of you to help. I appreciate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists support how-to or assistance with operation
Projects
None yet
Development

No branches or pull requests

5 participants