'livereload' is a package and cannot be directly executed

Open
#283 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
python
Domain
cli

Research direction

Start by reproducing python -m livereload . with Python 3.11 and inspect how the livereload package exposes its command-line entry point. The issue does not name any files or tests, so trace the package startup path first; done means the reported livereload.__main__ error is resolved for this invocation.

Written by the indexing model from the issue text.

Description

I get the following error when trying to run python -m livereload .:

C:\Python311\python.exe: No module named livereload.__main__; 'livereload' is a package and cannot be directly executed
Dominant language
Python
Stars
1.1k
Forks
146
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from lepture/python-livereload

All issues in lepture/python-livereload

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.