Installation
version 2.1.0
Requirements
Before installing PyPotteryInk, make sure you have:
- Python 3.12 installed on your system
We recommend using the PyPottery Suite Launcher for a simplified installation experience. The launcher handles all dependencies automatically and lets you manage all PyPottery tools from a single interface.
Automated Installation
Automated installation is the quickest and easiest way to get PyPotteryInk running. The provided scripts will:
- ✅ Create a Python virtual environment
- ✅ Automatically install all dependencies
- ✅ Start the application
Windows
Double click on the PyPotteryInk_WIN.bat file.
The script will automatically perform the following steps:
- Check for Python on the system
- Create the
.venvvirtual environment (if it doesn’t exist) - Activate the virtual environment
- Install/upgrade pip
- Install dependencies from
requirements.txt - Start the Flask server at
http://localhost:5003
On first run, dependency installation may take a few minutes. Subsequent runs will be much faster!
Linux / macOS
- Open the Terminal in the project directory
- Make the script executable (first time only):
chmod +x PyPotteryInk_UNIX.sh- Run the script:
./PyPotteryInk_UNIX.shThe script will automatically:
- Check for Python 3 on the system
- Create the
.venvvirtual environment (if it doesn’t exist) - Activate the virtual environment
- Install/upgrade pip
- Install dependencies from
requirements.txt - Start the Flask server at
http://127.0.0.1:5003
To stop the server, press Ctrl+C in the terminal.
Manual Installation
If you prefer full control over the installation process, you can follow these manual steps:
1. Create a Virtual Environment
It is strongly recommended to use a virtual environment to isolate project dependencies:
python -m venv .venv
.venv\Scripts\activatepython3 -m venv .venv
source .venv/bin/activate2. Upgrade pip
Upgrade pip to the latest available version:
python -m pip install --upgrade pip3. Install Dependencies
Install all required dependencies from the requirements.txt file:
pip install -r requirements.txtMake sure you are in the project’s root directory where the requirements.txt file is located.
4. Start the Application
Once installation is complete, start the application with:
python app.pyThe application will be available at:
http://localhost:5003
Installation Verification
To verify that everything was installed correctly:
- The application should start without errors
- You should see a confirmation message in the terminal
- Opening your browser at
http://localhost:5003should display the PyPotteryInk interface
Troubleshooting
Python not found
If you receive an error indicating that Python is not installed:
- Windows: Download Python from python.org and make sure to check “Add Python to PATH” during installation
- Linux: Install Python using your distribution’s package manager (e.g.,
sudo apt install python3) - macOS: Install Python via Homebrew with
brew install python3
Dependency installation errors
If dependency installation fails:
- Make sure you have an active internet connection
- Try upgrading pip:
python -m pip install --upgrade pip - Install dependencies one at a time to identify which package is causing issues
Port 5003 already in use
If port 5003 is already occupied by another application, you can:
- Close the application using the port
- Or modify the port in the
app.pyfile
Updating
To update PyPotteryInk to the latest version:
- Download the latest version of the code
- Activate the virtual environment
- Update dependencies:
pip install -r requirements.txt --upgrade