Python virtual environment for ZOAU Python APIs #54
-
Having an issue activating a virtual environment. $ cd /newco/zopentools/my_env $ python3 -m venv env $ ls -l env $ cat env/pyvenv.cfg $ ls -l env/bin $ source env/bin/activate |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If you're not in the bash shell, you'll find that the source command is missing. The
There is almost certain a way to get this sorted with z/OS shell, but I'd defer to someone much smarter than myself on the right way to do this... |
Beta Was this translation helpful? Give feedback.
If you're not in the bash shell, you'll find that the source command is missing. The
activate
script seems to want you to use bash, for some reason (at least mine does in the top 2 lines):There is almost certain a way to get this sorted with z/OS shell, but I'd defer to someone much smarter than myself on the right way to do this...