Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Running Invoke outside a project's directory (but within a venv)

Open
#863 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
cli

Research direction

No files, tests, or entry points are named. First reproduce running Invoke from outside a project while a virtual environment is active, then inspect how the tasks module or package is discovered. Done would require a defined and tested way to support this use case, or clear documentation that it is not supported.

Written by the indexing model from the issue text.

Description

Invokes needs a "tasks" module or package definition, so it makes sense that it should only run from the project's root directory.

My goal is to be able to use Invoke from any directory on my PC. I would need to activate a virtual environment first, of course.

Is this possible?

Dominant language
Python
Stars
4.8k
Forks
412
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 pyinvoke/invoke

All issues in pyinvoke/invoke

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.