Skip to content

Commit bcb2a20

Browse files
Maria DrambyanMaria Drambyan
authored andcommitted
changed python version to python10
1 parent 0ff94c9 commit bcb2a20

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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
55
RUN apt-get update && apt-get install -y \

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
4545
2. 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

114114
If 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+
117117
2. **Installing Python 3.11**:
118118
- macOS: `brew install [email protected]`
119119
- Ubuntu: `sudo apt install python3.11 python3.11-venv`
2 Bytes
Binary file not shown.
-7 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)