Today I installed PYTHON A3.10-0RELEASE005 and PYTHWHLS A1.1-6FIX06.
I want to experiment with using Python to interface to a MySQL database (actually mysqld 5.5.63-MariaDB on my OpenVMS server).
It looks like the mysql connector is not included in the Python Wheels so I'd like to install it, which should work because it's supposedly a pure-Python implementation.
I'd like to use a Python virtual environment so I tried using the same command I use when on Linux:
Code: Select all
$ python3 -m venv --system-site-packages mysql_for_python
Error: Command '['/D2/JEREMY/mysql_for_python/bin/python.exe', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero
exit status 1.
$
Before it failed it created the following directory structure:
Code: Select all
$ direx/col=1 [.mysql_for_python...] /date /wid=fil:50
Directory D2:[JEREMY.mysql_for_python]
bin.DIR;1 2-OCT-2023 18:56
include.DIR;1 2-OCT-2023 18:56
lib.DIR;1 2-OCT-2023 18:56
pyvenv.cfg;1 2-OCT-2023 18:56
Total of 4 files.
Directory D2:[JEREMY.mysql_for_python.bin]
python.;1 -> python.exe 2-OCT-2023 18:56
python.exe;1 -> /$10$DKD0/SYS0/SYSCOMMON/python/bin/python.exe
2-OCT-2023 18:56
python3.;1 -> python.exe 2-OCT-2023 18:56
python3.10;1 -> python.exe 2-OCT-2023 18:56
Total of 4 files.
Directory D2:[JEREMY.mysql_for_python.lib]
python3^.10.DIR;1 2-OCT-2023 18:56
Total of 1 file.
Directory D2:[JEREMY.mysql_for_python.lib.python3^.10]
site-packages.DIR;1 2-OCT-2023 18:56
Total of 1 file.
Grand total of 4 directories, 10 files.
Jeremy Begg