Photo Mode errors

Hello!
I want to use Photo Mode package in my project but I receive a lot of errors after importing this package:

Assets\PhotoMode\PM-Scripts\CustomInputProvider.cs(2,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PhotoMode\PM-Scripts\CustomInputProvider.cs(3,14): error CS0246: The type or namespace name 'Cinemachine' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoMode.cs(8,7): error CS0246: The type or namespace name 'Cinemachine' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoModeInputs.cs(4,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\Scripts\Menu2\CameraMovee.cs(5,7): warning CS0105: The using directive for 'UnityEngine.EventSystems' appeared previously in this namespace

Assets\Scripts\Menu2\CameraMovee1.cs(6,7): warning CS0105: The using directive for 'UnityEngine.EventSystems' appeared previously in this namespace

Assets\Scripts\Menu2\ChangeTextCustomize.cs(14,12): warning CS0108: 'ChangeTextCustomize.name' hides inherited member 'Object.name'. Use the new keyword if hiding was intended.

Assets\Scripts\Menu2\MultiPlayer\Camere\ChangeCam.cs(8,23): warning CS0108: 'ChangeCam.camera' hides inherited member 'Component.camera'. Use the new keyword if hiding was intended.

Assets\Scripts\InGame\ChangeCamera.cs(13,9): warning CS0108: 'ChangeCamera.camera' hides inherited member 'Component.camera'. Use the new keyword if hiding was intended.

Assets\Scripts\Menu2\MultiPlayer\InGame\Chat2.cs(12,23): warning CS0108: 'Chat2.photonView' hides inherited member 'MonoBehaviourPun.photonView'. Use the new keyword if hiding was intended.

Assets\Scripts\Menu2\MultiPlayer\InGame\Chat2.cs(123,18): warning CS0108: 'Chat2.SendMessage(string)' hides inherited member 'Component.SendMessage(string)'. Use the new keyword if hiding was intended.

Assets\PhotoMode\PM-Scripts\CustomInputProvider.cs(9,55): error CS0246: The type or namespace name 'IInputAxisProvider' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\CustomInputProvider.cs(21,39): error CS0246: The type or namespace name 'InputAction' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\CustomInputProvider.cs(11,34): error CS0246: The type or namespace name 'InputActionReference' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoMode.cs(20,17): error CS0246: The type or namespace name 'CinemachineBrain' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoMode.cs(21,9): error CS0246: The type or namespace name 'CinemachineBrain' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoModeInputs.cs(10,74): error CS0246: The type or namespace name 'InputDevice' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoMode.cs(22,9): error CS0246: The type or namespace name 'CinemachineBlendDefinition' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoMode.cs(30,17): error CS0246: The type or namespace name 'CinemachineFreeLook' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoModeInputs.cs(110,44): error CS0246: The type or namespace name 'InputAction' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoMode.cs(31,17): error CS0246: The type or namespace name 'CinemachineCameraOffset' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoModeInputs.cs(115,52): error CS0246: The type or namespace name 'InputAction' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoModeInputs.cs(120,50): error CS0246: The type or namespace name 'InputAction' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoModeInputs.cs(125,48): error CS0246: The type or namespace name 'InputAction' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoModeInputs.cs(130,43): error CS0246: The type or namespace name 'InputAction' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoModeInputs.cs(135,45): error CS0246: The type or namespace name 'InputAction' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoModeInputs.cs(140,47): error CS0246: The type or namespace name 'InputAction' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoModeInputs.cs(145,43): error CS0246: The type or namespace name 'InputAction' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoModeInputs.cs(150,44): error CS0246: The type or namespace name 'InputAction' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoModeInputs.cs(155,48): error CS0246: The type or namespace name 'InputAction' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoModeInputs.cs(160,48): error CS0246: The type or namespace name 'InputAction' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoModeInputs.cs(165,44): error CS0246: The type or namespace name 'InputAction' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoModeInputs.cs(170,54): error CS0246: The type or namespace name 'InputAction' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoModeInputs.cs(17,17): error CS0246: The type or namespace name 'InputDevice' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoModePauser.cs(10,23): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoModeInputs.cs(26,34): error CS0246: The type or namespace name 'InputActionAsset' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoModeInputs.cs(27,16): error CS0246: The type or namespace name 'InputActionReference' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoModeInputs.cs(28,16): error CS0246: The type or namespace name 'InputActionReference' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoModeInputs.cs(29,16): error CS0246: The type or namespace name 'InputActionReference' could not be found (are you missing a using directive or an assembly reference?)

Assets\PhotoMode\PM-Scripts\PhotoModeInputs.cs(30,16): error CS0246: The type or namespace name 'InputActionReference' could not be found (are you missing a using directive or an assembly reference?)

I am using Unity 2021.1.16f1 .

How to fix it?

Thank you!

I used Package Manager to install Cinemachine and Input System and the errors are fixed.