Closed andrew0411 closed 5 months ago
Hello, @andrew0411! I'm here to help you with any questions, bugs, or contributions you might have.
To resolve the issue of being unable to install sparkmagic
on Python 3.11 due to an error related to krb5-config
, you need to ensure that the necessary Kerberos development libraries are installed on your system. This is because sparkmagic
uses the requests-kerberos
package, which requires these libraries.
For Debian-based systems (like Ubuntu), you can install the required libraries using the following command:
sudo apt-get install libkrb5-dev
For Red Hat-based systems (like CentOS), use:
sudo yum install krb5-devel
After installing the necessary libraries, you should be able to install sparkmagic
without encountering the krb5-config
error:
pip install sparkmagic
Additionally, the .github/workflows/tests.yml
file for sparkmagic
confirms that libkrb5-dev
is a required system dependency for running tests across multiple Python versions, including 3.11 [1].
To continue talking to Dosu, mention @dosu.
Thank you, after install the package it worked!
Describe the bug On my conda environment where python version is 3.11 that uses pip 24.0, cannot be installed.
To Reproduce
Additional context I've tested on the environment with python=3.10 and it worked.