ParseError: Source "OpenZeppelin...../Ownable.sol" not found: File not found


I am using a Windows system with VS Code with npm v8.1.2 and node v16.13.1. I keep getting the error

contracts/Lottery.sol:5:1: ParserError: Source "OpenZeppelin/openzeppelin-contracts@4.4.1/contracts/access/Ownable.sol" not found: File not found.
import "@openzeppelin/contracts/access/Ownable.sol";

whenever I tried to compile using brownie compile. I have already followed the suggestions posted in other threads but I am still getting the error. I've already followed the settings as shown on

I've attached the pictures below of my brownie-config.yaml file as well as the @openzeppelin file in my node_modules folder.

:1234: Code to reproduce

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.6;

import "@chainlink/contracts/src/v0.6/interfaces/AggregatorV3Interface.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

:computer: Environment


Thank you in advance!

You might need to use a higher compiler version

import "";

Or import an older version of Ownable.sol