This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
I don't think git is working properly. On the machine with the error, what happens if you just try to run "git" at the command line? FYI, it worked fine on my mac, but my git is working properly. Ryan > Ryan, > That doesn’t work for me, here is the error. > > Do we need to tell students with Macs to install some tools? > > > > /Users/bem/GitHub 4:03:20pm: conda env update -f ATMOcanes_environment.yml > > Fetching package metadata ............. > Solving package specifications: . > Collecting git+https://github.com/labjack/LabJackPython.git > Cloning https://github.com/labjack/LabJackPython.git to > /private/var/folders/_l/h12pwyfd18g71lb_2xh4_0240000gr/T/pip-tgfvu5r2-build > xcrun: error: invalid active developer path > (/Library/Developer/CommandLineTools), missing xcrun at: > /Library/Developer/CommandLineTools/usr/bin/xcrun > Command "git clone -q https://github.com/labjack/LabJackPython.git > /private/var/folders/_l/h12pwyfd18g71lb_2xh4_0240000gr/T/pip-tgfvu5r2-build" > failed with error code 1 in None > > CondaValueError: pip returned an error. > > > > > On Jan 30, 2018, at 3:59 PM, Ryan May <address@hidden<mailto:address@hidden>> > wrote: > > So you need to add to the environment file a line with "- pip:", and under > that, rather than a package name to install with pip, a path to a git repo. > For example, I modified our workshop environment: > > name: unidata-workshop > channels: > - conda-forge > dependencies: > - python=3 > - numpy > - matplotlib > - cartopy > - jupyter > - netcdf4 > - owslib > - metpy > - pint > - shapely<=1.5.17 > - siphon > - xarray > - pip > - ffmpeg > - pytest > - pip: > - python-awips > - mpldatacursor > - > git+https://github.com/labjack/LabJackPython.git<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flabjack%2FLabJackPython.git&data=02%7C01%7Cbmapes%40rsmas.miami.edu%7C9dca3f2d5a014e3207ca08d5682466ad%7C2a144b72f23942d48c0e6f0f17c48e33%7C0%7C0%7C636529427918548621&sdata=UGG28pd1IfaRUyYlhBEnv%2BpMyRmfULRT1GtnQz3dXDk%3D&reserved=0> > > That worked fine for me just now. If you need to follow up, can you send to > address@hidden<mailto:address@hidden>? That helps us with tracking support > effort (NSF, etc.) > > Thanks! > > Ryan > > > On Tue, Jan 30, 2018 at 1:54 PM, Mapes, Brian Earle > <address@hidden<mailto:address@hidden>> wrote: > Nope. > > > On Jan 30, 2018, at 3:48 PM, Mapes, Brian Earle > <address@hidden<mailto:address@hidden>> wrote: > > So I tried doing pip install from within the ATM303 environment, then > conda export > > But that’s long and hairy and more specific than I want to freeze our > students into (forever). > Maybe I can just edit that down? > Ticket Details =================== Ticket ID: SOK-732534 Department: Support Python Priority: Low Status: Closed =================== NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.