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

ModuleNotFoundError: Linkify enabled but not installed. #32

Open
ihamer-tt opened this issue Aug 7, 2024 · 9 comments
Open

ModuleNotFoundError: Linkify enabled but not installed. #32

ihamer-tt opened this issue Aug 7, 2024 · 9 comments

Comments

@ihamer-tt
Copy link

ihamer-tt commented Aug 7, 2024

To reproduce:

  1. Download tt-smi from as suggested in the online docs: pip install git+https://github.com/tenstorrent/tt-smi
  2. Plain run it with tt-smi and push h for help

You get:

ModuleNotFoundError: Linkify enabled but not installed.
@sbansalTT
Copy link
Contributor

Hey Ivan, I can't seem to recreate the bug on any of my systems. I used the exact steps listed on 4 systems and they all worked.

Can you maybe try to upgrade your pip or use pip3 instead to download?
SMI doesn't use Linkify for anything so it shouldn't be a requirement.

Could you give me more details of your system?

@ihamer-tt
Copy link
Author

I am on bgd-lab-26
Docker container: ghcr.io/tenstorrent/tt-metal/tt-metalium/ubuntu-20.04-amd64:latest
pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)

@ihamer-tt
Copy link
Author

ihamer-tt commented Aug 7, 2024

On bgd-lab-t3002, it works (same docker), but installed in its own python_env. On lab-26, I did not use a venv.

@sbansalTT
Copy link
Contributor

I'll debug on lab-26 without venv and get back to you

@ihamer-tt
Copy link
Author

It's most likely docker image related, rather than lab-26: ghcr.io/tenstorrent/tt-metal/tt-metalium/ubuntu-20.04-amd64:latest

@marty1885
Copy link

I ran into the same issue when developing the tt-smi package for AUR. Please update the dependency list.

@warthog9
Copy link
Member

Ok doing pass through things @marty1885 @ihamer-tt do you have a way to verify that? Running on the most minimal system I can, and running with the pyproject.toml to build, it's pulling in the dependencies the way I'd expect - but it looks like linkify is coming in through some dependency below ours, so I'm confused why it would be missing in any context.

Only thing I can think of is some hermetic build issue possibly? @marty1885 was this reproducible on a minimal Arch system, I.E. if I can install one of those up quick and run an install should it fail?

@marty1885
Copy link

@warthog9 I can try replicating in docker/VM later. But I'm expected to be quite busy till next weekend. May you poke me if I forgot about this?

@warthog9
Copy link
Member

@marty1885 no rush, I'll leave this open and if I don't hear anything in I'll flag it back up :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants