esm-tools / esm_tools

Simple Infrastructure for Earth System Simulations
https://esm-tools.github.io/
GNU General Public License v2.0
25 stars 12 forks source link

Error message while setting up mistral #234

Closed StanleyAgu1 closed 3 years ago

StanleyAgu1 commented 3 years ago

steps I took before getting the error message.

From the esm_tools, I did ./install.sh and get the following error message below;

Note: I already added

export LANG="en_US.utf8" export LC_ALL="en_US"

to my Environment but it still doesn’t work.

`WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Obtaining file:///mnt/lustre01/pf/a/a270162/esm_tools
    ERROR: Command errored out with exit status 1:
     command: /sw/rhel6-x64/conda/anaconda3-bleeding_edge/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/mnt/lustre01/pf/a/a270162/esm_tools/setup.py'"'"'; __file__='"'"'/mnt/lustre01/pf/a/a270162/esm_tools/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info
         cwd: /mnt/lustre01/pf/a/a270162/esm_tools/
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/mnt/lustre01/pf/a/a270162/esm_tools/setup.py", line 9, in <module>
        reload(sys)
    NameError: name 'reload' is not defined
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

`

dbarbi commented 3 years ago

I don't really know how to debug that yet, as I can't reproduce the error, and haven't seen anything similar. The error tells me that python3 (from the anaconda3-bleeding_edge) is trying to install something that is python2 ( "reload(sys)"). My guess is that you have something installed locally in your mistral HOME, but I don't have the permissions to look. Maybe we need to fix that together, in a jit.si session. Monday would be Ok for me

StanleyAgu1 commented 3 years ago

I don't really know how to debug that yet, as I can't reproduce the error, and haven't seen anything similar. The error tells me that python3 (from the anaconda3-bleeding_edge) is trying to install something that is python2 ( "reload(sys)"). My guess is that you have something installed locally in your mistral HOME, but I don't have the permissions to look. Maybe we need to fix that together, in a jit.si session. Monday would be Ok for me

Monday works for me too.

StanleyAgu1 commented 3 years ago

@dbarbi @JanStreffing Please what time should we meet today?

Best, Stanley.

I don't really know how to debug that yet, as I can't reproduce the error, and haven't seen anything similar. The error tells me that python3 (from the anaconda3-bleeding_edge) is trying to install something that is python2 ( "reload(sys)"). My guess is that you have something installed locally in your mistral HOME, but I don't have the permissions to look. Maybe we need to fix that together, in a jit.si session. Monday would be Ok for me

dbarbi commented 3 years ago

Hey, sorry I am busy trying to fix something else. At 2 maybe?

On 07.12.20 11:54, Stanley Agu wrote:

@dbarbi https://github.com/dbarbi @JanStreffing https://github.com/JanStreffing Please what time should we meet today?

Best, Stanley.

I don't really know how to debug that yet, as I can't reproduce
the error, and haven't seen anything similar. The error tells me
that python3 (from the anaconda3-bleeding_edge) is trying to
install something that is python2 ( "reload(sys)"). My guess is
that you have something installed locally in your mistral HOME,
but I don't have the permissions to look.
Maybe we need to fix that together, in a jit.si session. Monday
would be Ok for me

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/esm-tools/esm_tools/issues/234#issuecomment-739840818, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADNJTGPDKOV2JGCTFDQMFJTSTSX5RANCNFSM4UL4E5EA.

-- Dr. Dirk Barbi Alfred Wegener Institute Helmholtz Centre for Polar and Marine Research Bussestr. 24 D-27570 Bremerhaven Germany

Tel.: +49 (471) 4831 1561 Skype: dirk.barbi Email: Dirk.Barbi@awi.de ORCID: 0000-0002-5053-1788 www.awi.de www.esm-tools.net

StanleyAgu1 commented 3 years ago

Ok 2 is fine for me. on skype?

On Mon, Dec 7, 2020 at 12:48 PM dbarbi notifications@github.com wrote:

Hey, sorry I am busy trying to fix something else. At 2 maybe?

On 07.12.20 11:54, Stanley Agu wrote:

@dbarbi https://github.com/dbarbi @JanStreffing https://github.com/JanStreffing Please what time should we meet today?

Best, Stanley.

I don't really know how to debug that yet, as I can't reproduce the error, and haven't seen anything similar. The error tells me that python3 (from the anaconda3-bleeding_edge) is trying to install something that is python2 ( "reload(sys)"). My guess is that you have something installed locally in your mistral HOME, but I don't have the permissions to look. Maybe we need to fix that together, in a jit.si session. Monday would be Ok for me

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/esm-tools/esm_tools/issues/234#issuecomment-739840818>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/ADNJTGPDKOV2JGCTFDQMFJTSTSX5RANCNFSM4UL4E5EA .

-- Dr. Dirk Barbi Alfred Wegener Institute Helmholtz Centre for Polar and Marine Research Bussestr. 24 D-27570 Bremerhaven Germany

Tel.: +49 (471) 4831 1561 Skype: dirk.barbi Email: Dirk.Barbi@awi.de ORCID: 0000-0002-5053-1788 www.awi.de www.esm-tools.net

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/esm-tools/esm_tools/issues/234#issuecomment-739868453, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARRBC5TJX34GUB6Z5E5CSP3STS6IBANCNFSM4UL4E5EA .

-- Stanley Agu.

Universität Bremen Institut für Umweltphysik Otto-Hahn-Allee 1 D-28359 Bremen Germany.

Tel: +4915217086598 Email: agu1@uni-bremen.de

Paleoclimate Dynamics

Alfred Wegener Institute (AWI) Helmholtz Centre for Polar and Marine Research

Bussestraße 24 D-27570 Bremerhaven Germany

stanley.agu@awi.de www.awi.de

dbarbi commented 3 years ago

here:

https://awi.webex.com/meet/dirk.barbi

On 07.12.20 11:54, Stanley Agu wrote:

@dbarbi https://github.com/dbarbi @JanStreffing https://github.com/JanStreffing Please what time should we meet today?

Best, Stanley.

I don't really know how to debug that yet, as I can't reproduce
the error, and haven't seen anything similar. The error tells me
that python3 (from the anaconda3-bleeding_edge) is trying to
install something that is python2 ( "reload(sys)"). My guess is
that you have something installed locally in your mistral HOME,
but I don't have the permissions to look.
Maybe we need to fix that together, in a jit.si session. Monday
would be Ok for me

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/esm-tools/esm_tools/issues/234#issuecomment-739840818, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADNJTGPDKOV2JGCTFDQMFJTSTSX5RANCNFSM4UL4E5EA.

-- Dr. Dirk Barbi Alfred Wegener Institute Helmholtz Centre for Polar and Marine Research Bussestr. 24 D-27570 Bremerhaven Germany

Tel.: +49 (471) 4831 1561 Skype: dirk.barbi Email: Dirk.Barbi@awi.de ORCID: 0000-0002-5053-1788 www.awi.de www.esm-tools.net

StanleyAgu1 commented 3 years ago

Ok

JanStreffing commented 3 years ago

@dbarbi @JanStreffing Please what time should we meet today?

Hey Stanley, I'll be at the FESOM days and not participate with this meeting. Let me know if my help is needed and I can jump in for a few minutes. Cheers, Jan

StanleyAgu1 commented 3 years ago

@dbarbi @JanStreffing Please what time should we meet today?

Hey Stanley, I'll be at the FESOM days and not participate with this meeting. Let me know if my help is needed and I can jump in for a few minutes. Cheers, Jan

Alright.

dbarbi commented 3 years ago

fixed together