It seemed to be caused by the problem that the “conda” command was unavailable. I was trying to install the OpenCV library for Python in a virtual environment on Anaconda. In reality, the error text is much longer. Figure 1: Error displayed on the VS Code terminal screen. But then I got an error… I was stuck for a while. I installed Visual Studio Code and Python environment with Anaconda. Problem: I can’t use the conda command in Visual Studio Code… Creating a virtual environment with conda.Solution: Execute an initialize command for PowerShell.Problem: I can't use the conda command in Visual Studio Code….
0 Comments
Leave a Reply. |