getappmap / getappmap/appmap-js

AppMap Installer within IDE is not virtual environment aware

Open
#1,923 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
53
Forks
18
Avg merge
3d 18h
Merged PRs (30d)
8

Description

Currently we require appmap to be installed in a virtual environment, per the manual install docs.

Screenshot 2024-07-29 at 1 34 54 PM

But if you run the appmap installed from the IDE it will install into your system's python pip packages. So if your python environment is currently setup and running inside of a virtual environment, installing AppMap using the IDE installer will make it appear that AppMap is not installed and thus the appmap-python command will not exist.

In this scenario I can easily solve this by running pip install --require-virtualenv appmap in my existing application virtual environment.

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.

Research direction

Start at the IDE installer entry point and reproduce the reported installation while a Python virtual environment is active. Trace which pip and environment are selected; done means AppMap is installed in the active virtual environment and the appmap-python command is available there.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, typescript
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.