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

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

Open
muhammadalmaskhan opened this issue Feb 1, 2025 · 0 comments

Comments

@muhammadalmaskhan
Copy link

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant