If you want to run the notebooks in a different environment, then you need to include all the files that accompany the notebook, not just the notebook. Here’s a thread that shows how to do that.
But note that there is no guarantee that things will work correctly in a different environment, unless you duplicate the versions of all the packages. Please see this recent thread for more discussion of that point.