fermi-lat / Fermitools-conda

Conda recipe files for the Fermi Sciencetools software analysis package: Fermitools
https://fermi.gsfc.nasa.gov/ssc/data/analysis/
BSD 3-Clause "New" or "Revised" License
34 stars 16 forks source link

Error installing threeml, fermitools, fermipy using conda #127

Closed ghost closed 1 year ago

ghost commented 1 year ago

Hell all, I am trying to install fermitools, fermipy and threeml in the same environment using conda. I created a virtual environment using conda create -- name fermi3ML - c conda forge - c fermi - c threeml. I continue to use conda install - c conda forge - c xspecmodels xspec models only, conda install - c conda forge - c threeml - c fermi threeml fermipy fermitools.It is strange that I can use fermitools, threeml and fermipy in ipython. I tried to import threeml in jupyter lab, but there was such a warning,I don't know where the problem is. Can you help me? thank you!

Note:System:Linux DESKTOP-10UCA6U 5.10.102.1-microsoft-standard-WSL2 https://github.com/fermi-lat/Fermitools-conda/pull/1 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

conda env Python 3.9.13, pip 22.2.2,fermitools 2.2.0,fermipy 1.0.1,fermitools-data 0.18,threeml 2.3.2

image

Areustle commented 1 year ago

We cannot help you with threeml errors, nor with jupyterlab errors. Please contact the support team of threeml for assistance.

Areustle commented 1 year ago

Fermipy is a separate, community project.

Please communicate issues you encounter with fermipy to https://github.com/fermiPy Rather than the official fermitools issue tracker.

ghost commented 1 year ago

@Areustle Sir, There is the same problem here,

Notebooks kernel died ! #487 Module installation #476

nmirabal commented 1 year ago

Closing. This has been posted in fermipy issues https://github.com/fermiPy/fermipy/issues/498

donhorner commented 1 year ago

I think the only issue that might be related to the Fermitools here is that you have to run the conda install nb_conda to use Jupyter notebooks with the tools (see Additional Software section). Otherwise, the notebook might be pick up a different python installation.

The Fermitools+fermipy+3ML combo seems to work fine in the FermiBottle Docker container although I get a bunch of warnings about packages like naima not being installed. I also installed fermipy and 3ML in my Fermitools environment on my Mac and the 3ML import worked (with the same warnings).