Kindly tell what were the versions that you used of the Following libraries.. gym pycolab matplotlib numpy scipy as it is installing the latest versions which are not compatible with your code.