zykzml7788 / apitestframework Goto Github PK
View Code? Open in Web Editor NEW基于Python的接口自动化框架
基于Python的接口自动化框架
下载代码运行报错如题,请问如何配置解决,谢谢。以下是报错信息
C:\Users\test\ApiTestFrameWork\venv\Scripts\python.exe C:\Users\test\ApiTestFrameWork/runCase.py
Traceback (most recent call last):
File "C:\Users\test\ApiTestFrameWork\runCase.py", line 15, in
import pytest
File "C:\Users\test\ApiTestFrameWork\venv\lib\site-packages\pytest.py", line 6, in
from pytest.assertion import register_assert_rewrite
File "C:\Users\test\ApiTestFrameWork\venv\lib\site-packages_pytest\assertion_init.py", line 6, in
from pytest.assertion import rewrite
File "C:\Users\test\ApiTestFrameWork\venv\lib\site-packages_pytest\assertion\rewrite.py", line 20, in
from pytest.assertion import util
File "C:\Users\test\ApiTestFrameWork\venv\lib\site-packages_pytest\assertion\util.py", line 5, in
import pytest.code
File "C:\Users\test\ApiTestFrameWork\venv\lib\site-packages_pytest_code_init.py", line 2, in
from .code import Code # noqa
File "C:\Users\test\ApiTestFrameWork\venv\lib\site-packages_pytest_code\code.py", line 11, in
import pluggy
File "C:\Users\test\ApiTestFrameWork\venv\lib\site-packages\pluggy_init.py", line 16, in
from .manager import PluginManager, PluginValidationError
File "C:\Users\test\ApiTestFrameWork\venv\lib\site-packages\pluggy\manager.py", line 6, in
import importlib_metadata
File "C:\Users\test\ApiTestFrameWork\venv\lib\site-packages\importlib_metadata_init.py", line 478, in
version = version(name)
File "C:\Users\test\ApiTestFrameWork\venv\lib\site-packages\importlib_metadata_init.py", line 445, in version
return distribution(package).version
File "C:\Users\test\ApiTestFrameWork\venv\lib\site-packages\importlib_metadata_init_.py", line 418, in distribution
return Distribution.from_name(package)
File "C:\Users\test\ApiTestFrameWork\venv\lib\site-packages\importlib_metadata_init_.py", line 179, in from_name
dists = resolver(name)
File "", line 1389, in find_distributions
File "C:\Users\test\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'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.