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

dataclasses not installed by pip #3

Closed
Masterchef365 opened this issue Jul 1, 2020 · 3 comments
Closed

dataclasses not installed by pip #3

Masterchef365 opened this issue Jul 1, 2020 · 3 comments

Comments

@Masterchef365
Copy link

Installed via pip3 install --user gay, then ran gay -h | gay and got the following trace:

Traceback (most recent call last):
  File "/home/duncan/.local/bin/gay", line 6, in <module>
    from dataclasses import dataclass
ModuleNotFoundError: No module named 'dataclasses'
Traceback (most recent call last):
  File "/home/duncan/.local/bin/gay", line 6, in <module>
    from dataclasses import dataclass
ModuleNotFoundError: No module named 'dataclasses'

So I went ahead and installed dataclasses with pip3 install --user dataclasses, which fixed it.

@ms-jpq
Copy link
Owner

ms-jpq commented Jul 2, 2020

Ohh, are you on python version < 3.7?

I thought they were EOL already?

I can either rewrite the code to not use dataclasses or add a line to README.

Idk how many people still use EOL python tho

@Masterchef365
Copy link
Author

I'm using Python 3.6.9, as it's the version that Ubuntu 18.04 LTS ships with

@ms-jpq
Copy link
Owner

ms-jpq commented Jul 2, 2020

Thanks, I thought 18.04 came with python 3.7.

I took out the dep in this commit 3c0b4c0

Gonna release it with a new interpolation mode later today

@ms-jpq ms-jpq closed this as completed Jul 2, 2020
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