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

**URL:** <https://dlai.staged-by-discourse.com/t/solving-versioning-and-dependency-conflicts-with-an-llm-assignment-2-unable-to-import-current-version-of-numpy/896352>\
**Category:** Team Software Engineering with AI\
**Tags:** week-module-3, dl-ai-learning-platform\
**Created:** [November 16, 2026, 5:31pm UTC](https://dlai.staged-by-discourse.com/t/solving-versioning-and-dependency-conflicts-with-an-llm-assignment-2-unable-to-import-current-version-of-numpy/896352 "2026-11-16T17:31:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ldelponte](https://avatars.discourse-cdn.com/v4/letter/l/919ad9/32.png) [@ldelponte](https://dlai.staged-by-discourse.com/u/ldelponte)\
**Post date:** [November 16, 2026, 5:31pm UTC](https://dlai.staged-by-discourse.com/t/solving-versioning-and-dependency-conflicts-with-an-llm-assignment-2-unable-to-import-current-version-of-numpy/896352/1 "2026-11-16T17:31:50Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![lukmanaj](https://sea1.discourse-cdn.com/dlaistaging/user_avatar/dlai.staged-by-discourse.com/lukmanaj/32/161609_2.png) [@lukmanaj](https://dlai.staged-by-discourse.com/u/lukmanaj)\
**Post date:** [November 17, 2026, 2:17am UTC](https://dlai.staged-by-discourse.com/t/solving-versioning-and-dependency-conflicts-with-an-llm-assignment-2-unable-to-import-current-version-of-numpy/896352/2 "2026-11-17T02:17:16Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ldelponte](https://avatars.discourse-cdn.com/v4/letter/l/919ad9/32.png) [@ldelponte](https://dlai.staged-by-discourse.com/u/ldelponte)\
**Post date:** [November 17, 2026, 8:05am UTC](https://dlai.staged-by-discourse.com/t/solving-versioning-and-dependency-conflicts-with-an-llm-assignment-2-unable-to-import-current-version-of-numpy/896352/3 "2026-11-17T08:05:20Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ldelponte](https://avatars.discourse-cdn.com/v4/letter/l/919ad9/32.png) [@ldelponte](https://dlai.staged-by-discourse.com/u/ldelponte)\
**Post date:** [November 17, 2026, 10:06am UTC](https://dlai.staged-by-discourse.com/t/solving-versioning-and-dependency-conflicts-with-an-llm-assignment-2-unable-to-import-current-version-of-numpy/896352/4 "2026-11-17T10:06:38Z")

</div>

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.
