Setting up OctoPrint on Windows

Had the same problem today.
Check your version of Python, it should be between 3.7 and 3.9 (I have 3.9 and it works).
If that doesn't fix it have a look at your Visual Studio settings.
Hopefully, this helps.

HI I am getting an error when trying to run with octoprint serve it says ImportError: cannot import name 'formatargspec' from 'inspect' (C:\Program Files\Python311\Lib\inspect.py) what does this mean and how can I fix it.

OctoPrint is not yet compatible with Python 3.11, as pointed out at the beginning of this guide:

It will be soon, however: Compatibility with Python 3.11 Β· Issue #4488 Β· OctoPrint/OctoPrint Β· GitHub

1 Like

do you think it could be the fact that im on windows 11 or that im on py 3.10.9

The error message shows you are using Python 3.11.

i am having trouble connecting my cr-10 smart to octoprint. Do you need a pi if you installed it on windows

For anyone with issues connecting to a Prusa MK3 over USB cable, try the following settings

In printer: RPI Port: OFF
In Octoprint:
COM port: Manually select
BAUD rate: AUTO

how are you connecting your PC to the printer? CR-10 Smart requires modding the hardware to connect to USB.