-1

when i run my code in pycharm - everything is ok. But when i try run my code in cmd I'm getting an error:

File "E:\programowanie\automatyzacja\otomoto\tests\FooterLinks.py", line 4, in from otomoto.pages.HomePage import HomePageLocators ModuleNotFoundError: No module named 'otomoto'

This is my Tree

Import code:

import unittest
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from otomoto.pages.HomePage import HomePageLocators

1 Answers1

0

try installing otomoto by using this command:-

pip install otomoto
  • ERROR: Could not find a version that satisfies the requirement otomoto (from versions: none) ERROR: No matching distribution found for otomoto – Hubert Łuczak Sep 14 '22 at 14:16