Hello! I have set up a virtual environment and installed the torch module in the virtual environment, ensured it using pip list and import torch. Next when I try to install modules from a requirements.txt inside a folder(while running under the same virtual environment), it keeps telling me that the module torch is not found:
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jakob\AppData\Local\Temp\pip-build-env-5dayfvhi\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "C:\Users\jakob\AppData\Local\Temp\pip-build-env-5dayfvhi\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users\jakob\AppData\Local\Temp\pip-build-env-5dayfvhi\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "<string>", line 123, in <module>
File "<string>", line 27, in get_extensions
ModuleNotFoundError: No module named 'torch'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
Γ Getting requirements to build wheel did not run successfully.
β exit code: 1
β°β> See above for output.```
I think there might be a different alias or a gloabl interpreter it is referring to but I'm not sure how that is possible. I would appreciate any help. Also Im using VS Code.