Solving Versioning and Dependency Conflicts with an LLM Assignment 2 (Unable to import current version of numpy)

Hi,

I am trying to follow the instructions for Assignment 2 of Module 3. I am sure I am in the correct conda environment (python --version is 3.6.13).

No install of different versions of numpy is working.

If I try to run
pip install -r requirements.txt

I get the following error:
`
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement numpy>=1.26.0 (from versions: 1.3.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0.post2, 1.10.1, 1.10.2, 1.10.4, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 1.13.3, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.15.4, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.16.6, 1.17.0, 1.17.1, 1.17.2, 1.17.3, 1.17.4, 1.17.5, 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.18.4, 1.18.5, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.19.5)
ERROR: No matching distribution found for numpy>=1.26.0
`

How am I supposed to change numpy version if the original one (the instructions mention using that command to restore the environment to its initial state) can’t be installed?

Hi, welcome to the community.
Are you running this in the deeplearning-ai learning platform? Or is it locally on your device? Running the assignment locally requires a lot of set up that is not supported by the course or mentors.

Hi! I am running this in the deeplearning-ai platform, thank you for your time :slight_smile:

I see that this is inteded for the exercise. I am sorry for wasting your time. You are free to delete my thread as this might contain a hint to the solution.