Unable to initialize device PRN in Python

前端 未结 8 1322
盖世英雄少女心
盖世英雄少女心 2021-02-07 01:22

I attempt to run a python program and the following pops up in command prompt:

\"Unable to initialize device PRN\"

I should also mention that the program runs fi

8条回答
  •  渐次进展
    2021-02-07 01:58

    To fix this, add python.exe to system varible in your windows On Windows 10, go to Settings and search for Environment Click on Edit environment variables for your account Select Path and click the Edit button If the path to your Python.exe is not listed, click the New button Enter the path to your Python.exe application and click the OK button and restart the application

提交回复
热议问题