0

I am trying to activate a venv and then run a python script using a .sh or .cmd script.

so far ive got:

#! /bin/bash
cd venv
cd Scripts
activate.bat <- breaks here

cd v:
python test.py

however this doesn't work :( Ive searched online but I can only see solutions for linux.

venv to activate and python script to run.

dunc96
  • 1
  • 1
  • Does this answer your question? [How to activate virtual environment from Windows 10 command prompt](https://stackoverflow.com/questions/46896093/how-to-activate-virtual-environment-from-windows-10-command-prompt) – sahasrara62 Feb 07 '23 at 18:59
  • 3
    What do you mean by "breaks here"? Do you get an error message? Maybe you want to stick to Windows (write a batch file instead of a SH script). – Thomas Weller Feb 07 '23 at 18:59

0 Answers0