nansat icon indicating copy to clipboard operation
nansat copied to clipboard

windows nansat1.5.3

Open LooperzZ opened this issue 1 year ago • 7 comments

nansat 1.5.3 cannot be installed on Windows platform, can it solve the following problem? Or can you provide the installation environment specific to the Windows platform? The guidelines in the installation instructions in git have expired and cannot be installed successfully.

LooperzZ avatar Jun 09 '23 08:06 LooperzZ

Follow the manual: conda create -y -n py3nansat gdal numpy pillow netcdf4 scipy conda activate py3nansat pip install nansat

The following error occurs: Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [9 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\UAV\AppData\Local\Temp\pip-install-xvpn7ulw\nansat_50f7dc8ff88e4273bf70ab605f4fdeb1\setup.py", line 240, in run_setup(skip_compile) File "C:\Users\UAV\AppData\Local\Temp\pip-install-xvpn7ulw\nansat_50f7dc8ff88e4273bf70ab605f4fdeb1\setup.py", line 201, in run_setup extra_link_args=extra_link_args) ^^^^^^^^^^^^^^^ NameError: name 'extra_link_args' is not defined. Did you mean: 'extra_compile_args'? [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

LooperzZ avatar Jun 09 '23 08:06 LooperzZ

I have the same problem!

pkopparla avatar Jun 21 '23 10:06 pkopparla

I have the same problem, I've installed it in PyCharm, in conda and in VisualStudio, and I haven't found a solution yet!

XiaosongZhang avatar Aug 21 '23 09:08 XiaosongZhang

Maybe you are using a higher version of python. We recommend 3.7 or 3.8, you can try it.

LiMingci avatar Aug 21 '23 09:08 LiMingci

Thank you for your prompt. My Python version is 3.9. I have tried version 3.6 but still have the same problem. I will continue to try version 3.7 or 3.8.

Mingci Li @.***> 于2023年8月21日周一 17:24写道:

Maybe you are using a higher version of python. We recommend 3.7 or 3.8, you can try it.

— Reply to this email directly, view it on GitHub https://github.com/nansencenter/nansat/issues/530#issuecomment-1685968936, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5K5J2NU3TCRVNDCVNLPLUTXWMSOHANCNFSM6AAAAAAZAKJPKI . You are receiving this because you commented.Message ID: @.***>

XiaosongZhang avatar Aug 30 '23 14:08 XiaosongZhang

Thank you for your prompt. My Python version is 3.9. I have tried version 3.6 but still have the same problem. I will continue to try version 3.7 or 3.8. Mingci Li @.> 于2023年8月21日周一 17:24写道: Maybe you are using a higher version of python. We recommend 3.7 or 3.8, you can try it. — Reply to this email directly, view it on GitHub <#530 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5K5J2NU3TCRVNDCVNLPLUTXWMSOHANCNFSM6AAAAAAZAKJPKI . You are receiving this because you commented.Message ID: @.>

have you successfully install nansat in Windows? I am facing the same problem now

xuannnnnnn avatar Feb 04 '24 05:02 xuannnnnnn

This issue has been fixed in nansat version 1.6.2. Can you upgrade(pip install --upgrade nansat), try again and let me know if it solves your problem?

aperrin66 avatar May 21 '24 11:05 aperrin66