Skip to content
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

Unable to install ydata-profiling for Python 3.12.0 #1510

Closed
3 tasks done
kirankalpathy opened this issue Nov 30, 2023 · 11 comments · Fixed by #1521
Closed
3 tasks done

Unable to install ydata-profiling for Python 3.12.0 #1510

kirankalpathy opened this issue Nov 30, 2023 · 11 comments · Fixed by #1521
Labels
maintance 🛠️ Technical debt

Comments

@kirankalpathy
Copy link

Current Behaviour

I currently have Python 3.12.0 installed on my mac. Trying to install ydata_profiling package using pip3 and getting the following error:

pip3 install -U ydata-profiling    
ERROR: Ignored the following versions that require a different python version: 4.0.0 Requires-Python >=3.7, <3.11; 4.1.0 Requires-Python >=3.7, <3.12; 4.1.1 Requires-Python >=3.7, <3.12; 4.1.2 Requires-Python >=3.7, <3.12; 4.2.0 Requires-Python >=3.7, <3.12; 4.3.0 Requires-Python >=3.7, <3.12; 4.3.1 Requires-Python >=3.7, <3.12; 4.3.2 Requires-Python >=3.7, <3.12; 4.4.0 Requires-Python >=3.7, <3.12; 4.5.0 Requires-Python >=3.7, <3.12; 4.5.1 Requires-Python >=3.7, <3.12; 4.6.0 Requires-Python >=3.7, <3.12; 4.6.1 Requires-Python >=3.7, <3.12; 4.6.2 Requires-Python >=3.7, <3.12
ERROR: Could not find a version that satisfies the requirement ydata-profiling (from versions: none)
ERROR: No matching distribution found for ydata-profiling

Expected Behaviour

Package needs to be installed successfully.

Data Description

N/A

Code that reproduces the bug

pip3 install ydata-profiling

pandas-profiling version

3.2.0

Dependencies

pandas==2.1.3
numpy==1.26.2

OS

macos

Checklist

  • There is not yet another bug report for this issue in the issue tracker
  • The problem is reproducible from this bug report. This guide can help to craft a minimal bug report.
  • The issue has not been resolved by the entries listed under Common Issues.
@natanael-melo
Copy link

The same error happened to me.

My Python version is 3.11.5, my Pandas version is 2.0.3, and my NumPy version is 1.24.3. My operating system is Windows.

The error that appears is:

"ERROR: Ignored the following versions that require a different python version: 
4.0.0 Requires-Python >=3.7, <3.11; 
4.1.0 Requires-Python >=3.7, <3.12; 
4.1.1 Requires-Python >=3.7, <3.12; 
4.1.2 Requires-Python >=3.7, <3.12; 
4.2.0 Requires-Python >=3.7, <3.12; 
4.3.0 Requires-Python >=3.7, <3.12; 
4.3.1 Requires-Python >=3.7, <3.12; 
4.3.2 Requires-Python >=3.7, <3.12; 
4.4.0 Requires-Python >=3.7, <3.12; 
4.5.0 Requires-Python >=3.7, <3.12; 
4.5.1 Requires-Python >=3.7, <3.12; 
4.6.0 Requires-Python >=3.7, <3.12; 
4.6.1 Requires-Python >=3.7, <3.12; 
4.6.2 Requires-Python >=3.7, <3.12

ERROR: Could not find a version that satisfies the requirement ydata-profiling (from versions: none)
ERROR: No matching distribution found for ydata-profiling"

@UItraviolet
Copy link

Same error happened to me, anyone knows if it's just that it hasn't been updated yet or if it's on my side?

@fabclmnt fabclmnt added information requested ❔ Cannot reproduce, waiting for minimum reproduction details. and removed needs-triage labels Dec 4, 2023
@npappin-wsu
Copy link

+1

@fabclmnt
Copy link
Contributor

fabclmnt commented Dec 6, 2023

Hi @npappin-wsu , @UItraviolet and @npappin-wsu ,

thank you for your issue report. Unfortunately, ydata-profiling does not yet available for python 3.12. You can check the information about the supported python version at docs.profiling.ydata.ai, or in the project readme.

We are currently working on it, and we expect to have it launched in the beginning of 2024.

@fabclmnt fabclmnt added maintance 🛠️ Technical debt and removed information requested ❔ Cannot reproduce, waiting for minimum reproduction details. labels Dec 6, 2023
@aquemy
Copy link
Contributor

aquemy commented Dec 28, 2023

@npappin-wsu @UItraviolet @natanael-melo @kirankalpathy the support for Python 3.12 is blocked by Numba which still does not support it. The support is planned for Numba 0.59 and there is already a release candidate - so as soon as it is an official release, we can update ydata-profiling support as well.

@andreas-wolf
Copy link

It seems the official numba release for 3.12 is here: https://github.com/numba/numba/releases/tag/0.59.0

@aquemy
Copy link
Contributor

aquemy commented Feb 13, 2024

@andreas-wolf nice timing! I prepared the PR yesterday (here: #1521) but unfortunately I am facing an issue with the installation of dependencies.

See here: https://github.com/ydataai/ydata-profiling/actions/runs/7868893919/job/21466934821

AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?

Any help is welcomed. I found out it is a pretty common error with Python 3.12 but none of the solution I tried worked so far... :(

@mubbasher-sherani
Copy link

ydata-profiling is working in conda environments successfully using the python's version = Python 3.11.5 it's 26/02/2024 and ydata-profiling is not working in Python 3.12.2 I'm using ydata-profiling using python 3.11.5 and you can use it too.

@justuswolff-audit
Copy link

justuswolff-audit commented Feb 27, 2024

I also run into issues with Python 3.11.7. I get an error withe

  • "seaborn>=0.13.2",
  • "numpy>=1.24.4",
  • "pandas>=2.0.3",

at least those are the libraries it complains about in my terminal.

@fabclmnt
Copy link
Contributor

fabclmnt commented May 8, 2024

@justuswolff-audit can you share more details regarding the environment that you are using (what are packages are installed , etc).
Based on your message it seems to be incompatibility with the version the versions that ydata-profiling requires.

@fabclmnt fabclmnt linked a pull request May 8, 2024 that will close this issue
@fabclmnt
Copy link
Contributor

fabclmnt commented May 8, 2024

Python 3.12 is supported as of 4.7 version (Match 2024)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintance 🛠️ Technical debt
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants