If you want to get information about your hardware and the Python packages being used within your notebook, use the magic extension watermark.
The image above shows the outputs of the watermark in my notebook.
Link to watermark.
Link to the source code.