Skip to content

Environment Setup Fails Due to Python 3.5 Deprecation and Library Dependencies #418

@muhammadalmaskhan

Description

@muhammadalmaskhan

While setting up the environment using the provided environment.yml file, the installation fails due to Python 3.5 being deprecated. Additionally, some libraries in requirements.txt have outdated dependencies, causing compatibility issues

Current Environment File (environment.yml)

name: data-science-handbook channels: - conda-forge dependencies: - python=3.5 - pip: - -r requirements.txt 

Current Dependencies ( requirements.txt)

numpy==1.11.1 pandas==0.18.1 scipy==0.17.1 scikit-learn==0.17.1 scikit-image==0.12.3 pillow==3.4.2 matplotlib==1.5.1 seaborn==0.7.0 jupyter notebook line_profiler memory_profiler numexpr pandas-datareader netcdf4 

Proposed Fix

  • Upgrade Python version: Modify environment.yml to use Python 3.8 or higher.

  • Update outdated dependencies: Use newer versions of numpy, pandas, scipy, etc., to resolve conflicts

Expected Outcome

  • A functional environment setup with updated dependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions