File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- # Use Python 3.11 specifically
2- FROM python:3.11 -slim
1+ # Use Python 3.10 specifically
2+ FROM python:3.10 -slim
33
44# Install system dependencies
55RUN apt-get update && apt-get install -y \
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ DO NOT USE THIS IN PRODUCTION!
3030
3131## Prerequisites
3232
33- - Python 3.11 (required - Python 3.13 has compatibility issues with some dependencies )
33+ - Python 3.10 (required for dependency compatibility)
3434- Node.js (v18 or higher)
3535- npm (Node Package Manager)
3636
@@ -45,7 +45,7 @@ cd python-learn_pastebin
45452 . Create and activate virtual environment:
4646``` bash
4747# Create virtual environment
48- python3.11 -m venv venv
48+ python3.10 -m venv venv
4949
5050# Activate virtual environment
5151# On macOS/Linux:
@@ -113,7 +113,7 @@ The application runs on port 3000 by default.
113113
114114If you encounter issues:
115115
116- 1 . ** Python version issues** : Ensure you're using Python 3.11. Python 3.13 has compatibility issues with current SQLAlchemy versions.
116+ 1 . ** Python version issues** : Ensure you're using Python 3.8+
1171172 . ** Installing Python 3.11** :
118118 - macOS:
` brew install [email protected] ` 119119 - Ubuntu: ` sudo apt install python3.11 python3.11-venv `
You can’t perform that action at this time.
0 commit comments