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

Could not import OctoPrint's setuptools #45

Closed
narcolepsyboy opened this issue Sep 27, 2023 · 4 comments
Closed

Could not import OctoPrint's setuptools #45

narcolepsyboy opened this issue Sep 27, 2023 · 4 comments

Comments

@narcolepsyboy
Copy link

narcolepsyboy commented Sep 27, 2023

Hi there,

Hope you can help. I am a newbie to octoprint, I have just installed the latest version of it and would like to install your scheduler but am getting the below. Apologies if it's obvious!

OctoPrint 1.9.2 Python 3.9.2 OctoPi* 1.0.0 (build 2023.07.20.144556) on a Pi Zero W 2

sudo pip install "https://github.com/jneilliii/OctoPrint-PrintScheduler/archive/master.zip"
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting https://github.com/jneilliii/OctoPrint-PrintScheduler/archive/master.zip
Downloading https://github.com/jneilliii/OctoPrint-PrintScheduler/archive/master.zip
/ 225 kB 403 kB/s
ERROR: Command errored out with exit status 255:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-mq77wcmm/setup.py'"'"'; file='"'"'/tmp/pip-req-build-mq77wcmm/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-ajkc5g4p
cwd: /tmp/pip-req-build-mq77wcmm/
Complete output (1 lines):
Could not import OctoPrint's setuptools, are you sure you are running that under the same python installation that OctoPrint is installed under?
----------------------------------------
WARNING: Discarding https://github.com/jneilliii/OctoPrint-PrintScheduler/archive/master.zip. Command errored out with exit status 255: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 255: python setup.py egg_info Check the logs for full command output.

An issue with my python version? I have upgraded and updated the OS.

Many thanks :)

@jneilliii
Copy link
Owner

sudo pip install "https://github.com/jneilliii/OctoPrint-PrintScheduler/archive/master.zip"

This looks wrong. Why are you trying to manually install from command line as sudo?

@narcolepsyboy
Copy link
Author

narcolepsyboy commented Sep 28, 2023 via email

@jneilliii
Copy link
Owner

I need the original errors from the attempts installing from GUI. Please upload the octoprint.log and plugin manager console log.

@narcolepsyboy
Copy link
Author

narcolepsyboy commented Sep 29, 2023 via email

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

2 participants