# Version of Tensorflow and Python and other libraries used in the assignments of deep learning specalization

**URL:** <https://community.deeplearning.ai/t/version-of-tensorflow-and-python-and-other-libraries-used-in-the-assignments-of-deep-learning-specalization/865038>\
**Category:** Neural Networks and Deep Learning\
**Tags:** week-module-3, week-module-1, week-module-4, week-module-2\
**Created:** [August 2, 2025, 6:42am UTC](https://community.deeplearning.ai/t/version-of-tensorflow-and-python-and-other-libraries-used-in-the-assignments-of-deep-learning-specalization/865038 "2025-08-02T06:42:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sbanal](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@sbanal](https://community.deeplearning.ai/u/sbanal)\
**Post date:** [August 2, 2025, 6:42am UTC](https://community.deeplearning.ai/t/version-of-tensorflow-and-python-and-other-libraries-used-in-the-assignments-of-deep-learning-specalization/865038/1 "2025-08-02T06:42:26Z")

</div>

Hi,

Is there like a specific version of tensorflow and python and required libraries used in the programming assignments? is it the same version for all assignments? Can anyone please share this info? I am trying to run it locally on my laptop but there’s just a lot of errors like “‘KerasTensor’ object has no attribute ‘get\_shape’” method missing. my subscription is already stopped so can’t run the scripts in Coursera anymore to check the version.

- coursera-platform

---

<div class="post-metadata">

**Author:** ![Girijesh](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/girijesh/32/37283_2.png) [@Girijesh](https://community.deeplearning.ai/u/Girijesh)\
**Post date:** [August 2, 2025, 7:23am UTC](https://community.deeplearning.ai/t/version-of-tensorflow-and-python-and-other-libraries-used-in-the-assignments-of-deep-learning-specalization/865038/2 "2025-08-02T07:23:01Z")

</div>

Dear @sbanal,

It depends on the project. If you do not have access to Coursera, you will not be able to obtain the `requirements.txt` file.

–  
_Keep Learning AI with DeepLearning.AI_ - Girijesh

---

<div class="post-metadata">

**Author:** ![sbanal](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@sbanal](https://community.deeplearning.ai/u/sbanal)\
**Post date:** [August 2, 2025, 7:43am UTC](https://community.deeplearning.ai/t/version-of-tensorflow-and-python-and-other-libraries-used-in-the-assignments-of-deep-learning-specalization/865038/3 "2025-08-02T07:43:16Z")

</div>

@Girijesh I downloaded the assignments folder and I can’t see any requirements.txt

---

<div class="post-metadata">

**Author:** ![TMosh](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/tmosh/32/9321_2.png) [@TMosh](https://community.deeplearning.ai/u/TMosh)\
**Post date:** [August 2, 2025, 4:47pm UTC](https://community.deeplearning.ai/t/version-of-tensorflow-and-python-and-other-libraries-used-in-the-assignments-of-deep-learning-specalization/865038/4 "2025-08-02T16:47:06Z")

</div>

> [@sbanal](#):
>
> Is there like a specific version of tensorflow and python and required libraries used in the programming assignments?

Yes.

> [@sbanal](#):
>
> is it the same version for all assignments?

Within a course, probably yes. Within a Specialization, probably not.

Most of the courses do not provide a requirements.txt file. So running the labs locally requires a lot of work (by the learner) to sort out all of the versions.

---

<div class="post-metadata">

**Author:** ![paulinpaloalto](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/paulinpaloalto/32/187_2.png) [@paulinpaloalto](https://community.deeplearning.ai/u/paulinpaloalto)\
**Post date:** [August 2, 2025, 6:07pm UTC](https://community.deeplearning.ai/t/version-of-tensorflow-and-python-and-other-libraries-used-in-the-assignments-of-deep-learning-specalization/865038/5 "2025-08-02T18:07:05Z")

</div>

Yes, as Tom says, the versions are different between different courses and sometimes even within a given course. There are no official instructions, because there are too many possibilities for your local environment. [Here’s a thread](https://community.deeplearning.ai/t/dls-1-my-own-project-in-pycharm/74781/2) which gives some guidance about how to get started. The unfortunate thing is that operations like generating a `requirements.txt` file require that you be able to run in the online course environment.
