Hi Jim,
At a glance that looks like conda was having a hard time parsing the
environment.yml file, like it wasn't formatted correctly. I took a look at
it on that page you linked, nothing jumps out as wrong... How did you save
that file, did you copy/paste the contents from the web page? Because I've
seen that cause issues in the past.
Try downloading it straight from
https://raw.githubusercontent.com/blaylockbk/goes2go/master/environment.yml
and see if that helps (note the 'raw' in the url). If not, open it in an
editor and see if there are any odd characters, spaces, indents, etc.
Hope this helps,
-Mike
======================
Mike Zuranski
Meteorology Support Analyst
College of DuPage - Nexlab
Weather.cod.edu <http://weather.cod.edu/>
======================
On Wed, Nov 3, 2021 at 10:50 AM Weber, Jim <Jim.Weber@xxxxxxx> wrote:
> Sorry to hit everyone up for help on another topic so soon after another.
> I was trying to install goes2go via the instructions on the website(
> https://blaylockbk.github.io/goes2go/_build/html/index.html)
>
>
>
> When I run the command conda env create –f environment.yml I get a rather
> large error. I have no idea how to decipher what the error means. I was
> hoping that maybe someone may have an idea of what is going wrong for me? I
> have been getting great results from Brian’s True Color recipe and wanted
> to work with his Natural Color recipe but it requires goes2go be installed.
> This is all part of my bigger question that I had the other day about the
> artifacts in the imagery which appear to be upstream and in the L2 data.
>
>
>
> Thanks for any help out there!
>
>
>
> Here is the output:
>
>
>
> (wtvt) [ldm@node5 ~]$ conda env create -f environment.yml
>
>
>
> # >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
>
>
>
> Traceback (most recent call last):
>
> File
> "/home/ldm/miniconda3/lib/python3.9/site-packages/conda/exceptions.py",
> line 1079, in __call__
>
> return func(*args, **kwargs)
>
> File
> "/home/ldm/miniconda3/lib/python3.9/site-packages/conda_env/cli/main.py",
> line 80, in do_call
>
> exit_code = getattr(module, func_name)(args, parser)
>
> File
> "/home/ldm/miniconda3/lib/python3.9/site-packages/conda_env/cli/main_create.py",
> line 88, in execute
>
> spec = specs.detect(name=name, filename=get_filename(args.file),
> directory=os.getcwd())
>
> File
> "/home/ldm/miniconda3/lib/python3.9/site-packages/conda_env/specs/__init__.py",
> line 43, in detect
>
> if spec.can_handle():
>
> File
> "/home/ldm/miniconda3/lib/python3.9/site-packages/conda_env/specs/yaml_file.py",
> line 18, in can_handle
>
> self._environment = env.from_file(self.filename)
>
> File
> "/home/ldm/miniconda3/lib/python3.9/site-packages/conda_env/env.py", line
> 166, in from_file
>
> return from_yaml(yamlstr, filename=filename)
>
> File
> "/home/ldm/miniconda3/lib/python3.9/site-packages/conda_env/env.py", line
> 143, in from_yaml
>
> data = yaml_safe_load(yamlstr)
>
> File
> "/home/ldm/miniconda3/lib/python3.9/site-packages/conda/common/serialize.py",
> line 67, in yaml_safe_load
>
> return yaml.safe_load(string, version="1.2")
>
> File
> "/home/ldm/miniconda3/lib/python3.9/site-packages/ruamel_yaml/main.py",
> line 980, in safe_load
>
> return load(stream, SafeLoader, version)
>
> File
> "/home/ldm/miniconda3/lib/python3.9/site-packages/ruamel_yaml/main.py",
> line 935, in load
>
> return loader._constructor.get_single_data()
>
> File
> "/home/ldm/miniconda3/lib/python3.9/site-packages/ruamel_yaml/constructor.py",
> line 109, in get_single_data
>
> node = self.composer.get_single_node()
>
> File
> "/home/ldm/miniconda3/lib/python3.9/site-packages/ruamel_yaml/composer.py",
> line 78, in get_single_node
>
> document = self.compose_document()
>
> File
> "/home/ldm/miniconda3/lib/python3.9/site-packages/ruamel_yaml/composer.py",
> line 104, in compose_document
>
> self.parser.get_event()
>
> File
> "/home/ldm/miniconda3/lib/python3.9/site-packages/ruamel_yaml/parser.py",
> line 163, in get_event
>
> self.current_event = self.state()
>
> File
> "/home/ldm/miniconda3/lib/python3.9/site-packages/ruamel_yaml/parser.py",
> line 239, in parse_document_end
>
> token = self.scanner.peek_token()
>
> File
> "/home/ldm/miniconda3/lib/python3.9/site-packages/ruamel_yaml/scanner.py",
> line 182, in peek_token
>
> self.fetch_more_tokens()
>
> File
> "/home/ldm/miniconda3/lib/python3.9/site-packages/ruamel_yaml/scanner.py",
> line 282, in fetch_more_tokens
>
> return self.fetch_value()
>
> File
> "/home/ldm/miniconda3/lib/python3.9/site-packages/ruamel_yaml/scanner.py",
> line 651, in fetch_value
>
> raise ScannerError(
>
> ruamel_yaml.scanner.ScannerError: mapping values are not allowed here
>
> in "<unicode string>", line 138, column 65:
>
> ... e" content="{"version": "4",
> "rollouts& ...
>
> ^ (line: 138)
>
>
>
> `$ /home/ldm/miniconda3/bin/conda-env create -f environment.yml`
>
>
>
> environment variables:
>
> CIO_TEST=<not set>
>
> CONDA_AUTO_UPDATE_CONDA=false
>
> CONDA_DEFAULT_ENV=wtvt
>
> CONDA_EXE=/home/ldm/miniconda3/bin/conda
>
> CONDA_PREFIX=/home/ldm/miniconda3/envs/wtvt
>
> CONDA_PREFIX_1=/home/ldm/miniconda3
>
> CONDA_PROMPT_MODIFIER=(wtvt)
>
> CONDA_PYTHON_EXE=/home/ldm/miniconda3/bin/python
>
> CONDA_ROOT=/home/ldm/miniconda3
>
> CONDA_SHLVL=2
>
> CURL_CA_BUNDLE=<not set>
>
>
> PATH=/home/ldm/miniconda3/bin:/home/ldm/miniconda3/envs/wtvt/bin:/home/ldm/
>
>
> miniconda3/condabin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:
>
> /home/ldm/.local/bin:/home/ldm/bin:/home/ldm/util
>
> REQUESTS_CA_BUNDLE=<not set>
>
> SSL_CERT_FILE=<not set>
>
>
>
> active environment : wtvt
>
> active env location : /home/ldm/miniconda3/envs/wtvt
>
> shell level : 2
>
> user config file : /home/ldm/.condarc
>
> populated config files :
>
> conda version : 4.10.3
>
> conda-build version : not installed
>
> python version : 3.9.5.final.0
>
> virtual packages : __linux=3.10.0=0
>
> __glibc=2.17=0
>
> __unix=0=0
>
> __archspec=1=x86_64
>
> base environment : /home/ldm/miniconda3 (writable)
>
> conda av data dir : /home/ldm/miniconda3/etc/conda
>
> conda av metadata url : None
>
> channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
>
> https://repo.anaconda.com/pkgs/main/noarch
>
> https://repo.anaconda.com/pkgs/r/linux-64
>
> https://repo.anaconda.com/pkgs/r/noarch
>
> package cache : /home/ldm/miniconda3/pkgs
>
> /home/ldm/.conda/pkgs
>
> envs directories : /home/ldm/miniconda3/envs
>
> /home/ldm/.conda/envs
>
> platform : linux-64
>
> user-agent : conda/4.10.3 requests/2.25.1 CPython/3.9.5
> Linux/3.10.0-1160.24.1.el7.x86_64 centos/7.9.2009 glibc/2.17
>
> UID:GID : 1000:1000
>
> 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]: y
>
> Upload successful.
>
>
>
> Thank you for helping to improve conda.
>
> Opt-in to always sending reports (and not see this message again)
>
> by running
>
>
>
> $ conda config --set report_errors true
>
>
>
>
>
> (wtvt) [ldm@node5 ~]$
>
>
>
>
>
>
>
> *Jim Weber*
>
> jim.weber@xxxxxxx <jim.weber@xxxxxxxxx>
>
> Certified Broadcast Meteorologist
>
> FOX 13 News
>
> WTVT - TV
>
> 3213 West Kennedy Blvd.
>
> Tampa, Florida 33609
>
> Phone 813-870-9657
>
>
>
> [image: fox13newscom]
>
>
>
>
> This message and its attachments may contain legally privileged or
> confidential information. It is intended solely for the named addressee(s).
> If you are not an addressee indicated in this message (or responsible for
> delivery of the message to an addressee), you may not copy or deliver this
> message or its attachments to anyone. Rather, you should permanently delete
> this message and its attachments and kindly notify the sender by reply
> e-mail. Any content of this message and its attachments that does not
> relate to the official business of Fox Corporation, or its subsidiaries
> must be taken not to have been sent or endorsed by any of them. No
> representation is made that this email or its attachments are without
> defect.
> _______________________________________________
> NOTE: All exchanges posted to Unidata maintained email lists are
> recorded in the Unidata inquiry tracking system and made publicly
> available through the web. Users who post to any of the lists we
> maintain are reminded to remove any personal information that they
> do not want to be made public.
>
>
> python-users mailing list
> python-users@xxxxxxxxxxxxxxxx
> For list information, to unsubscribe, or change your membership options,
> visit: https://www.unidata.ucar.edu/mailing_lists/
>
![JPEG image](jpgMzvBNaZYVm.jpg)