Page 2 of 2

Re: Python virtual environments - solved

Posted: Mon Mar 25, 2024 9:53 pm
by madx86
I am creating a virtual env on a ODS-5 disk with SPECIAL files enabled but I am still getting this error , any suggestions on how to resolve this :roll:

Code: Select all

node1>python -m venv t3
Error: Command '['/PYTHON/USER1/PY/t3/bin/python.exe', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.

node1>show dev python /full
*
*
 Volume Status:  ODS-5, subject to mount verification, write-through XFC
      caching enabled, write-back XQP caching enabled, special files enabled.
*
*

node1>sh sys/noproc/full
OpenVMS V8.4-2L1  on node node1   25-MAR-2024 18:48:59.97   Uptime  10 04:41:26
        HP BL890c i4  (2.53GHz/32.0MB)
		

node1>python
Python 3.10.0 (default, Oct 17 2022, 09:12:23) [C] on OpenVMS
Type "help", "copyright", "credits" or "license" for more information.
>>>


Re: Python virtual environments - solved

Posted: Tue Mar 26, 2024 2:33 am
by sms

Code: Select all

> I am creating a virtual env on a ODS-5 disk with SPECIAL files enabled
> [...]

   So, a different problem from the one in this old thread?  You might
do better if you create your own, new thread.  Or continue your existing
thread: https://forum.vmssoftware.com/viewtopic.php?f=32&t=9012

> [...] but I am still getting this error , any suggestions on how to
> resolve this

   "returned non-zero exit status 1" is not so informative as one might
wish.

   There was a suggestion in this thread, but you seem not to have taken
the hint:

> I tried running the command shown in the error message just to see
> what happens, with interesting results:
> [...]

   I know nothing but that's how I'd start.

Re: Python virtual environments - solved

Posted: Fri Apr 26, 2024 4:43 am
by imiller
What's your process parse style set to?
enter this command to show it
$ SHOW PROCESS/PARSE

I think you will need extended
$ SET PROCESS/PARSE_STYLE=EXTENDED