GithubHelp home page GithubHelp logo

Comments (8)

aquemy avatar aquemy commented on May 28, 2024 1

@aiwithsap we released a minor version with the dependency fixes. Please, to try install 1.0.1.

from ydata-synthetic.

aiwithsap avatar aiwithsap commented on May 28, 2024 1

Thanks for helping. Everything is working well.

from ydata-synthetic.

fabclmnt avatar fabclmnt commented on May 28, 2024

@aiwithsap Python 3.8 is no longer supported by the package.

The problem you're exposing seems not to be Streamlit version related. Can you please upgrade your python environment to 3.9 and let me know how it went?

from ydata-synthetic.

fabclmnt avatar fabclmnt commented on May 28, 2024

Related issue: #243

from ydata-synthetic.

aiwithsap avatar aiwithsap commented on May 28, 2024

Hi @fabclmnt,

Thanks for getting back to me. I used the following docker image to test with python 3.9. The dependency conflict error remains unchanged.

FROM continuumio/miniconda3:4.11.0
RUN pip install ydata-synthetic[streamlit]==1.0.0

Or

FROM ubuntu:jammy
RUN apt update --yes && apt-get install --yes software-properties-common
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata
RUN add-apt-repository ppa:deadsnakes/ppa 
RUN apt-get install --yes python3.9 python3-pip
RUN pip install ydata-synthetic[streamlit]==1.0.0

Same error:

ERROR: Cannot install ydata-synthetic and ydata-synthetic[streamlit]==1.0.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    ydata-synthetic[streamlit] 1.0.0 depends on streamlit==0.18.1; extra == "streamlit"
    streamlit-pandas-profiling 0.1.3 depends on streamlit>=0.63

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

from ydata-synthetic.

aquemy avatar aquemy commented on May 28, 2024

This is a different error than the one with type and it comes from the fact that you have the package streamlit-pandas-profiling installed and this package uses a much newer version of streamlit.

from ydata-synthetic.

aquemy avatar aquemy commented on May 28, 2024

In fact, this is due to this line: https://github.com/ydataai/ydata-synthetic/blob/dev/setup.py#L53

streamlit is directly installed by streamlit-pandas-profiling so I don't think it is necessary to install it or if we want, we should at least make sure the versions are not incompatible.

@fabclmnt we should probably do a minor release to have this fixed.

from ydata-synthetic.

fabclmnt avatar fabclmnt commented on May 28, 2024

Oh ok I see it! I missed that completely @aiwithsap!
Indeed. We will need a quick release to fix that!

Thank you @aquemy!

from ydata-synthetic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.