Re: [python-users] problem installing in conda

  • To: Brian Blaylock <blaylockbk@xxxxxxxxx>, Mike Zuranski <zuranski.wx@xxxxxxxxx>, Steve Decker <sgdecker@xxxxxxxxxxxxxxxxxx>
  • Subject: Re: [python-users] problem installing in conda
  • From: "Weber, Jim" <Jim.Weber@xxxxxxx>
  • Date: Wed, 3 Nov 2021 18:29:54 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=fox.com; dmarc=pass action=none header.from=fox.com; dkim=pass header.d=fox.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Vsw2lRT1896XxKrJEG3SCcM9wW7jePHGphTojnGlf1o=; b=Xmf5WMzu7817J3MBSl2KBCtMpv2ARQ7LReayEt5/fk6cgCXHSCYtvqu1E05Ztu6RYc/DHLHDvRn42BZ5uc3UFRlat+Utf4US/9tiNKWMDCUHCPblq604y3flrssYtoGMMmXjGKpKAJKQqnAb3npWUbJxYw+03kvpF30/StTcthYLxcdQFczsXJ4bAGiy17zmhOHZZgIpDRBjkaacMfOsbBuSx/k7eccspgZNvMEM3NnjDziTbtbGCKtVKhtF/+qNZwN5fIAvtVO6Rxf5fBcMuWjLcYjz305oIYkBzXkva6TFKlCShc0kD0sWdAN6MU3SkghTOldS8zzXS6wwUbYAng==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MoyBcYbuk/Rkfbwuwz1bxYOMzt7mQ/kCN80OP6qAmRxJCm1KJwgy/tTfZS8fyuD21DXABcZcP2c+TcOBv+6jByDUqD4l8TnObkgD2VHBFUPnCGEZUoE+ih1CtkgbKM7KRfHSeP5xFtXdUFllzpgI7IyN52Tvu6bc8iZRYpMpb6d/Ss67cXbeJF+lh3l9u1NC1P2UjC4uBkqYQCkPJhZ/ZuY2GXMuwJCtKVQLiu5c0Va/DenQAwlngqm0rroy+uGxRKQb9NRARpxOclOcup2gXU8T4C3sO+OR8QHnw3ZxnaUhG0PKCy2jipaITTu1xRiRsbdwxOn514F0KWwxwPnhkw==
  • Authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=FOX.COM;
Mike, Steve, Brian,

Thank for the feedback. You hit the nail on the head. Not sure what was wrong 
with the originally saved file but there must have been an extra character or 
something somewhere because I saved it again. The newly saved file ran 
perfectly without any errors.   Thanks again for the feedback to solve my issue!


Jim Weber
jim.weber@xxxxxxx<mailto:jim.weber@xxxxxxxxx>
Certified Broadcast Meteorologist
FOX 13 News
WTVT - TV
3213 West Kennedy Blvd.
Tampa, Florida 33609
Phone 813-870-9657

[fox13newscom]

From: Brian Blaylock <blaylockbk@xxxxxxxxx>
Sent: Wednesday, November 3, 2021 1:29 PM
To: Mike Zuranski <zuranski.wx@xxxxxxxxx>
Cc: Weber, Jim <Jim.Weber@xxxxxxx>; python-users@xxxxxxxxxxxxxxxx
Subject: Re: [python-users] problem installing in conda

Jim,

I just installed that environment file without any issue. I'm also using conda 
4.10.3, so that's not causing any issue. Can you install environments from any 
other environment file? like this: 
https://github.com/Unidata/unidata-users-workshop/blob/master/environment.yml<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Unidata_unidata-2Dusers-2Dworkshop_blob_master_environment.yml&d=DwMFaQ&c=uw6TLu4hwhHdiGJOgwcWD4AjKQx6zvFcGEsbfiY9-EI&r=KKIRMcmZ6BcKOjHM4171gGDDLEx31ZuiUy6Gn81J_cs&m=FrfEXopgJjVMgod3XVmkyaWQ0tpDhbuCZKWH49Pfwy3CWWlc5khG_xNBF5BkruE9&s=jfS6NgNbHgcjLUD8IBBv3b2IKjsOUXYajRGwoZth3Go&e=>

Brian Blaylock


On Wed, Nov 3, 2021 at 9:13 AM Mike Zuranski 
<zuranski.wx@xxxxxxxxx<mailto:zuranski.wx@xxxxxxxxx>> wrote:
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<https://urldefense.proofpoint.com/v2/url?u=https-3A__raw.githubusercontent.com_blaylockbk_goes2go_master_environment.yml&d=DwMFaQ&c=uw6TLu4hwhHdiGJOgwcWD4AjKQx6zvFcGEsbfiY9-EI&r=KKIRMcmZ6BcKOjHM4171gGDDLEx31ZuiUy6Gn81J_cs&m=FrfEXopgJjVMgod3XVmkyaWQ0tpDhbuCZKWH49Pfwy3CWWlc5khG_xNBF5BkruE9&s=vg5EuiJ2-8tssPLupmw3Z6sGJkTWb1nSYQsvMlV-eDw&e=>
 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<https://urldefense.proofpoint.com/v2/url?u=http-3A__weather.cod.edu_&d=DwMFaQ&c=uw6TLu4hwhHdiGJOgwcWD4AjKQx6zvFcGEsbfiY9-EI&r=KKIRMcmZ6BcKOjHM4171gGDDLEx31ZuiUy6Gn81J_cs&m=FrfEXopgJjVMgod3XVmkyaWQ0tpDhbuCZKWH49Pfwy3CWWlc5khG_xNBF5BkruE9&s=QH03WqPfMA5VTJMggqH4cI-BX1hdUOuEwMcVyK6nN_k&e=>
