Python virtual environments - solved


madx86
Member
Posts: 5
Joined: Sat Mar 23, 2024 3:11 pm
Reputation: 0
Status: Offline

Re: Python virtual environments - solved

Post by madx86 » Mon Mar 25, 2024 9:53 pm

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.
>>>



sms
Master
Posts: 349
Joined: Fri Aug 21, 2020 5:18 pm
Reputation: 0
Status: Offline

Re: Python virtual environments - solved

Post by sms » Tue Mar 26, 2024 2:33 am

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.

User avatar

imiller
Master
Posts: 147
Joined: Fri Jun 28, 2019 8:45 am
Reputation: 0
Location: South Tyneside, UK
Status: Offline
Contact:

Re: Python virtual environments - solved

Post by imiller » Fri Apr 26, 2024 4:43 am

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
Ian Miller
[ personal opinion only. usual disclaimers apply. Do not taunt happy fun ball ].

Post Reply