'Can't import openzeppelin library into smart contract in brownie framework

I can't import openzeppelin's ERC721 contract. I have installed it using brownie pm install and also added it to brownie-config.yaml
I appreciate any help

Test.sol

brownie-config.sol



Solution 1:[1]

It seems this is just the solidity extension on vs code. It can't read the remapping so it throws an error when trying to import. However, when I compile the contract using bronwie compile it works.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Mijail Piekarz