Skip to content

Python bip32 dependency is failing to install #178

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

Open
epiccurious opened this issue May 29, 2024 · 2 comments
Open

Python bip32 dependency is failing to install #178

epiccurious opened this issue May 29, 2024 · 2 comments

Comments

@epiccurious
Copy link
Contributor

epiccurious commented May 29, 2024

Running Yeti 3 from the head of master on a fresh install of Ubuntu 20, 22, and 24 LTS is currently broken.

Pastebin for Ubuntu 20 LTS: pastebin.com/4NwFU2q5
Pastebin for Ubuntu 22 LTS: pastebin.com/Mj4zc1ra
Pastebin for Ubuntu 24 LTS: pastebin.com/fDP72QKX

On Ubuntu 20 and 22, apt-get is failing to install pip, which is causing flask to fail:

E: Package 'python3-pip' has no installation candidate
E: Package 'tor' has no installation candidate
E: Package 'brasero' has no installation candidate
...
********************
Running Yeti Level Three on Primary PC
********************
 
Traceback (most recent call last):
  File "/home/ubuntu/yeticold/appyeticold.py", line 5, in <module>
    from btcrpcfunctions import blockheight
  File "/home/ubuntu/yeticold/utils/btcrpcfunctions.py", line 1, in <module>
    from imports import *
  File "/home/ubuntu/yeticold/utils/imports.py", line 1, in <module>
    from flask import Flask, render_template, redirect, url_for, request
ModuleNotFoundError: No module named 'flask'
ubuntu@ubuntu:~$ [GFX1-]: glxtest: VA-API test failed: missing or old libva-drm library.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.

On Ubuntu 24, apt-get is throwing this error multiple times:

Processing triggers for libc-bin (2.39-0ubuntu8) ...
error: externally-managed-environment
 
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
@epiccurious
Copy link
Contributor Author

The externally managed environment was fixed with someone adding this to three.yeticold.com

python3 -m venv ~/my_env && source ~/my_env/bin/activate && 

But there's still another issue - the bip32 pip module isn't installing because the version 3.1 doesn't exist in the pip repository. Here are the failure logs..

The fix for the bip32 issue is to bump the version to 3.4, which is the default for pip install bip32.

@epiccurious
Copy link
Contributor Author

Reducing the scope of this ticket to just bip32 issues, since the venv stuff was worked on on the yetihosted repo.

@epiccurious epiccurious changed the title Failing on fresh Ubuntu installs due to missing dependencies Failing due to bip32 dependency failing to install Jun 28, 2024
@epiccurious epiccurious changed the title Failing due to bip32 dependency failing to install Python bip32 dependency is failing to install Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant