Troubleshooting
Troubleshooting Dependencies
While setting up Peeps AI is designed to be straightforward, you might encounter issues related to dependencies or environment configurations. This guide provides detailed solutions to common problems, ensuring a smooth installation process.
❖ Python Version Issues
Problem: Peeps AI requires Python version >=3.10 and <3.13, but your system has a different version installed.
Solution:
⟐ Check your Python version:
⟐ If an incompatible version is detected, download and install the correct version from the official Python website.
⟐ If you have multiple Python versions installed, specify the correct one when running commands:
⟐ Update the PATH
environment variable to point to the correct Python installation.
❖ Missing or Outdated pip
Problem:
pip
is missing or outdated, causing dependency installation to fail.
Solution:
⟐ Upgrade pip
to the latest version:
⟐ If pip
is not found, reinstall it using:
❖ Dependency Build Errors
Problem:
Errors occur while building certain dependencies, such as tiktoken
or numpy
.
Solution:
⟐ Install a Rust Compiler Some dependencies require Rust to compile. Install Rust using:
For Windows, use the Rust Installer.
⟐ Ensure Compatible Build Tools
On Windows: Install Visual C++ Build Tools from Microsoft's website.
On Linux: Ensure
build-essential
is installed:On macOS: Install Xcode Command Line Tools:
⟐ Retry installing dependencies:
⟐ If the issue persists, use pre-built wheels:
❖ Virtual Environment Problems
Problem: Issues arise when activating or using a virtual environment.
Solution:
⟐ Ensure the virtual environment is activated before running any commands:
On Unix/Linux/macOS:
On Windows:
⟐ If activation fails, recreate the virtual environment:
⟐ Confirm that the virtual environment’s python
is being used:
The output should point to the virtual environment directory.
❖ Version Conflicts
Problem: Conflicting versions of dependencies cause errors during installation.
Solution:
⟐ Check installed versions of conflicting packages:
⟐ Manually upgrade or downgrade packages as needed:
⟐ To ensure a clean installation, uninstall problematic packages:
⟐ Reinstall dependencies:
❖ Git Clone or Repository Issues
Problem: Errors occur when cloning the PeepsAI repository.
Solution:
⟐ Verify that Git is installed and accessible:
If Git is not installed, download it from here.
⟐ Ensure the repository URL is correct:
⟐ If cloning fails, check your internet connection or try a different directory with write permissions.
⟐ If you suspect corruption in the cloned repository, delete the directory and clone again:
❖ Common Errors and Fixes
❖ Getting Help
If you’ve tried the above solutions and are still facing issues, you can:
Check the Peeps AI GitHub Issues for similar problems and fixes.
Join the Peeps AI community forums for support and discussions.
Contact the Peeps AI support team via email or Slack (details in the README).
Last updated