pysat / pysatCDF

Python reader for NASA CDF file format
BSD 3-Clause "New" or "Revised" License
10 stars 7 forks source link

Install pysatCDF error: '-mno-cygwin' did you mean... #24

Closed lingoryan084 closed 2 years ago

lingoryan084 commented 3 years ago

Hello,

I am having trouble installing pysatCDF using the instructions in the readme. I have set up everything exactly as it reads (in order to set the environment). I got to the install part and got an error that I think is related to my compiler. (I got that from the readme file; it was the Microsoft Visual C++.)

I get an error that reads, "unrecognized command-line option '-mno-cygwin'; did you mean '-mno-clwb'?

I have attached a photo with the error. PXL_20200915_125859092

Could you help me decipher? I am using a Windows 10, with Python 2.7, and the most up to date (using pacman) msys64.

~Ryan

rstoneback commented 3 years ago

Hi Ryan,

Our latest recommendation, just put in our latest pysat documentation in our develop-3 branch, is to switch to using the Windows Subsystem for Linux, which enables an install in a compatible posix environment with gcc. https://docs.microsoft.com/en-us/windows/wsl/install-win10

python setup.py install or pip install pysatCDF should work in WSL after it is installed.

Cheers, Russell

On Sep 15, 2020, at 8:05 AM, lingoryan084 notifications@github.com<mailto:notifications@github.com> wrote:

Hello,

I am having trouble installing pysatCDF using the instructions in the readme. I have set up everything exactly as it reads (in order to set the environment). I got to the install part and got an error that I think is related to my compiler. (I got that from the readme file; it was the Microsoft Visual C++.)

I get an error that reads, "unrecognized command-line option '-mno-cygwin'; did you mean '-mno-clwb'?

I have attached a photo with the error. [PXL_20200915_125859092]https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F29412629%2F93213412-d2c7f780-f731-11ea-8613-21cdad84acad.jpg&data=02%7C01%7Crstoneba%40utdallas.edu%7C7267f20965994b85c6f508d8597805ee%7C8d281d1d9c4d4bf7b16e032d15de9f6c%7C0%7C0%7C637357719321993866&sdata=%2BoQHGe8H1mjuK%2BYKt57h9vAXnlHffp4xb80iDSaizM4%3D&reserved=0

Could you help me decipher? I am using a Windows 10, with Python 2.7, and the most up to date (using pacman) msys64.

~Ryan

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpysat%2FpysatCDF%2Fissues%2F24&data=02%7C01%7Crstoneba%40utdallas.edu%7C7267f20965994b85c6f508d8597805ee%7C8d281d1d9c4d4bf7b16e032d15de9f6c%7C0%7C0%7C637357719321993866&sdata=0MdjMrkbASX%2Fsyrm94pi14rY7q0Dbwf9b5dus3Odfss%3D&reserved=0, or unsubscribehttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA3N26M7BEPPM7DFND3S3HLSF5RBJANCNFSM4RNDJBWQ&data=02%7C01%7Crstoneba%40utdallas.edu%7C7267f20965994b85c6f508d8597805ee%7C8d281d1d9c4d4bf7b16e032d15de9f6c%7C0%7C0%7C637357719322003858&sdata=H4XCA%2BOUHWpZkIRxoqKRcQcHJOmXVOSn3N1%2B1NjkeSk%3D&reserved=0.