I have cleanly and successfully installed PyTorch and associated packages within my virtual environment (BotVirtualEnv). It passed all required tests, including that of Python Interpreter and ensured it's selected within VSCode. In my neural_net.py script I created the following import statements (import torch, import torch.nn as nn, import torch.optim as optim) with which to work. The code itself is clean with no syntactic errors, yet the interpreter keeps throwing the below error:
Traceback (most recent call last):
File "/Users/sBliss_/Trading-Algorithm/src/neural_net.py", line 1, in <module>
import torch
ModuleNotFoundError: No module named 'torch'
I am here only because I have exhausted every troubleshooting knowledge that I have. I even created an environment variable and pointed the interpreter to it as well, and all to NO avail. Someone please help.
Editlink) with the complete details from callingactivateto actually trying to run the code?