Error compiling brownie with openzeppelin

Hi,
I have the following error when I do "brownie compile"

Invalid command. Try 'brownie --help' for available commands.
PS C:\Users\Admin\nft project> brownie compile
INFO: Could not find files for the given pattern(s).
Compiling contracts...
Solc version: 0.6.6
Optimizer: Enabled Runs: 200
EVM Version: Istanbul
CompilerError: solc returned the following errors:

contracts/simplecollectible.sol:3:1: ParserError: Source "@openzeppelin/contracts/token/ERC721/ERC721.sol" not found: *File outside of allowed directories.
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
^-------------------------------------------------------^

the code on my contract is the following:

//SPDX-Licence-Identifier:<SPDX-Licence>

pragma solidity ^0.6.6;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";

contract simplecollectibe is ERC721 {

    uint256 public tokencounter;

    constructor () ERC721("Dogie","DOG") public {

        tokencounter= 0;

    }

    function createCollectible() public returns (uint256){

        uint256 newtokenid=tokencounter;

        _safeMint(msg.sender,newtokenid);

        tokencounter= tokencounter + 1;

        return newtokenid;

    }

}

any suggestions on how to fix it? thanks!!

Hi, I think you can use this command to have a try:

brownie pm install OpenZeppelin/openzeppelin-contracts

@Skyge thanks for your help. But it is still giving me the same error:

SUCCESS: Package 'OpenZeppelin/openzeppelin-contracts@3.0.0' has been installed
PS C:\Users\Admin\nft project> brownie compile
Solc version: 0.6.6
Optimizer: Enabled Runs: 200
EVM Version: Istanbul
CompilerError: solc returned the following errors:

contracts/simplecollectible.sol:3:1: ParserError: Source "@openzeppelin/contracts/token/ERC721/ERC721.sol" not found: File outside of allowed directories.
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
^-------------------------------------------------------^

Any other ideas? thanks

Just read the Brownie documentation: The Configuration File | Brownie 1.17.2 so it seems like you should make a new file named brownie-config.yaml, use the keyword remap to import what you will use in the package, just like:

dependencies:
  - OpenZeppelin/openzeppelin-contracts@3.0.0
compiler:
  solc:
    remappings:
      - '@openzeppelin=OpenZeppelin/openzeppelin-contracts@3.0.0'