This guide collects common MeadowPy setup, launch, editor, run, debug, lint, and AI problems.
Related docs:
MeadowPy writes startup, Qt, and shutdown errors to:
%USERPROFILE%\.meadowpy\meadowpy.log
If the window closes immediately, launch MeadowPy from a terminal so you can see terminal output too:
.venv\Scripts\python.exe -m meadowpySymptoms:
setup.batsays Python was not found.python --versionis not recognized.py -3 --versionis not recognized.
Fix:
- Install Python 3.11 or newer.
- Enable Add Python to PATH in the installer.
- Close and reopen Command Prompt or PowerShell.
- Run:
python --versionor:
py -3 --versionThen run setup.bat again.
Symptoms:
setup.batfinds Python but says MeadowPy requires 3.11 or newer.
Fix:
- Install Python 3.11 or newer.
- Confirm the new version:
py -3 --version- Run
setup.batagain.
Symptoms:
- Setup reports
Failed to create virtual environment. .venvis missing or incomplete.
Fix:
- Confirm Python itself works:
py -3 -c "import sys; print(sys.version)"- Make sure the MeadowPy folder is in a writable location.
- Run
setup.batagain.
If the folder is in a protected location, move it somewhere like Documents and retry.
Symptoms:
- Setup reports
Failed to install dependencies. - Dependency installation stops during
pip install.
Fix:
- Check your internet connection.
- Make sure antivirus or firewall software is not blocking Python.
- Run:
.venv\Scripts\python.exe -m pip install --upgrade pip- Run setup again:
setup.batIf the problem continues, try installing dependencies manually to see the full error:
.venv\Scripts\python.exe -m pip install -r meadowpy\requirements.txtSymptoms:
- The
.venvfolder exists but MeadowPy will not start. - Setup says it found a broken virtual environment.
- The project folder was moved after setup.
- The Python version used to create
.venvwas removed.
Fix:
Run:
setup.batThe setup script checks .venv\Scripts\python.exe and recreates .venv if it
cannot import sys.
Symptoms:
MeadowPy.lnkis missing after setup.- Setup reports that shortcut creation failed.
Fix:
Launch MeadowPy with:
Run MeadowPy.bat
or from a terminal:
.venv\Scripts\python.exe -m meadowpyShortcut creation uses PowerShell and Windows Script Host. If either is blocked by policy, the app can still run without the shortcut.
Symptoms:
- Double-clicking the shortcut does nothing.
- The window flashes and disappears.
Run MeadowPy.batcloses quickly.
Fix:
- Open Command Prompt or PowerShell in the project folder.
- Run:
.venv\Scripts\python.exe -m meadowpy- Read the terminal output.
- Check:
%USERPROFILE%\.meadowpy\meadowpy.log
- Run
setup.batagain if dependencies appear missing.
Symptoms:
- Panels are missing.
- Docks are in strange positions.
- Layout does not match expected defaults.
Fix:
Use:
View > Reset Layout
MeadowPy restores its default dock layout without closing open files.
Symptoms:
- MeadowPy says a file cannot be opened in the text editor.
- A file appears disabled or blocked in the File Explorer.
Cause:
MeadowPy's editor is for readable text files. It rejects known binary and office document types such as images, executables, PDFs, Word documents, PowerPoint files, Excel files, archives, and compiled Python files.
Fix:
- Open text files such as
.py,.txt,.md,.csv,.json,.toml,.ini,.yaml,.yml, or.log. - Use the original application for binary or office document files.
Symptoms:
- MeadowPy warns that a file is larger than the 10 MB safeguard.
Cause:
Large text files can slow editing, linting, symbol parsing, and AI context.
Fix:
- Choose Cancel if you opened the wrong file.
- Choose Open Anyway if you only need basic text editing.
Large-file mode disables heavier analysis for that tab.
Symptoms:
- The Run button cannot be clicked.
- Run menu items are disabled.
Likely causes:
- No editor tab is active.
- The active tab is not a code editor.
- The saved file extension is not
.pyor.pyw. - A process or debug session is already running.
Fix:
- Open or save the file as
.py. - Stop any running process with
Ctrl+F5. - Try
F5again.
Unsaved tabs are treated as Python until saved with a different extension.
Symptoms:
- The program is waiting at
input(). - No new output appears.
Fix:
- Click the input line in the Output panel.
- Type the requested input.
- Press Enter.
When a script is running, the Output input line sends text to the running process's stdin.
Symptoms:
- Output panel reports
Failed to start - check interpreter path.
Fix:
- Open File > Preferences > Execution.
- Clear the interpreter path to let MeadowPy auto-detect Python, or enter a
valid
python.exepath. - Save preferences.
- Run again.
You can also use Run > Select Interpreter....
Symptoms:
- The Problems panel shows a linter install error.
- No lint results appear for Python files.
Fix:
- Run setup again:
setup.bat- Confirm dependencies:
.venv\Scripts\python.exe -m pip show flake8 pylint- Check File > Preferences > Linting.
- Make sure linting is enabled.
- Make sure the current file is a
.pyor.pywfile.
Linting is disabled for large-file mode.
Symptoms:
- Debugging starts, but breakpoints are ignored.
Checklist:
- Save the file as
.pyor.pyw. - Put the breakpoint on an executable line.
- Start debugging with
F6, not normal run withF5. - Make sure the breakpoint marker is visible before starting.
- If breakpoints changed during a live session, MeadowPy sends updated breakpoints to the active debug helper automatically.
Some non-code lines may snap to the next valid statement in the editor.
Symptoms:
- Debug output reports that the debug process failed to start.
- Python console reports that it failed to start.
Fix:
- Check the selected interpreter in File > Preferences > Execution.
- Clear the interpreter path to use auto-detection.
- Confirm the interpreter exists and runs:
"C:\Path\To\python.exe" --version- Restart MeadowPy.
Symptoms:
- Search panel says to open a folder.
- Search returns no matches you expected.
Fix:
- Open a folder with
Ctrl+Shift+K. - Confirm the Search panel scope label points to the expected folder.
- Disable regex if you are searching plain text.
- Disable Match Case if casing may differ.
- Remember that search skips hidden/build folders, binary-like suffixes, and files larger than 2 MB.
Symptoms:
- AI chat reports no model is selected.
Fix:
- Open AI > Setup/check Ollama....
- Click Check Now.
- Select a model.
- Click Use Selected Model or Save Settings.
Symptoms:
- AI chat reports
Ollama is not connected. - Status bar shows Ollama offline.
Fix:
- Start Ollama.
- Confirm the API URL:
http://localhost:11434
- Open AI > Setup/check Ollama....
- Click Check Now.
If you intentionally use a remote Ollama-compatible endpoint, verify that the custom URL is reachable from this machine.
Symptoms:
- The setup dialog can reach Ollama.
- The model list is empty.
Fix:
Install a model with Ollama:
ollama pull <model-name>Then return to MeadowPy and click Check Now.
Symptoms:
- MeadowPy says full-file AI review is disabled for large files.
Cause:
The file was opened in large-file mode.
Fix:
- Select a smaller section and use Explain this code.
- Open a smaller file for full-file review.
Symptoms:
dev\Run Tests.batsays MeadowPy has not been set up for development.pytestis missing.
Fix:
Run:
dev\setup-dev.bator:
setup.bat --devThen run:
dev\Run Tests.batSee Testing for details.