Error importing OpenZeppelin contracts

Hello,
Escuse me for disturbing you,

I was following the OpenZepellin doc on developing smart contracts and after installing truffle (in my current working directory) with command

npx truffle init

I then tried installing the OpenZeppelin contracts library (also in my current working directory) with command

npm install --save-dev @openzeppelin/contracts
it seemed like it worked, but then when I try importing the Ownable contract in my contracts folder in VSCode, with the command

import "@openzeppelin/contracts/access/Ownable.sol";

i get this

Source "@openzeppelin/contracts/access/Ownable.sol" not found: File import callback not supported

Thanks of reading, maybe someone can help me.

Are you using VS Code? This looks related to the Solidity VS Code extension. See https://stackoverflow.com/questions/67321111/file-import-callback-not-supported for some possible solutions.

As an alternative, you can try the Solidity + Hardhat VS Code extension.