for the
1. make sure that your scripts have the same py version as your venv, or make sure that there's compatibility between the interpreters used for the scripts and the interpreter in the venv.
2. github codesapces?? although ive never extensively tried them myself, but it might work.