Skip to content

Can't setup tf-install-miniconda #42

Open
shaik005 opened this issue Jul 19, 2021 · 0 comments
Open

Can't setup tf-install-miniconda #42

shaik005 opened this issue Jul 19, 2021 · 0 comments

Comments

@shaik005
Copy link

[shaik005@catlab001 terraform-python]$ bash tf-install-miniconda.sh

  • installing minconda to /apps/terraform/python
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 89.8M 100 89.8M 0 0 46.6M 0 0:00:01 0:00:01 --:--:-- 46.8M
    PREFIX=/apps/terraform/python
    Unpacking payload ...
    Collecting package metadata (current_repodata.json): done
    Solving environment: done

Package Plan

environment location: /apps/terraform/python

added / updated specs:
- _libgcc_mutex==0.1=main
- brotlipy==0.7.0=py38h27cfd23_1003
- ca-certificates==2020.10.14=0
- certifi==2020.6.20=pyhd3eb1b0_3
- cffi==1.14.3=py38h261ae71_2
- chardet==3.0.4=py38h06a4308_1003
- conda-package-handling==1.7.2=py38h03888b9_0
- conda==4.9.2=py38h06a4308_0
- cryptography==3.2.1=py38h3c74f83_1
- idna==2.10=py_0
- ld_impl_linux-64==2.33.1=h53a641e_7
- libedit==3.1.20191231=h14c3975_1
- libffi==3.3=he6710b0_2
- libgcc-ng==9.1.0=hdf63c60_0
- libstdcxx-ng==9.1.0=hdf63c60_0
- ncurses==6.2=he6710b0_1
- openssl==1.1.1h=h7b6447c_0
- pip==20.2.4=py38h06a4308_0
- pycosat==0.6.3=py38h7b6447c_1
- pycparser==2.20=py_2
- pyopenssl==19.1.0=pyhd3eb1b0_1
- pysocks==1.7.1=py38h06a4308_0
- python==3.8.5=h7579374_1
- readline==8.0=h7b6447c_0
- requests==2.24.0=py_0
- ruamel_yaml==0.15.87=py38h7b6447c_1
- setuptools==50.3.1=py38h06a4308_1
- six==1.15.0=py38h06a4308_0
- sqlite==3.33.0=h62c20be_0
- tk==8.6.10=hbc83047_0
- tqdm==4.51.0=pyhd3eb1b0_0
- urllib3==1.25.11=py_0
- wheel==0.35.1=pyhd3eb1b0_0
- xz==5.2.5=h7b6447c_0
- yaml==0.2.5=h7b6447c_0
- zlib==1.2.11=h7b6447c_3

The following NEW packages will be INSTALLED:

_libgcc_mutex pkgs/main/linux-64::_libgcc_mutex-0.1-main
brotlipy pkgs/main/linux-64::brotlipy-0.7.0-py38h27cfd23_1003
ca-certificates pkgs/main/linux-64::ca-certificates-2020.10.14-0
certifi pkgs/main/noarch::certifi-2020.6.20-pyhd3eb1b0_3
cffi pkgs/main/linux-64::cffi-1.14.3-py38h261ae71_2
chardet pkgs/main/linux-64::chardet-3.0.4-py38h06a4308_1003
conda pkgs/main/linux-64::conda-4.9.2-py38h06a4308_0
conda-package-han~ pkgs/main/linux-64::conda-package-handling-1.7.2-py38h03888b9_0
cryptography pkgs/main/linux-64::cryptography-3.2.1-py38h3c74f83_1
idna pkgs/main/noarch::idna-2.10-py_0
ld_impl_linux-64 pkgs/main/linux-64::ld_impl_linux-64-2.33.1-h53a641e_7
libedit pkgs/main/linux-64::libedit-3.1.20191231-h14c3975_1
libffi pkgs/main/linux-64::libffi-3.3-he6710b0_2
libgcc-ng pkgs/main/linux-64::libgcc-ng-9.1.0-hdf63c60_0
libstdcxx-ng pkgs/main/linux-64::libstdcxx-ng-9.1.0-hdf63c60_0
ncurses pkgs/main/linux-64::ncurses-6.2-he6710b0_1
openssl pkgs/main/linux-64::openssl-1.1.1h-h7b6447c_0
pip pkgs/main/linux-64::pip-20.2.4-py38h06a4308_0
pycosat pkgs/main/linux-64::pycosat-0.6.3-py38h7b6447c_1
pycparser pkgs/main/noarch::pycparser-2.20-py_2
pyopenssl pkgs/main/noarch::pyopenssl-19.1.0-pyhd3eb1b0_1
pysocks pkgs/main/linux-64::pysocks-1.7.1-py38h06a4308_0
python pkgs/main/linux-64::python-3.8.5-h7579374_1
readline pkgs/main/linux-64::readline-8.0-h7b6447c_0
requests pkgs/main/noarch::requests-2.24.0-py_0
ruamel_yaml pkgs/main/linux-64::ruamel_yaml-0.15.87-py38h7b6447c_1
setuptools pkgs/main/linux-64::setuptools-50.3.1-py38h06a4308_1
six pkgs/main/linux-64::six-1.15.0-py38h06a4308_0
sqlite pkgs/main/linux-64::sqlite-3.33.0-h62c20be_0
tk pkgs/main/linux-64::tk-8.6.10-hbc83047_0
tqdm pkgs/main/noarch::tqdm-4.51.0-pyhd3eb1b0_0
urllib3 pkgs/main/noarch::urllib3-1.25.11-py_0
wheel pkgs/main/noarch::wheel-0.35.1-pyhd3eb1b0_0
xz pkgs/main/linux-64::xz-5.2.5-h7b6447c_0
yaml pkgs/main/linux-64::yaml-0.2.5-h7b6447c_0
zlib pkgs/main/linux-64::zlib-1.2.11-h7b6447c_3

