Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Install STAI From Source on Linux Mint (21.3) #34

Open
WarutaShinken opened this issue Feb 27, 2024 · 0 comments
Open

Can't Install STAI From Source on Linux Mint (21.3) #34

WarutaShinken opened this issue Feb 27, 2024 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@WarutaShinken
Copy link
Collaborator

Problem

Installing STAI from source on Linux Mint 21.3 results in the following errors:

  • E: Unable to locate package python3.9-venv
    E: Couldn't find any package by glob 'python3.9-venv'
    E: Couldn't find any package by regex 'python3.9-venv'
    
  • After resolving the first error:
    The virtual environment was not created successfully because ensurepip is not
    available.  On Debian/Ubuntu systems, you need to install the python3-venv
    package using the following command.
    
        apt install python3.10-venv
    
    You may need to use sudo with that command.  After installing the python3-venv
    package, recreate your virtual environment.
    
    Failing command: /path/to/stai-blockchain/venv/bin/python3.10
    

This appears to be due to the fact that Python 3.9 isn't available on Linux Mint 21.3.

Solution

Run these 2 commands, along with making sure your packages repos are up to date and git is installed. Each command resolves their respective error:

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.10-venv

This should be resolved in the next STAI update. Additionally, this update should also work for installing Chia 1.5.0, which STAI 1.3.1 is based on.

@WarutaShinken WarutaShinken added bug Something isn't working good first issue Good for newcomers labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant