Building wheels for collected packages: jsonpath, py-mock
Building wheel for jsonpath (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [32 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-fajpqut3/jsonpath_74969dfc1d114b37a06a2372f4e65848/setup.py", line 19, in
setup(name=name,
File "/pyenv/lib/python3.9/site-packages/setuptools/distutils/core.py", line 172, in setup
ok = dist.parse_command_line()
File "/pyenv/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 475, in parse_command_line
args = self._parse_command_opts(parser, args)
File "/pyenv/lib/python3.9/site-packages/setuptools/dist.py", line 869, in _parse_command_opts
nargs = _Distribution._parse_command_opts(self, parser, args)
File "/pyenv/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 534, in _parse_command_opts
cmd_class = self.get_command_class(command)
File "/pyenv/lib/python3.9/site-packages/setuptools/dist.py", line 714, in get_command_class
self.cmdclass[command] = cmdclass = ep.load()
File "/pyenv/lib/python3.9/site-packages/setuptools/_vendor/importlib_metadata/init.py", line 208, in load
module = import_module(match.group('module'))
File "/usr/local/Python3/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/pyenv/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 27, in
from .macosx_libfile import calculate_macosx_platform_tag
File "/pyenv/lib/python3.9/site-packages/wheel/macosx_libfile.py", line 43, in
import ctypes
File "/usr/local/Python3/lib/python3.9/ctypes/init_.py", line 8, in
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for jsonpath
Running setup.py clean for jsonpath
Building wheel for py-mock (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [34 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-fajpqut3/py-mock_7899cc66e4284d25b9c8e564cd655047/setup.py", line 10, in
setuptools.setup(
File "/pyenv/lib/python3.9/site-packages/setuptools/init.py", line 104, in setup
return distutils.core.setup(**attrs)
File "/pyenv/lib/python3.9/site-packages/setuptools/distutils/core.py", line 172, in setup
ok = dist.parse_command_line()
File "/pyenv/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 475, in parse_command_line
args = self._parse_command_opts(parser, args)
File "/pyenv/lib/python3.9/site-packages/setuptools/dist.py", line 869, in _parse_command_opts
nargs = _Distribution._parse_command_opts(self, parser, args)
File "/pyenv/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 534, in _parse_command_opts
cmd_class = self.get_command_class(command)
File "/pyenv/lib/python3.9/site-packages/setuptools/dist.py", line 714, in get_command_class
self.cmdclass[command] = cmdclass = ep.load()
File "/pyenv/lib/python3.9/site-packages/setuptools/_vendor/importlib_metadata/init.py", line 208, in load
module = import_module(match.group('module'))
File "/usr/local/Python3/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/pyenv/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 27, in
from .macosx_libfile import calculate_macosx_platform_tag
File "/pyenv/lib/python3.9/site-packages/wheel/macosx_libfile.py", line 43, in
import ctypes
File "/usr/local/Python3/lib/python3.9/ctypes/init_.py", line 8, in
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for py-mock
Running setup.py clean for py-mock
Failed to build jsonpath py-mock
ERROR: Could not build wheels for jsonpath, py-mock, which is required to install pyproject.toml-based projects
大佬,这个要整个替换掉,需要改啥配置吗
太赞了
File "/Users/mac/Desktop/DiffTestPlats/DiffTestPlatform/urls.py", line 18, in
from CodeDiff import views
File "/Users/mac/Desktop/DiffTestPlats/CodeDiff/views.py", line 5, in
from CodeDiff.util.run_diff import RunDiff
File "/Users/mac/Desktop/DiffTestPlats/CodeDiff/util/run_diff.py", line 6, in
from git import Repo
ModuleNotFoundError: No module named 'git'
(venv) macdeMacBook-Pro-6:DiffTestPlats mac$
各种报错,大佬方便回复下吧
代码开源了吗,可以一起共建
要配置并行控制器,可以这样设置,不知道符不符合你的需求
第四步,需要你和开发运维一起去确定,研发给到你预期的 QPS,然后看你们线上的机器配置以及可承受的压力。
暂时想到的是这些,之前做过类似的,不知道你能不能用到。
针对不同类型的敏感数据(如姓名、身份证号、银行账号等),使用不同的加密和脱敏算法进行验证。
数据完整性验证:
在数据拉取过程中,确保数据的完整性,即所有的数据都成功地传输到目标环境。
验证数据的总量是否与源环境一致,可以通过对比源环境和目标环境的数据记录数或数据量来进行验证。
验证数据是否有丢失或重复,可以通过比较源环境和目标环境的数据内容和关键字段来进行验证。
数据一致性验证:
确保数据在两个环境之间的同步性,即目标环境中的数据与源环境中的数据保持一致。
验证数据的一致性,可以通过比较源环境和目标环境中的数据内容、关键字段和业务逻辑来进行验证。
针对关键业务指标或数据关联关系,可以进行一致性验证,确保在目标环境中的数据与源环境中的数据一致。
非直连环境的数据验证:
如果两个环境之间存在网络隔离或不允许直接连接,可以考虑使用中间介质或工具来传输数据,如加密传输文件、使用安全网关等。
在数据传输过程中,确保数据的完整性和安全性,以及对传输过程中的异常情况进行监控和处理。
按照正常的逻辑结合项目去区分,侧重点,这些只能给你一些参考,每个业务不一致,所以侧重点也不一样。VR 项目建议也可关注下硬件相关的。
功能测试:测试 VR 虚拟培训的各个功能是否按照需求规格书或产品说明书的要求正常运行,包括场景切换、角色控制、交互操作等。
性能测试:测试 VR 虚拟培训的性能指标,包括帧率、延迟、渲染时间等,以保证用户在使用过程中不会出现卡顿、掉帧等问题。
兼容性测试:测试 VR 虚拟培训在不同硬件平台和操作系统上的兼容性,以保证用户可以在各种设备上正常使用。
安全测试:测试 VR 虚拟培训的安全性,包括数据加密、用户认证、权限控制等,以保证用户数据和隐私的安全。
在测试 VR 虚拟培训时,需要注意以下几个点:
测试环境的搭建:VR 虚拟培训通常需要使用专业的 VR 设备和软件,测试前需要搭建好相应的测试环境。
测试用例的设计:测试用例需要根据需求规格书或产品说明书进行设计,覆盖各个功能和场景,以保证测试的全面性和准确性。
测试数据的准备:测试数据需要根据测试用例进行准备,包括各种场景下的角色、物品、交互操作等。
测试人员的培训:测试人员需要对 VR 虚拟培训的使用和测试方法进行培训,以保证测试人员的专业性和测试效果。
测试报告的撰写:测试报告需要详细记录测试过程、测试结果和测试发现,以便开发人员进行问题修复和优化。
在评估需要用到的压力机的配置和数量时,可以考虑以下逻辑和方法论:
大佬,你的运行环境的工具版本都是多少呀,现在执行一步就错一步
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
(venv) macdeMacBook-Pro-6:DiffTestPlatform mac$ pip3 install mysqlclient==1.4.2.post1
Collecting mysqlclient==1.4.2.post1
Using cached mysqlclient-1.4.2.post1.tar.gz (85 kB)
Preparing metadata (setup.py) ... done
Using legacy 'setup.py install' for mysqlclient, since package 'wheel' is not installed.
Installing collected packages: mysqlclient
Running setup.py install for mysqlclient ... error
ERROR: Command errored out with exit status 1:
command: /Users/mac/Desktop/Autotestplat/venv/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/rv/405qccgj5f53d6kl66zhzxnw0000gn/T/pip-install-v2jjx4kq/mysqlclient_26381edf041844fe81f195c2171ff75f/setup.py'"'"'; file='"'"'/private/var/folders/rv/405qccgj5f53d6kl66zhzxnw0000gn/T/pip-install-v2jjx4kq/mysqlclient_26381edf041844fe81f195c2171ff75f/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/rv/405qccgj5f53d6kl66zhzxnw0000gn/T/pip-record-q8mrkt6p/install-record.txt --single-version-externally-managed --compile --install-headers /Users/mac/Desktop/Autotestplat/venv/include/site/python3.6/mysqlclient
cwd: /private/var/folders/rv/405qccgj5f53d6kl66zhzxnw0000gn/T/pip-install-v2jjx4kq/mysqlclient_26381edf041844fe81f195c2171ff75f/
Complete output (35 lines):
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
running install
running build
running build_py
creating build
creating build/lib.macosx-10.6-intel-3.6
creating build/lib.macosx-10.6-intel-3.6/MySQLdb
copying MySQLdb/init.py -> build/lib.macosx-10.6-intel-3.6/MySQLdb
copying MySQLdb/exceptions.py -> build/lib.macosx-10.6-intel-3.6/MySQLdb
copying MySQLdb/compat.py -> build/lib.macosx-10.6-intel-3.6/MySQLdb
copying MySQLdb/connections.py -> build/lib.macosx-10.6-intel-3.6/MySQLdb
copying MySQLdb/converters.py -> build/lib.macosx-10.6-intel-3.6/MySQLdb
copying MySQLdb/cursors.py -> build/lib.macosx-10.6-intel-3.6/MySQLdb
copying MySQLdb/release.py -> build/lib.macosx-10.6-intel-3.6/MySQLdb
copying MySQLdb/times.py -> build/lib.macosx-10.6-intel-3.6/MySQLdb
creating build/lib.macosx-10.6-intel-3.6/MySQLdb/constants
copying MySQLdb/constants/init.py -> build/lib.macosx-10.6-intel-3.6/MySQLdb/constants
copying MySQLdb/constants/CLIENT.py -> build/lib.macosx-10.6-intel-3.6/MySQLdb/constants
copying MySQLdb/constants/CR.py -> build/lib.macosx-10.6-intel-3.6/MySQLdb/constants
copying MySQLdb/constants/ER.py -> build/lib.macosx-10.6-intel-3.6/MySQLdb/constants
copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.macosx-10.6-intel-3.6/MySQLdb/constants
copying MySQLdb/constants/FLAG.py -> build/lib.macosx-10.6-intel-3.6/MySQLdb/constants
running build_ext
building 'MySQLdb._mysql' extension
creating build/temp.macosx-10.6-intel-3.6
creating build/temp.macosx-10.6-intel-3.6/MySQLdb
gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -Dversion_info=(1,4,2,'post',1) -Dversion=1.4.2.post1 -I/usr/local/mysql-5.7.31-macos10.14-x86_64/include -I/Users/mac/Desktop/Autotestplat/venv/include -I/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c MySQLdb/_mysql.c -o build/temp.macosx-10.6-intel-3.6/MySQLdb/_mysql.o
gcc -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -g build/temp.macosx-10.6-intel-3.6/MySQLdb/_mysql.o -L/usr/local/mysql-5.7.31-macos10.14-x86_64/lib -lmysqlclient -o build/lib.macosx-10.6-intel-3.6/MySQLdb/_mysql.cpython-36m-darwin.so
ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS)
ld: warning: ignoring file /usr/local/mysql-5.7.31-macos10.14-x86_64/lib/libmysqlclient.dylib, building for macOS-i386 but attempting to link with file built for macOS-x86_64
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd (3 slices)
ld: dynamic main executables must link with libSystem.dylib for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /Users/mac/Desktop/Autotestplat/venv/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/rv/405qccgj5f53d6kl66zhzxnw0000gn/T/pip-install-v2jjx4kq/mysqlclient_26381edf041844fe81f195c2171ff75f/setup.py'"'"'; __file='"'"'/private/var/folders/rv/405qccgj5f53d6kl66zhzxnw0000gn/T/pip-install-v2jjx4kq/mysqlclient_26381edf041844fe81f195c2171ff75f/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file_, '"'"'exec'"'"'))' install --record /private/var/folders/rv/405qccgj5f53d6kl66zhzxnw0000gn/T/pip-record-q8mrkt6p/install-record.txt --single-version-externally-managed --compile --install-headers /Users/mac/Desktop/Autotestplat/venv/include/site/python3.6/mysqlclient Check the logs for full command output.
(venv) macdeMacBook-Pro-6:DiffTestPlatform mac$
代码有开源计划吗