======================


On Wed, Nov 3, 2021 at 10:50 AM Weber, Jim 
<Jim.Weber@xxxxxxx<mailto: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<https://urldefense.proofpoint.com/v2/url?u=https-3A__blaylockbk.github.io_goes2go_-5Fbuild_html_index.html&d=DwMFaQ&c=uw6TLu4hwhHdiGJOgwcWD4AjKQx6zvFcGEsbfiY9-EI&r=KKIRMcmZ6BcKOjHM4171gGDDLEx31ZuiUy6Gn81J_cs&m=FrfEXopgJjVMgod3XVmkyaWQ0tpDhbuCZKWH49Pfwy3CWWlc5khG_xNBF5BkruE9&s=GTRC0UvMCvFBg9j6jUcDpFCPwxy_RN6I7q9XnVDH3gE&e=>)

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="{&quot;version&quot;: &quot;4&quot;, &quot;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://urldefense.proofpoint.com/v2/url?u=https-3A__repo.anaconda.com_pkgs_main_linux-2D64&d=DwMFaQ&c=uw6TLu4hwhHdiGJOgwcWD4AjKQx6zvFcGEsbfiY9-EI&r=KKIRMcmZ6BcKOjHM4171gGDDLEx31ZuiUy6Gn81J_cs&m=FrfEXopgJjVMgod3XVmkyaWQ0tpDhbuCZKWH49Pfwy3CWWlc5khG_xNBF5BkruE9&s=cX94IW3VjN1GIgX5gZ17qdQw1Smh_BFxZ1vG2FaYxzg&e=>
                          
https://repo.anaconda.com/pkgs/main/noarch<https://urldefense.proofpoint.com/v2/url?u=https-3A__repo.anaconda.com_pkgs_main_noarch&d=DwMFaQ&c=uw6TLu4hwhHdiGJOgwcWD4AjKQx6zvFcGEsbfiY9-EI&r=KKIRMcmZ6BcKOjHM4171gGDDLEx31ZuiUy6Gn81J_cs&m=FrfEXopgJjVMgod3XVmkyaWQ0tpDhbuCZKWH49Pfwy3CWWlc5khG_xNBF5BkruE9&s=HDb_FENb4u8WcwIG_mLKkgECaf1zW6mDiLXFJC8Amvg&e=>
                          
https://repo.anaconda.com/pkgs/r/linux-64<https://urldefense.proofpoint.com/v2/url?u=https-3A__repo.anaconda.com_pkgs_r_linux-2D64&d=DwMFaQ&c=uw6TLu4hwhHdiGJOgwcWD4AjKQx6zvFcGEsbfiY9-EI&r=KKIRMcmZ6BcKOjHM4171gGDDLEx31ZuiUy6Gn81J_cs&m=FrfEXopgJjVMgod3XVmkyaWQ0tpDhbuCZKWH49Pfwy3CWWlc5khG_xNBF5BkruE9&s=mjrhXLK3AIIfPICUiQPy9MkIBh9HVN0l6a7oImuVKyo&e=>
                          
https://repo.anaconda.com/pkgs/r/noarch<https://urldefense.proofpoint.com/v2/url?u=https-3A__repo.anaconda.com_pkgs_r_noarch&d=DwMFaQ&c=uw6TLu4hwhHdiGJOgwcWD4AjKQx6zvFcGEsbfiY9-EI&r=KKIRMcmZ6BcKOjHM4171gGDDLEx31ZuiUy6Gn81J_cs&m=FrfEXopgJjVMgod3XVmkyaWQ0tpDhbuCZKWH49Pfwy3CWWlc5khG_xNBF5BkruE9&s=i7xJNzw4o_1VsS3nC0Bq6gXLF4z5a6FmroCS5sllmjw&e=>
          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<mailto:jim.weber@xxxxxxxxx>
Certified Broadcast Meteorologist
FOX 13 News
WTVT - TV
3213 West Kennedy Blvd.
Tampa, Florida 33609
Phone 813-870-9657

[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<mailto:python-users@xxxxxxxxxxxxxxxx>
For list information, to unsubscribe, or change your membership options, visit: 
https://www.unidata.ucar.edu/mailing_lists/<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.unidata.ucar.edu_mailing-5Flists_&d=DwMFaQ&c=uw6TLu4hwhHdiGJOgwcWD4AjKQx6zvFcGEsbfiY9-EI&r=KKIRMcmZ6BcKOjHM4171gGDDLEx31ZuiUy6Gn81J_cs&m=FrfEXopgJjVMgod3XVmkyaWQ0tpDhbuCZKWH49Pfwy3CWWlc5khG_xNBF5BkruE9&s=t_ovg4VvnHZwc3xs1FevPLK8PSnTCvtMxBTnulyHteA&e=>
_______________________________________________
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<mailto:python-users@xxxxxxxxxxxxxxxx>
For list information, to unsubscribe, or change your membership options, visit: 
https://www.unidata.ucar.edu/mailing_lists/<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.unidata.ucar.edu_mailing-5Flists_&d=DwMFaQ&c=uw6TLu4hwhHdiGJOgwcWD4AjKQx6zvFcGEsbfiY9-EI&r=KKIRMcmZ6BcKOjHM4171gGDDLEx31ZuiUy6Gn81J_cs&m=FrfEXopgJjVMgod3XVmkyaWQ0tpDhbuCZKWH49Pfwy3CWWlc5khG_xNBF5BkruE9&s=t_ovg4VvnHZwc3xs1FevPLK8PSnTCvtMxBTnulyHteA&e=>


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.

JPEG image

  • 2021 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the python-users archives: