-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing fermitools and heasoft gives a warning #2
Comments
I have seen this in some circumstances. The best solution is to install heasoftpy and fermitools in a separate conda environment, and then activate the relevant environment as needed. For example, when installing heasoft(py), you do: conda create -n heasoft python=3.8 "astropy>=4.0" "scipy>=1.6"
PYTHON=$CONDA_PREFIX/envs/heasoft/bin/python
# compile heasoft as ususal And do the same with fermitools conda create -n fermi python=3
conda install -n fermi -c conda-forge -c fermi fermitools clhep python=3 Then use conda activate heasoft
# use heasoft(py)
conda activate fermi
# use fermitools I hope this helps. |
I already know that the reason for these two warnings is because I configured these two environments when I configured the environment variables when installing HEAsoft,The first configured environment variables are as follows:
In this way, the environment variables are automatically initialized, and heasoft will automatically configure these two environment variables, and replace them with the following forms,
which only need to be initialized when using heasoft. I've been stuck with this problem! |
It looks like fermitools expects empty printf "unset LD_LIBRARY_PATH\n\
unset PYTHONPATH" > $CONDA_PREFIX/envs/fermi/etc/conda/activate.d/activate-a.sh |
Your first command seems to be missing " As long as I run Fermitools without initializing HEAsoft, the warning does not pop up, but if I want to initialize HEAsoft and use Fermitools the warning pops up! operation result
|
Hello all, I found that when I install fermitools after installing HEAsoft, the following warning will appear,
How can I install heasoft with fermitools without warning!!!
The text was updated successfully, but these errors were encountered: