Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows nansat1.5.3 #530

Open
LooperzZ opened this issue Jun 9, 2023 · 7 comments
Open

windows nansat1.5.3 #530

LooperzZ opened this issue Jun 9, 2023 · 7 comments

Comments

@LooperzZ
Copy link

LooperzZ commented Jun 9, 2023

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
Copy link
Author

LooperzZ commented Jun 9, 2023

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.

@pkopparla
Copy link

I have the same problem!

@XiaosongZhang
Copy link

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

@LiMingci
Copy link
Contributor

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

@XiaosongZhang
Copy link

XiaosongZhang commented Aug 30, 2023 via email

@xuannnnnnn
Copy link

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

@aperrin66
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants