executorch 0.4.0: module 'executorch' has no attribute '__version__'
Open
Nobody has claimed this yet.
triaged
- Dominant language
- Python
- Stars
- 5k
- Forks
- 1.2k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 581
Description
🐛 Describe the bug
Unable to print package version. The issue is noticed when integrating executorch with Hugging Face optimum.
- pip install executorch
- python -c "import executorch; print(executorch.version)"
Traceback (most recent call last):
File "<string>", line 1, in <module>
AttributeError: module 'executorch' has no attribute '__version__'
Versions
executorch 0.4.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with the reported pip installation and Python command, then inspect how the installed executorch package exposes its version. Done means importing executorch and printing executorch.version succeeds for version 0.4.0 or the supported package version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100