Preparing transaction: done
Executing transaction: done
installation finished.

  • creating pip.conf in /apps/terraform/python/etc
  • installing condarc to /apps/terraform/python
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 2317 100 2317 0 0 199k 0 --:--:-- --:--:-- --:--:-- 251k
  • adding additional modules to /apps/terraform/python
    Traceback (most recent call last):
    File "/apps/terraform/python/lib/python3.8/site-packages/conda/common/configuration.py", line 366, in make_raw_parameters_from_file
    yaml_obj = yaml_round_trip_load(fh)
    File "/apps/terraform/python/lib/python3.8/site-packages/conda/common/serialize.py", line 57, in yaml_round_trip_load
    return yaml.round_trip_load(string, version="1.2")
    File "/apps/terraform/python/lib/python3.8/site-packages/ruamel_yaml/main.py", line 1000, in round_trip_load
    return load(stream, RoundTripLoader, version, preserve_quotes=preserve_quotes)
    File "/apps/terraform/python/lib/python3.8/site-packages/ruamel_yaml/main.py", line 935, in load
    return loader._constructor.get_single_data()
    File "/apps/terraform/python/lib/python3.8/site-packages/ruamel_yaml/constructor.py", line 109, in get_single_data
    node = self.composer.get_single_node()
    File "/apps/terraform/python/lib/python3.8/site-packages/ruamel_yaml/composer.py", line 73, in get_single_node
    self.parser.get_event()
    File "/apps/terraform/python/lib/python3.8/site-packages/ruamel_yaml/parser.py", line 163, in get_event
    self.current_event = self.state()
    File "/apps/terraform/python/lib/python3.8/site-packages/ruamel_yaml/parser.py", line 177, in parse_stream_start
    token.move_comment(self.scanner.peek_token())
    File "/apps/terraform/python/lib/python3.8/site-packages/ruamel_yaml/scanner.py", line 1775, in peek_token
    self._gather_comments()
    File "/apps/terraform/python/lib/python3.8/site-packages/ruamel_yaml/scanner.py", line 1803, in _gather_comments
    self.fetch_more_tokens()
    File "/apps/terraform/python/lib/python3.8/site-packages/ruamel_yaml/scanner.py", line 282, in fetch_more_tokens
    return self.fetch_value()
    File "/apps/terraform/python/lib/python3.8/site-packages/ruamel_yaml/scanner.py", line 651, in fetch_value
    raise ScannerError(
    ruamel_yaml.scanner.ScannerError: mapping values are not allowed here
    in "/apps/terraform/python/condarc", line 6, column 20

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/apps/terraform/python/bin/conda-env", line 6, in
from conda_env.cli.main import main
File "/apps/terraform/python/lib/python3.8/site-packages/conda_env/cli/main.py", line 13, in
import conda.exports # noqa
File "/apps/terraform/python/lib/python3.8/site-packages/conda/exports.py", line 23, in
reset_context() # initialize context when conda.exports is imported
File "/apps/terraform/python/lib/python3.8/site-packages/conda/base/context.py", line 1311, in reset_context
context.init(search_path, argparse_args)
File "/apps/terraform/python/lib/python3.8/site-packages/conda/base/context.py", line 351, in init
super(Context, self).init(search_path=search_path, app_name=APP_NAME,
File "/apps/terraform/python/lib/python3.8/site-packages/conda/common/configuration.py", line 1273, in init
self._set_search_path(search_path)
File "/apps/terraform/python/lib/python3.8/site-packages/conda/common/configuration.py", line 1279, in _set_search_path
self._set_raw_data(load_file_configs(search_path))
File "/apps/terraform/python/lib/python3.8/site-packages/conda/common/configuration.py", line 467, in load_file_configs
raw_data = odict(kv for kv in chain.from_iterable(load_paths))
File "/apps/terraform/python/lib/python3.8/site-packages/conda/common/configuration.py", line 467, in
raw_data = odict(kv for kv in chain.from_iterable(load_paths))
File "/apps/terraform/python/lib/python3.8/site-packages/conda/common/configuration.py", line 440, in _file_loader
yield fullpath, YamlRawParameter.make_raw_parameters_from_file(fullpath)
File "/apps/terraform/python/lib/python3.8/site-packages/conda/common/configuration.py", line 369, in make_raw_parameters_from_file
raise ConfigurationLoadError(
conda.common.configuration.ConfigurationLoadError: Unable to load configuration file.
path: /apps/terraform/python/condarc
reason: invalid yaml at line 5, column 19

  • updating root certificate list
  • certifi ca file /apps/terraform/python/lib/python3.8/site-packages/certifi/cacert.pem
  • no certificate file found, exiting
  • activate with 'source /apps/terraform/python/bin/activate'
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant