Unitech / Unitech/pm2

How to start python project on a python venv?

Open
#5,380 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
43.3k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

Hi I have several python projects that I want to manage with pm2 however they each have different requirements, some of which conflict. There's a simple solution to that... setting up a python venv (virtual environment). My issue is that I don't know how to tell pm2 start that it needs to look for the interpreter in a venv folder, I tried it and got told it couldn't access the interpreter files from the venv.

Contributor guide

Open the contributing guide

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.

Research direction

The issue names only the pm2 start command and a Python virtual-environment interpreter; no repository file or test is identified. Reproduce the reported setup, then document the supported invocation and verify that a project starts using its venv interpreter.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, python
Domain
cli, devtools
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.