Row 5713

Row ID: 5713 | Dataset Entry | Axioma AXP Content Repository

Content Data

This page contains data entry 5713 from the Axioma AXP content repository. The structured data below represents the complete record for this entry.

import torch This is the error shown --------------------------------------------------------------------------- OSError Traceback (most recent call last) <ipython-input-3-5e28a5ed1325> in <cell line: 0>() ----> 1 import torch 2 from matplotlib import pyplot as plt 3 import numpy as np 4 import cv2 ~\AppData\Roaming\Python\Python311\site-packages\torch\__init__.py in <module> 139 err = ctypes.WinError(ctypes.get_last_error()) 140 err.strerror += f' Error loading "{dll}" or one of its dependencies.' --> 141 raise err 142 143 kernel32.SetErrorMode(prev_error_mode) OSError: [WinError 126] The specified module could not be found. Error loading "C:\Users\User\AppData\Roaming\Python\Python311\site-packages\torch\lib\shm.dll" or one of its dependencies.

I'm trying to run this in my local windows machine VSCode jupyter notebook Before anyone suggests, yes i have uninstalled and then reinstalled my torch library, I've also added the path to the enviroment and also have restarted the whole thing. None of it works

FieldValue
text import torch This is the error shown --------------------------------------------------------------------------- OSError Traceback (most recent call last) <ipython-input-3-5e28a5ed1325> in <cell line: 0>() ----> 1 import torch 2 from matplotlib import pyplot as plt 3 import numpy as np 4 import cv2 ~\AppData\Roaming\Python\Python311\site-packages\torch\__init__.py in <module> 139 …
label r/pytorch
dataType post
communityName r/pytorch
datetime 2024-05-03
username_encoded Z0FBQUFBQm5LakwyeDhvSFpoMGRXYXp5QUxXMEYzM2NHMFBuU1dnaTJ0ektNdm9YUENVOXd6SHBqSmdSeXVUdDEtYXdxZGw5ZllmZjlwOUFidlozOE1sdmxrY1ozQlNuNWc9PQ==
url_encoded Z0FBQUFBQm5Lak9HZFJRZXBUWlEtVzVFbW9CQkhpVUg1RnRYcG9sWmxiVGZDeTNaWjNzUnl6cXRaNnk2QUR1YXgwbmJ5YjBvYXZEaHVOcTlNb0dTeVNOaHlzdU9TUmNWMjl3djJtMnhmVmREUzVHX3JQOHR3OTNKZ0ZMTmJSbFdNLUtDeDNnX3Z1bkxxQ0Q2bnFEb0F4elZ6YU5VamtGQ2pjekhWbzRPQ1RKbW5pZEZselBEaXhzPQ==

Raw Record

{
  "text": "    import torch \n    \n    This is the error shown\n    ---------------------------------------------------------------------------\n    OSError                                   Traceback (most recent call last)\n    <ipython-input-3-5e28a5ed1325> in <cell line: 0>()\n    ----> 1 import torch\n          2 from matplotlib import pyplot as plt\n          3 import numpy as np\n          4 import cv2\n    \n    ~\\AppData\\Roaming\\Python\\Python311\\site-packages\\torch\\__init__.py in <module>\n        139                 err = ctypes.WinError(ctypes.get_last_error())\n        140                 err.strerror += f' Error loading \"{dll}\" or one of its dependencies.'\n    --> 141                 raise err\n        142 \n        143     kernel32.SetErrorMode(prev_error_mode)\n    \n    OSError: [WinError 126] The specified module could not be found. Error loading \"C:\\Users\\User\\AppData\\Roaming\\Python\\Python311\\site-packages\\torch\\lib\\shm.dll\" or one of its dependencies.\n\nI'm trying to run this in my local windows machine VSCode jupyter notebook  \n  \nBefore anyone suggests, yes i have uninstalled and then reinstalled my torch library, I've also added the path to the enviroment and also have restarted the whole thing. None of it works",
  "label": "r/pytorch",
  "dataType": "post",
  "communityName": "r/pytorch",
  "datetime": "2024-05-03",
  "username_encoded": "Z0FBQUFBQm5LakwyeDhvSFpoMGRXYXp5QUxXMEYzM2NHMFBuU1dnaTJ0ektNdm9YUENVOXd6SHBqSmdSeXVUdDEtYXdxZGw5ZllmZjlwOUFidlozOE1sdmxrY1ozQlNuNWc9PQ==",
  "url_encoded": "Z0FBQUFBQm5Lak9HZFJRZXBUWlEtVzVFbW9CQkhpVUg1RnRYcG9sWmxiVGZDeTNaWjNzUnl6cXRaNnk2QUR1YXgwbmJ5YjBvYXZEaHVOcTlNb0dTeVNOaHlzdU9TUmNWMjl3djJtMnhmVmREUzVHX3JQOHR3OTNKZ0ZMTmJSbFdNLUtDeDNnX3Z1bkxxQ0Q2bnFEb0F4elZ6YU5VamtGQ2pjekhWbzRPQ1RKbW5pZEZselBEaXhzPQ=="
}

Entry Information