tudat-team / tudatpy-feedstock

A conda-smithy repository for tudatpy.
https://tudat-team.github.io/tudatpy/
BSD 3-Clause "New" or "Revised" License
4 stars 3 forks source link

Dependency conflicts on osx #2

Closed geoffreygarrett closed 3 years ago

geoffreygarrett commented 4 years ago

For some reason, installing via on osx:

conda install tudatpy -c tudat-team

Is presenting some dependency issues on osx with conda. There is a temporary fix until this is sorted:

conda install tudatpy -c tudat-team -c conda-forge -c defaults

This applies to updating as well:

conda update tudatpy -c tudat-team -c conda-forge -c defaults
transferorbit commented 4 years ago

I’ve just tried to run a tutorial_1.py file from May 2020 with today’s version of TudatPy (via jupyterlab). I get the following error:

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-2ca33e4975a8> in <module>
      1 # Initial imports and kernel setup
      2 import numpy as np
----> 3 from tudatpy import spice_interface
      4 
      5 spice_interface.load_standard_spice_kernels()

ImportError: cannot import name 'spice_interface' from 'tudatpy' (/Users/kevin/opt/miniconda3/envs/tudat-space/lib/python3.8/site-packages/tudatpy/__init__.py)

The installation process is documented in the attached file. installNotes_tudatpy_20200929.txt

For what it’s worth, I have:

geoffreygarrett commented 4 years ago

Hi @transferorbit, the API has changed significantly since then. Could you try run it with this version of tutorial_1.py? The tutorials will be versioned appropriately soon.

transferorbit commented 3 years ago

It appears that this issue has been fixed. Please re-open if this is no the case.