Closed HeleneHemmer closed 2 months ago
Hi @HeleneHemmer,
Thank you for reporting! I am not sure this is a Palantir problem though. Coult you try running python -c "import palantir; print(palantir.__version__)"
on the command line that you ran the pip freeze
that reported that Palantir is installed. If this correctly reports the Palantir version then your notebook might not be set up to use the conda environment.
Please let me know what comes out and if you need help setting up a conda environment as a notebook kernel.
Hi @katosh Thanks for your reply. I was travelling and could not respond earlier. I am fairly new to python environments and I might have set it up incorrectly. I will try again and let you know in case the issue persists 🙂
I recommend setting up your conda environment as a kernel to use in jupyter. To realize this, first enter the environment on the command line, and then run, e.g.,
conda install ipykernel # alternatively python -m pip install ipykernel
python -m ipykernel install --user --name $CONDA_DEFAULT_ENV --display-name "$CONDA_DEFAULT_ENV"
This would setup a kernel that lives in the conda env and that is available in jupyter (refresh the jupyter server site in your browser so it shows up). You can find more details about installing kernels here https://ipython.readthedocs.io/en/latest/install/kernel_install.html
Yes, I think the issue was that I wanted to use Palantir in one of my environments but it was leading to a package conflict. I installed it in a clean environment now, and it works :) Thanks for helping me out and explaining :)
Awesome! Glad it works now! :)
Dear developing team,
I have a very basic problem. After succesfully installing Palantir with pip install palantir, I am not able to load the package into my notebook, instead I get the following error message:
My environment uses Python 3.9.19 and I already checked the installed dependencies, but they seem to be fine to me.
These are the conda-packages:
This is what I installed with pip:
Do you know what I am missing here? I tried to restart the kernel as well, but it did not help.
Thank you for helping me out!