Closed rpurser47 closed 1 year ago
I think this is resolved. If other people see this issue, please reopen this issue.
Hi, Looks like I have the same problem:
>> pyenv
ans =
PythonEnvironment with properties:
Version: "3.9"
Executable: "/Applications/Xcode.app/Contents/Developer/usr/bin/python3"
Library: "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/libpython3.9.dylib"
Home: "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9"
Status: NotLoaded
ExecutionMode: InProcess
So that
>> system(fullfile(pythonInfo.Home,"Scripts","pip3")+" install cdsapi")
zsh:1: no such file or directory: /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Scripts/pip3
ans =
127
In my console, it works well:
(base) rafnuss@Raphaels-MacBook-Pro ~ % pip3 show cdsapi
Name: cdsapi
Version: 0.7.3
Summary: Climate Data Store API
Home-page: https://github.com/ecmwf/cdsapi
Author: ECMWF
Author-email: software.support@ecmwf.int
License: Apache 2.0
Location: /Users/rafnuss/anaconda3/lib/python3.11/site-packages
Requires: cads-api-client, requests, tqdm
Required-by:
See potential fix : https://github.com/mathworks/climatedatastore/pull/22/commits/97078cf591afd1eec14e59924eb3f1da2713fbfc
only tested on macos
zhiling liao reported on File Exchange
Appears need to look at potential return codes from PIP3 -- may need to accept more values as success.