You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(venv) C:\projects\PytestAutoTestFrameWork>python RunTestCase.py
Traceback (most recent call last):
File "C:\projects\PytestAutoTestFrameWork\RunTestCase.py", line 11, in
import pytest
File "C:\projects\PytestAutoTestFrameWork\venv\lib\site-packages\pytest.py", line 6, in
from pytest.assertion import register_assert_rewrite
File "C:\projects\PytestAutoTestFrameWork\venv\lib\site-packages_pytest\assertion_init.py", line 6, in
from pytest.assertion import rewrite
File "C:\projects\PytestAutoTestFrameWork\venv\lib\site-packages_pytest\assertion\rewrite.py", line 20, in
from pytest.assertion import util
File "C:\projects\PytestAutoTestFrameWork\venv\lib\site-packages_pytest\assertion\util.py", line 5, in
import pytest.code
File "C:\projects\PytestAutoTestFrameWork\venv\lib\site-packages_pytest_code_init.py", line 2, in
from .code import Code # noqa
File "C:\projects\PytestAutoTestFrameWork\venv\lib\site-packages_pytest_code\code.py", line 11, in
import pluggy
File "C:\projects\PytestAutoTestFrameWork\venv\lib\site-packages\pluggy_init.py", line 16, in
from .manager import PluginManager, PluginValidationError
File "C:\projects\PytestAutoTestFrameWork\venv\lib\site-packages\pluggy\manager.py", line 6, in
import importlib_metadata
File "C:\projects\PytestAutoTestFrameWork\venv\lib\site-packages\importlib_metadata_init.py", line 478, in version = version(name)
File "C:\projects\PytestAutoTestFrameWork\venv\lib\site-packages\importlib_metadata_init.py", line 445, in version
return distribution(package).version
File "C:\projects\PytestAutoTestFrameWork\venv\lib\site-packages\importlib_metadata_init_.py", line 418, in distribution
return Distribution.from_name(package)
File "C:\projects\PytestAutoTestFrameWork\venv\lib\site-packages\importlib_metadata_init_.py", line 179, in from_name
dists = resolver(name)
File "", line 1454, in find_distributions
File "C:\Users\94393\AppData\Local\Programs\Python\Python39\lib\importlib\metadata.py", line 487, in find_distributions
found = cls._search_paths(context.name, context.path)
AttributeError: 'str' object has no attribute 'name'
The text was updated successfully, but these errors were encountered:
(venv) C:\projects\PytestAutoTestFrameWork>python RunTestCase.py
Traceback (most recent call last):
File "C:\projects\PytestAutoTestFrameWork\RunTestCase.py", line 11, in
import pytest
File "C:\projects\PytestAutoTestFrameWork\venv\lib\site-packages\pytest.py", line 6, in
from pytest.assertion import register_assert_rewrite
File "C:\projects\PytestAutoTestFrameWork\venv\lib\site-packages_pytest\assertion_init.py", line 6, in
from pytest.assertion import rewrite
File "C:\projects\PytestAutoTestFrameWork\venv\lib\site-packages_pytest\assertion\rewrite.py", line 20, in
from pytest.assertion import util
File "C:\projects\PytestAutoTestFrameWork\venv\lib\site-packages_pytest\assertion\util.py", line 5, in
import pytest.code
File "C:\projects\PytestAutoTestFrameWork\venv\lib\site-packages_pytest_code_init.py", line 2, in
from .code import Code # noqa
File "C:\projects\PytestAutoTestFrameWork\venv\lib\site-packages_pytest_code\code.py", line 11, in
import pluggy
File "C:\projects\PytestAutoTestFrameWork\venv\lib\site-packages\pluggy_init.py", line 16, in
from .manager import PluginManager, PluginValidationError
File "C:\projects\PytestAutoTestFrameWork\venv\lib\site-packages\pluggy\manager.py", line 6, in
import importlib_metadata
File "C:\projects\PytestAutoTestFrameWork\venv\lib\site-packages\importlib_metadata_init.py", line 478, in
version = version(name)
File "C:\projects\PytestAutoTestFrameWork\venv\lib\site-packages\importlib_metadata_init.py", line 445, in version
return distribution(package).version
File "C:\projects\PytestAutoTestFrameWork\venv\lib\site-packages\importlib_metadata_init_.py", line 418, in distribution
return Distribution.from_name(package)
File "C:\projects\PytestAutoTestFrameWork\venv\lib\site-packages\importlib_metadata_init_.py", line 179, in from_name
dists = resolver(name)
File "", line 1454, in find_distributions
File "C:\Users\94393\AppData\Local\Programs\Python\Python39\lib\importlib\metadata.py", line 487, in find_distributions
found = cls._search_paths(context.name, context.path)
AttributeError: 'str' object has no attribute 'name'
The text was updated successfully, but these errors were encountered: