Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add environment activation command to diagnostics #71

Merged
merged 2 commits into from
Nov 6, 2024
Merged

Conversation

shapiromatron
Copy link
Collaborator

@shapiromatron shapiromatron commented Nov 5, 2024

Add new configuration to the BMDS Desktop Manager so that the diagnostic information attempts to show the command to activate your virtual/conda environment, if it's able to detect the environment.

As an example:

--------------------------------
      BMDS Desktop Manager
--------------------------------

1) Start BMDS Desktop
2) Update BMDS Desktop
2p) Update BMDS Desktop (prerelease - EPA VPN required)
3) Show diagnostic information

Enter a number above, or q to quit: 3

Diagnostic Installation Information:
------------------------------------

Python Version:
Python 3.12.4 (tags/v3.12.4:8e8a4ba, Jun  6 2024, 19:30:16) [MSC v.1940 64 bit (AMD64)]

Python Path:
C:\Users\username\dev\bmds-ui\venv\Scripts\python.exe

To activate your environment, open a new terminal and run:
C:\Users\username\dev\bmds-ui\venv\Scripts\activate

@shapiromatron shapiromatron changed the title try to detect enviro add environment activation command to diagnostics Nov 6, 2024
@shapiromatron shapiromatron merged commit f1d4b4f into main Nov 6, 2024
3 checks passed
@shapiromatron shapiromatron deleted the show-venv2 branch November 6, 2024 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant