getappmap / getappmap/appmap-js

pip installation failed during env. confirmation because python command not found

Open
#407 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

As reported by Chris Wood in VSCode Marketplace:

I had some problems using this with flask. When installing the app agent it said I needed a requirements file which was easy enough to supply from pip. But after that I got the following...

Project type: pip
Project directory: /var/partapi
Python version: python failed with code Error: An error occurred while running the command: python --version
> python --version was not found. Verify the .... and try again.

Which I guessed just needs a symlink on my end from python to python3, but at this point i kind of lost interest to be honest. I am sure it is a great app I just wanted to point out my experience to maybe help streamline things.

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 by tracing the environment confirmation path for pip projects and the entry point that runs python --version; reproduce the failure in an environment where only python3 is available. Done means the confirmation handles this common command mismatch or reports a clear, actionable error, with a regression test if the existing test structure supports it.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.