Hello,
env command:
MANPATH=/usr/man/%L:/usr/lpp/ported/php/php/man
TERM=dumb
SHELL=/usr/lpp/ROK/Miniconda/bin/bash
_CC_SLIB_PREFIX=SYS1
CONDA_SHLVL=0
TMP_VI=/var/vi
_C89_CLIB_PREFIX=SYS1
_CC_CLIB_PREFIX=SYS1
LIBPATH=/lib:/usr/lib:.
COLUMNS=80
NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
_CCMODE=1
_BPXK_AUTOCVT=ON
PATH=/bin:.:/usr/local/bin:/usr/lpp/java/J7.1_64/bin:/usr/lpp/ihsa_zos/bin:/usr/
lpp/ROK/Miniconda/bin:/usr/lpp/ported/php/bin
MAIL=/usr/mail/AXN0292
_CC_PLIB_PREFIX=SYS1
PWD=/u/axn0292
_BPX_TERMPATH=OMVS
JAVA_HOME=/usr/lpp/java/J7.1_64
LANG=C
_C89_SLIB_PREFIX=SYS1
TZ=MEZ-1MSZ,M3.5.0,M10.5.0
_CEE_RUNOPTS=FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)
PS1=MSW0 <$PWD>
LINES=28
_C89_PLIB_PREFIX=SYS1
SHLVL=1
HOME=/u/axn0292
LOGNAME=AXN0292
CLASSPATH=/usr/lpp/java/J7.1_64/lib:/usr/local/NetRexx/lib/NetRexxC.zip:.
_=/bin/env
ls -T command:
MSW0 </usr/lpp/ROK/Miniconda>ls -T /usr/lpp/ROK/Miniconda/.condarc
t ISO8859-1 T=on /usr/lpp/ROK/Miniconda/.condarc
cat command:
add_pip_as_python_dependency: False
#channel_alias:
https://condaserver.rocketsoftware.com/api/repochannel_alias:
https://repo.anaconda.com/pkgs/main/zos-zchannels:
- zoss-appdev
We have also modified the proxy in this file.
conda config command:
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/exc
eptions.py", line 819, in __call__
return func(*args, **kwargs)
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/cli
/main.py", line 74, in _main
context.__init__(argparse_args=args)
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/bas
e/context.py", line 238, in __init__
argparse_args=argparse_args)
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
mon/configuration.py", line 722, in __init__
self._set_search_path(search_path)
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
mon/configuration.py", line 728, in _set_search_path
self._set_raw_data(load_file_configs(search_path))
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
mon/configuration.py", line 369, in load_file_configs
raw_data = odict(kv for kv in chain.from_iterable(load_paths))
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
mon/configuration.py", line 369, in <genexpr>
raw_data = odict(kv for kv in chain.from_iterable(load_paths))
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
mon/configuration.py", line 344, in _file_yaml_loader
yield fullpath, YamlRawParameter.make_raw_parameters_from_file(fullpath)
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
mon/configuration.py", line 332, in make_raw_parameters_from_file
ruamel_yaml = yaml_load(fh)
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
mon/serialize.py", line 54, in yaml_load
return yaml.load(string, Loader=yaml.RoundTripLoader, version="1.2")
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/ruamel/ya
ml/main.py", line 638, in load
loader = Loader(stream, version, preserve_quotes=preserve_quotes)
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/ruamel/ya
ml/loader.py", line 59, in __init__
Reader.__init__(self, stream, loader=self)
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/ruamel/ya
ml/reader.py", line 80, in __init__
self.stream = stream # type: Any # as .read is called
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/ruamel/ya
ml/reader.py", line 125, in stream
self.determine_encoding()
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/ruamel/ya
ml/reader.py", line 169, in determine_encoding
self.update_raw()
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/ruamel/ya
ml/reader.py", line 278, in update_raw
data = self.stream.read(size)
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/codecs.py", line 323, i
n decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa7 in position 235: in
valid start byte
`$ /VERSION/usr/lpp/ROK/Miniconda/bin/conda config --show-source`
environment variables:
CIO_TEST=<not set>
CLASSPATH=/usr/lpp/java/J7.1_64/lib:/usr/local/NetRexx/lib/NetRe
xxC.zip:.
CONDA_ROOT=/VERSION/usr/lpp/ROK/Miniconda
CONDA_SHLVL=0
LIBPATH=/VERSION/usr/lpp/ROK/Miniconda/lib:/lib:/usr/lib:.
MANPATH=/usr/man/%L:/usr/lpp/ported/php/php/man
NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
PATH=/bin:.:/usr/local/bin:/usr/lpp/java/J7.1_64/bin:/usr/l
pp/ihsa_zos/bin:
/usr/lpp/ROK/Miniconda/bin:/usr/lpp/ported/php/bin
REQUESTS_CA_BUNDLE=<not set>
SSL_CERT_FILE=/VERSION/usr/lpp/ROK/Miniconda/ssl/cert.pem
_BPX_TERMPATH=OMVS
active environment : None
shell level : 0
user config file : /u/axn0292/.condarc
populated config files :
conda version : 4.5.8
conda-build version : conda-build-3.12.0-py37_2+3.g8ab3902b
python version : 3.7.0.final.0
base environment : /VERSION/usr/lpp/ROK/Miniconda (read only)
channel URLs :
https://repo.anaconda.com/pkgs/main/zos-zhttps://repo.anaconda.com/pkgs/main/noarchhttps://repo.anaconda.com/pkgs/free/zos-zhttps://repo.anaconda.com/pkgs/free/noarchhttps://repo.anaconda.com/pkgs/r/zos-zhttps://repo.anaconda.com/pkgs/r/noarchhttps://repo.anaconda.com/pkgs/pro/zos-zhttps://repo.anaconda.com/pkgs/pro/noarchpackage cache : /VERSION/usr/lpp/ROK/Miniconda/pkgs
/u/axn0292/.conda/pkgs
envs directories : /u/axn0292/.conda/envs
/VERSION/usr/lpp/ROK/Miniconda/envs
platform : zos-z
user-agent : conda/4.5.8 requests/2.19.1 CPython/3.7.0 z/OS/2.4 z/O
S/0
UID:GID : 5989:2
netrc file : None
offline mode : False
An unexpected error has occurred. Conda has prepared the above report.
If submitted, this report will be used by core maintainers to improve
future releases of conda.
Would you like conda to send this report to the core maintainers?
Ýy/N¨:
------------------------------
Andras Szabo
Mr
Volkswagen AG
Wolfsburg DE
------------------------------
Original Message:
Sent: 12-06-2021 13:33
From: Vladimir Ein
Subject: Introducing z/OS conda for download and deployment of z/OS open source products
Hello Andras,
It looks like an issue with the encoding of .condarc file(s), but I'm not sure exactly what's causing the issue. To find out what it might be, we'll need some extra info from you - can you send the output of the following commands?
env|sort
ls -T ~/.condarc
cat ~/.condarc
conda config --show-source
Regards,
Vladimir
------------------------------
Vladimir Ein
Software Engineer
Rocket Software
Original Message:
Sent: 12-06-2021 02:25
From: Andras Szabo
Subject: Introducing z/OS conda for download and deployment of z/OS open source products
Hello,
Thank you for the videos, I've managed to get to the following point:
After I issue 'conda create -n test1203' I face the following error:
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/exc
eptions.py", line 819, in __call__
return func(*args, **kwargs)
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/cli
/main.py", line 74, in _main
context.__init__(argparse_args=args)
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/bas
e/context.py", line 238, in __init__
argparse_args=argparse_args)
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
mon/configuration.py", line 722, in __init__
self._set_search_path(search_path)
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
mon/configuration.py", line 728, in _set_search_path
self._set_raw_data(load_file_configs(search_path))
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
mon/configuration.py", line 369, in load_file_configs
raw_data = odict(kv for kv in chain.from_iterable(load_paths))
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
mon/configuration.py", line 369, in <genexpr>
raw_data = odict(kv for kv in chain.from_iterable(load_paths))
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
mon/configuration.py", line 344, in _file_yaml_loader
yield fullpath, YamlRawParameter.make_raw_parameters_from_file(fullpath)
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
mon/configuration.py", line 332, in make_raw_parameters_from_file
ruamel_yaml = yaml_load(fh)
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
mon/serialize.py", line 54, in yaml_load
return yaml.load(string, Loader=yaml.RoundTripLoader, version="1.2")
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/ruamel/ya
ml/main.py", line 638, in load
loader = Loader(stream, version, preserve_quotes=preserve_quotes)
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/ruamel/ya
ml/loader.py", line 59, in __init__
Reader.__init__(self, stream, loader=self)
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/ruamel/ya
ml/reader.py", line 80, in __init__
self.stream = stream # type: Any # as .read is called
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/ruamel/ya
ml/reader.py", line 125, in stream
self.determine_encoding()
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/ruamel/ya
ml/reader.py", line 169, in determine_encoding
self.update_raw()
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/ruamel/ya
ml/reader.py", line 278, in update_raw
data = self.stream.read(size)
File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/codecs.py", line 323, i
n decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa7 in position 235: in
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa7 in position 235: in
valid start byte
******
At the moment we are unable to open cases for open software can you support me with this case, in this format?
------------------------------
Andras Szabo
Mr
Volkswagen AG
Wolfsburg DE
Original Message:
Sent: 11-29-2021 09:19
From: Peter Fandel
Subject: Introducing z/OS conda for download and deployment of z/OS open source products
Hello András,
I recommend two videos. The video instructing how to download and install z/OS Miniconda, and another video instructing how to use conda to download and install open-source ports for z/OS.
As for firewall/proxy settings this posting explains (it is exactly the same for z/OS as it is for Linux). However with a support contract you will also have access to install options that do not require internet access for you z/OS systems.
As Volkswagen is not on a support contract for any of our Rocket z/OS open-source ports, you will need to ask additional questions here on this forum. Rocket's support portal is restricted to customers that are paying support.
Please note also that without a support contract Volkswagen will not have access to new versions of ports, nor to CVE (security vulnerability) fixes until after a six month delay. If you need fast access to vulnerability fixes I recommend getting on support.
Best regards,
-Peter
------------------------------
Peter Fandel
Sr. Director, Product Management
Rocket Software
Original Message:
Sent: 11-26-2021 09:35
From: Andras Szabo
Subject: Introducing z/OS conda for download and deployment of z/OS open source products
Hello,
I have been directed to this thead from zOpenSourceDownload to see a videao about install of Miniconda. Where can I find the video?
Second, I would like to reach the public or secure conda channel from a z/OS system with internet access but behind firewall/proxy? what settings are needed for that? The CONDA documentation descibes proxy usage for Win, Linux but not for z/OS.
Should I report a case instead of asking this here?
Thanks in advance!
András Szabó
------------------------------
Andras Szabo
Mr
Volkswagen AG
Wolfsburg DE
Original Message:
Sent: 10-01-2020 11:03
From: Peter Fandel
Subject: Introducing z/OS conda for download and deployment of z/OS open source products
Rocket has moved to a new system – conda – for downloading, installing, and upgrading all z/OS open source ports developed by Rocket. With conda, a single command can replace dozens of steps and commands previously required to install some open source products. For example, installing z/OS Git with its dependencies formerly required over thirty steps but now can be accomplished with a single conda command.
Conda is an open source tool ideally suited for delivery and deployment of software on the mainframe due to its channel concept and multiple types of channels supporting varying degrees of security including file channels for air-gapped systems. Rocket has set up two internet channels from which you can download z/OS open source ports using conda – one public and open to all, the other a secure channel server on premise at Rocket available only to Rocket customers on a support plan.
z/OS Miniconda is a free bundle of open source containing everything you need to run conda on z/OS. To get started using conda you need to install z/OS Miniconda on your z/OS system.
To download z/OS Miniconda, complete the following steps:
- Sign in to the Rocket Community Portal.
https://my.rocketsoftware.com/RocketCommunity - Click Downloads from the navigation menu. A list of available Rocket products for your account appears.
- Select z/OpenSource.
- Type 'Miniconda' in the search box to filter the list of available downloads.
- Click the filtered ID A dialog window appears with the files that are required for setup.
- Click each file to download them to your system.
- Using a FTP or SFTP client transfer the setup files to z/OS:
- miniconda-py37-zos-<yyyy-mm-dd>.run
- app_dev_X.Y.txt
Full documentation on z/OS Miniconda is contained within zOS_Miniconda_Documentation_<date>.pdf.
Learn more about conda here.
Note, Rocket is decommissioning the old download and install system for all open source products except for z/OS Miniconda itself.
------------------------------
Peter Fandel
Rocket Software
------------------------------