Closed Sushanth99 closed 9 months ago
Hi @Sushanth99, are installing from the source or directly the binaries from conda? Are you mixing conda and pip with conda-installed package?
I am using conda directly. I followed the conda installation documentation. The command conda install -c andreatramacere jetset
is not working for me. So as suggested in README.md
, I used conda install -c andreatramacere -c astropy -c conda-forge 'jetset>=1.2'
. This worked for the installation. However, as mentioned above, I am getting an ImportError
suggesting a dependency issue.
After that, I tried installing a different version of NumPy using pip, hoping to resolve the dependency issue. But pip showed the dependency conflicts mentioned in the second code block in my opening comment.
The problem is numba, that is messing up always dependencies (it happens often)
In any case, If you use pip to change the version of a conda-installed packages it will not work in general and will alternate your environment. You can use pip in conda, but you should not use pip to change version of packages installed by conda
The install instructions of jetset are here: https://jetset.readthedocs.io/en/latest/install.html The ones on git are mostly for developers, or when installing from source
In any case, I suggest the remove the jetset env you created and start from scratch
if the problem is still there, using conda downgrade mamba to 0.57: conda install mamba=0.57
Let me know if it works
Thanks @andreatramacere. Installing numba=0.57 instead of 0.58 worked.
After installing jetset in the new conda environment by following the installation instructions, I am facing the following issue while importing the
Jet
class.MacOS version: 12.7.1 NumPy version: 1.21.6 Numba version: 0.58.0 Jetset version: 1.2.2
I tried installing a different version of NumPy. But the pip pointed out the following dependency conflicts:
This suggests
numba 0.58.0
would supportnumpy 1.21.6
, so the aboveImportError
is puzzling. Request any thoughts or suggestions regarding this issue.