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

toml missing #292

Closed
jdegange opened this issue Aug 9, 2023 · 1 comment
Closed

toml missing #292

jdegange opened this issue Aug 9, 2023 · 1 comment

Comments

@jdegange
Copy link

jdegange commented Aug 9, 2023

Description

  • I now can't install in colab. Stack trace:
[/usr/local/lib/python3.10/dist-packages/quantus/__init__.py](https://localhost:8080/#) in <module>
      7 # Set the correct version.
      8 import toml
----> 9 package = toml.load("pyproject.toml")
     10 __version__ = package["project"]["version"]
     11 

[/usr/local/lib/python3.10/dist-packages/toml/decoder.py](https://localhost:8080/#) in load(f, _dict, decoder)
    131 
    132     if _ispath(f):
--> 133         with io.open(_getpath(f), encoding='utf-8') as ffile:
    134             return loads(ffile.read(), _dict, decoder)
    135     elif isinstance(f, list):

FileNotFoundError: [Errno 2] No such file or directory: 'pyproject.toml'

Steps to reproduce the behavior

  • Insert a description of the steps one needs to take to be able to reproduce the issue.
    • Step 1 Go to Colab
    • Step 2 Install from wheel or from git directly
    • Step 3 import quantus

Minimum acceptance criteria

-successful import

@aaarrti aaarrti mentioned this issue Aug 10, 2023
2 tasks
@annahedstroem
Copy link
Member

Thanks for highlighting. Fixed in https://github.com/understandable-machine-intelligence-lab/Quantus/releases/tag/v0.4.3.

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

2 participants