getappmap / appmap-js

Client libraries for AppMap
49 stars 17 forks source link

AppMap Installer within IDE is not virtual environment aware #1923

Open petecheslock opened 4 months ago

petecheslock commented 4 months ago

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.

apotterri commented 4 months ago

@petecheslock this isn't a bug in appmap-python, is it? Looks like this issue belongs in appmap-js.

petecheslock commented 4 months ago

Ahh you are correct. I'll move it.