Skip to content

Missing dependency: matplotlib #11

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
aron-bram opened this issue Feb 4, 2025 · 0 comments
Open

Missing dependency: matplotlib #11

aron-bram opened this issue Feb 4, 2025 · 0 comments

Comments

@aron-bram
Copy link
Contributor

Matplotlib seems to be missing from the list of dependencies.

As I got the following error after installing the package and trying to use it.

Traceback (most recent call last):
File "/home/baron/frei/graph-pfn/graph-pfn/src/train_pfn.py", line 88, in
from pfns.priors.prior import Batch
File "/home/baron/frei/graph-pfn/venv/lib64/python3.10/site-packages/pfns/priors/init.py", line 1, in
from . import fast_gp, nonmyopic_bo, utils, normalize_with_style, simple_mlp, hyperparameter_sampling, input_warping, hebo_prior, condition_on_area_of_opt
File "/home/baron/frei/graph-pfn/venv/lib64/python3.10/site-packages/pfns/priors/fast_gp.py", line 8, in
from .utils import get_batch_to_dataloader
File "/home/baron/frei/graph-pfn/venv/lib64/python3.10/site-packages/pfns/priors/utils.py", line 13, in
import matplotlib.pyplot as plt
ModuleNotFoundError: No module named 'matplotlib'

Shouldn't it be added to pyproject.toml dependencies?

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

No branches or pull requests

1 participant