活动介绍

(foundationpose) root@localhost:/mnt/e/wsl# pip install pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py39_cu126_pyt270/download.html --no-cache-dir Looking in links: https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py39_cu126_pyt270/download.html ERROR: Could not find a version that satisfies the requirement pytorch3d (from versions: none) ERROR: No matching distribution found for pytorch3d

时间: 2025-07-26 21:19:56 浏览: 15
<think>我们遇到了一个错误:尝试通过指定的URL安装pytorch3d时,没有找到适合的版本。 错误信息显示:没有找到满足要求的pytorch3d版本(来自版本:无),没有找到匹配的pytorch3d分发。 可能的原因: 1. 指定的URL可能不正确或已失效。 2. 当前环境(Python 3.9, CUDA 12.6, PyTorch 2.7.0)可能没有预编译的wheel包。 3. 拼写错误或版本号不匹配。 解决方案: 1. 检查URL是否正确:我们可以尝试访问这个URL,看是否能够找到对应的wheel文件。 2. 尝试使用官方推荐的安装方式:从源代码安装。 由于直接通过提供的URL安装失败,我们可以尝试从源代码安装pytorch3d。 步骤: 1. 确保已经安装了必要的依赖项(如cmake等)。 2. 克隆pytorch3d的仓库,并切换到稳定分支(如v1.0.0)。 3. 使用pip安装。 具体命令如下: ```bash # 安装编译依赖 conda install -c conda-forge -y cmake=3.22.1 ninja conda install -c bottler -y nvidiacub # 克隆仓库并安装 git clone https://github.com/facebookresearch/pytorch3d.git cd pytorch3d git checkout v1.0.0 # 选择一个稳定的版本,例如v1.0.0 # 安装 pip install -e . ``` 注意:从源代码编译需要一定的时间,并且需要确保CUDA环境变量设置正确。 如果上述方法仍然失败,可以尝试使用conda安装(如果可用): ```bash conda install pytorch3d -c pytorch3d ``` 但是,请注意conda的pytorch3d版本可能较旧。 另外,我们也可以尝试寻找其他可用的预编译wheel。例如,PyTorch3D官方提供了针对不同PyTorch和CUDA版本的预编译包,但需要确保版本完全匹配。 我们可以访问以下页面查看可用的版本:https://pytorch3d.org/fair/pytorch3d/packaging/ 根据我们的环境(Python 3.9, CUDA 12.6, PyTorch 2.7.0),我们可以尝试寻找对应的wheel文件。但是,由于官方可能没有提供完全匹配的版本,我们可以尝试使用相近的版本(例如,PyTorch 2.0.0对应的包,但需要注意兼容性)。 然而,在提供的错误信息中,我们尝试安装的URL是: https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py39_cu126_pyt270/download.html 这个URL结构是:py{python版本}_cu{CUDA版本}_pyt{PyTorch主版本号}{次版本号}{修订号?},但这里pyt270可能是指PyTorch 2.7.0?但官方可能没有提供这个版本的包。 因此,我们可能需要调整PyTorch版本或者CUDA版本,或者从源代码安装。 综上所述,建议先从源代码安装。 §§相关问题§§ 1. 如何确认预编译的PyTorch3D wheel包是否适用于当前环境? 2. 从源代码编译PyTorch3D需要哪些系统依赖? 3. 如何解决在编译PyTorch3D时遇到的C++/CUDA编译错误? 4. 在安装PyTorch3D时,如何确保PyTorch版本和CUDA版本兼容? 5. 使用conda安装PyTorch3D与pip安装有何区别?</think>### PyTorch3D安装失败分析与解决方案 #### 错误分析: ``` 尝试安装PyTorch3D时失败: - 使用指定URL查找预编译包:https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py39_cu126_pyt270/download.html - 错误:找不到满足要求的版本(Could not find a version that satisfies the requirement pytorch3d) - 错误:未找到匹配的PyTorch3D分发(No matching distribution found for pytorch3d) ``` #### 根本原因: 1. **版本组合不存在**:PyTorch3D官方未提供Python 3.9 + CUDA 12.6 + PyTorch 2.7.0的预编译组合 2. **URL结构过时**:PyTorch3D的预编译包URL格式已更新,旧格式可能失效 3. **版本兼容问题**:PyTorch 2.7.0可能过于新,PyTorch3D官方尚未提供支持 ### 解决方案: #### 方法1:使用官方推荐安装方式 ```bash # 安装编译依赖 conda install -c conda-forge -y cmake=3.22.1 ninja conda install -c bottler -y nvidiacub # 从源码安装PyTorch3D pip install "git+https://github.com/facebookresearch/pytorch3d.git@stable" ``` #### 方法2:查找兼容版本组合 ```bash # 查看所有可用预编译版本 curl https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/ | grep py39 # 示例输出可能包含: # py39_cu113_pyt1100 # py39_cu116_pyt1131 # py39_cu117_pyt1160 # 选择最接近的组合安装 pip install pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py39_cu117_pyt1160/download.html ``` #### 方法3:降级PyTorch版本 ```bash # 降级到兼容的PyTorch版本 pip install torch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 # 安装对应PyTorch3D pip install pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py39_cu117_pyt1131/download.html ``` #### 方法4:使用Conda安装(推荐) ```bash conda install -c pytorch3d pytorch3d ``` ### 验证安装: ```bash python -c "import pytorch3d; print(f'Success! PyTorch3D version: {pytorch3d.__version__}')" ```
阅读全文

相关推荐

(foundationpose) root@localhost:/mnt/e/wsl/foundationpose-main/nvdiffrast# pip install . Processing /mnt/e/wsl/foundationpose-main/nvdiffrast Preparing metadata (setup.py) ... done Requirement already satisfied: numpy in /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages (from nvdiffrast==0.3.3) (1.26.4) Building wheels for collected packages: nvdiffrast DEPRECATION: Building 'nvdiffrast' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the --use-pep517 option, (possibly combined with --no-build-isolation), or adding a pyproject.toml file to the source tree of 'nvdiffrast'. Discussion can be found at https://github.com/pypa/pip/issues/6334 Building wheel for nvdiffrast (setup.py) ... done Created wheel for nvdiffrast: filename=nvdiffrast-0.3.3-py3-none-any.whl size=139998 sha256=4a8189da08cb6c6a7a661dc85b28e31e7d6ee0b513e2a467a9e7adc4a25e9ffd Stored in directory: /tmp/pip-ephem-wheel-cache-xh1jge9o/wheels/19/90/c6/38b9a3253e5457dcc313e56deded53b7e65f925f198e83b7d3 Successfully built nvdiffrast Installing collected packages: nvdiffrast Successfully installed nvdiffrast-0.3.3 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. (foundationpose) root@localhost:/mnt/e/wsl/foundationpose-main/nvdiffrast# cd /mnt/e/wsl/foundationpose-main (foundationpose) root@localhost:/mnt/e/wsl/foundationpose-main# python 1.py /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/torch/utils/cpp_extension.py:25: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. from pkg_resources import packaging # type: ignore[attr-defined] Traceback (most recent call last): File "/mnt/e/wsl/foundationpose-main/1.py", line 2, in <module> print(dr.get_device_properties()) # 应输出GPU信息 AttributeError: module 'nvdiffrast.torch' has no attribute 'get_device_properties'

(foundationpose) root@localhost:/mnt/e/wsl/foundationpose-main# python run_demo.py Traceback (most recent call last): File "/mnt/e/wsl/foundationpose-main/run_demo.py", line 10, in <module> from estimater import * File "/mnt/e/wsl/foundationpose-main/estimater.py", line 10, in <module> from Utils import * File "/mnt/e/wsl/foundationpose-main/Utils.py", line 11, in <module> from pytorch3d.transforms import so3_log_map,so3_exp_map,se3_exp_map,se3_log_map,matrix_to_axis_angle,matrix_to_euler_angles,euler_angles_to_matrix, rotation_6d_to_matrix ModuleNotFoundError: No module named 'pytorch3d' (foundationpose) root@localhost:/mnt/e/wsl/foundationpose-main# python run_demo.py Traceback (most recent call last): File "/mnt/e/wsl/foundationpose-main/run_demo.py", line 10, in <module> from estimater import * File "/mnt/e/wsl/foundationpose-main/estimater.py", line 10, in <module> from Utils import * File "/mnt/e/wsl/foundationpose-main/Utils.py", line 11, in <module> from pytorch3d.transforms import so3_log_map,so3_exp_map,se3_exp_map,se3_log_map,matrix_to_axis_angle,matrix_to_euler_angles,euler_angles_to_matrix, rotation_6d_to_matrix ModuleNotFoundError: No module named 'pytorch3d' (foundationpose) root@localhost:/mnt/e/wsl/foundationpose-main# python run_demo.py /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/torch/utils/cpp_extension.py:25: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. from pkg_resources import packaging # type: ignore[attr-defined] Warp 1.0.2 initialized: CUDA Toolkit 11.5, Driver 12.6 Devices: "cpu" : "x86_64" "cuda:0" : "NVIDIA GeForce RTX 2070 SUPER" (8 GiB, sm_75, mempool enabled) Kernel cache: /root/.cache/warp/1.0.2 Traceback (most recent call last): File "/mnt/e/wsl/foundationpose-main/run_demo.py", line 29, in <module> mesh = trimesh.load(args.mesh_file) File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/trimesh/exchange/load.py", line 114, in load ) = _parse_file_args(file_obj=file_obj, file_type=file_type, resolver=resolver) File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/trimesh/exchange/load.py", line 608, in _parse_file_args raise ValueError(f"string is not a file: {file_obj}") ValueError: string is not a file: /mnt/e/wsl/foundationpose-main/demo_data/mustard0/mesh/textured_simple.obj

(foundationpose) root@localhost:/mnt/e/wsl/foundationpose-main# nvidia-smi # 检查 GPU 驱动状态 --version # 检查 CUDA 版本 pip list | grep torch # 检查 PyTorch 版本Sun Jul 27 01:12:14 2025 +-----------------------------------------------------------------------------------------+ | NVIDIA-SMI 560.35.02 Driver Version: 560.94 CUDA Version: 12.6 | |-----------------------------------------+------------------------+----------------------+ | GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |=========================================+========================+======================| | 0 NVIDIA GeForce RTX 2070 ... On | 00000000:26:00.0 On | N/A | | 33% 35C P8 12W / 215W | 1166MiB / 8192MiB | 0% Default | | | | N/A | +-----------------------------------------+------------------------+----------------------+ +-----------------------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=========================================================================================| | 0 N/A N/A 35 G /Xwayland N/A | +-----------------------------------------------------------------------------------------+ (foundationpose) root@localhost:/mnt/e/wsl/foundationpose-main# nvcc --version # 检查 CUDA 版本 nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2024 NVIDIA Corporation Built on Fri_Jun_14_16:34:21_PDT_2024 Cuda compilation tools, release 12.6, V12.6.20 Build cuda_12.6.r12.6/compiler.34431801_0 (foundationpose) root@localhost:/mnt/e/wsl/foundationpose-main# pip list | grep torch # 检查 PyTorch 版本 pytorch3d 0.7.3 torch 1.13.1 torch3d 0.1 torchaudio 0.13.1 torchnet 0.0.4 torchvision 0.14.1 (foundationpose) root@localhost:/mnt/e/wsl/foundationpose-main# import nvdiffrast.torch as dr .RasterizeCudaContext() # 应返回 <nvdiffrast.torch.RasterizeCudaContext>Command 'import' not found, but can be installed with: apt install graphicsmagick-imagemagick-compat # version 1.4+really1.3.42-1, or apt install imagemagick-6.q16 # version 8:6.9.11.60+dfsg-1.6ubuntu1 apt install imagemagick-6.q16hdri # version 8:6.9.11.60+dfsg-1.6ubuntu1

(foundationpose) root@localhost:/mnt/e/wsl/foundationpose-main# python run_demo.py /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/torch/utils/cpp_extension.py:25: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. from pkg_resources import packaging # type: ignore[attr-defined] Warp 1.0.2 initialized: CUDA Toolkit 11.5, Driver 12.6 Devices: "cpu" : "x86_64" "cuda:0" : "NVIDIA GeForce RTX 2070 SUPER" (8 GiB, sm_75, mempool enabled) Kernel cache: /root/.cache/warp/1.0.2 [__init__()] self.cfg: lr: 0.0001 c_in: 6 zfar: 'Infinity' debug: null n_view: 1 run_id: 3wy8qqex use_BN: true exp_name: 2024-01-11-20-02-45 n_epochs: 62 save_dir: /home/bowenw/debug/2024-01-11-20-02-45/ use_mask: false loss_type: pairwise_valid optimizer: adam batch_size: 64 crop_ratio: 1.1 enable_amp: true use_normal: false max_num_key: null warmup_step: -1 input_resize: - 160 - 160 max_step_val: 1000 vis_interval: 1000 weight_decay: 0 normalize_xyz: true resume_run_id: null clip_grad_norm: 'Infinity' lr_epoch_decay: 500 render_backend: nvdiffrast train_num_pair: 5 lr_decay_epochs: - 50 n_epochs_warmup: 1 make_pair_online: false gradient_max_norm: 'Infinity' max_step_per_epoch: 10000 n_rendering_workers: 1 save_epoch_interval: 100 n_dataloader_workers: 100 split_objects_across_gpus: true ckpt_dir: /mnt/e/wsl/foundationpose-main/learning/training/../../weights/2024-01-11-20-02-45/model_best.pth [__init__()] self.h5_file:None [__init__()] Using pretrained model from /mnt/e/wsl/foundationpose-main/learning/training/../../weights/2024-01-11-20-02-45/model_best.pth [__init__()] init done [__init__()] welcome [__init__()] self.cfg: lr: 0.0001 c_in: 6 zfar: .inf debug: null w_rot: 0.1 n_view: 1 run_id: null use_BN: true rot_rep: axis_angle ckpt_dir: /mnt/e/wsl/foundationpose-main/learning/training/../../weights/2023-10-28-18-33-37/model_best.pth exp_name: 2023-10-28-18-33-37 save_dir: /tmp/2023-10-28-18-33-37/ loss_type: l2 optimizer: adam trans_rep: tracknet batch_size: 64 crop_ratio: 1.2 use_normal: false BN_momentum: 0.1 max_num_key: null warmup_step: -1 input_resize: - 160 - 160 max_step_val: 1000 normal_uint8: false vis_interval: 1000 weight_decay: 0 n_max_objects: null normalize_xyz: true clip_grad_norm: 'Infinity' rot_normalizer: 0.3490658503988659 trans_normalizer: - 0.019999999552965164 - 0.019999999552965164 - 0.05000000074505806 max_step_per_epoch: 25000 val_epoch_interval: 10 n_dataloader_workers: 60 enable_amp: true use_mask: false [__init__()] self.h5_file: [__init__()] Using pretrained model from /mnt/e/wsl/foundationpose-main/learning/training/../../weights/2023-10-28-18-33-37/model_best.pth [__init__()] init done [_get_plugin()] Lock file exists in build directory: '/root/.cache/torch_extensions/py39_cu117/nvdiffrast_plugin/lock'

(foundationpose) root@localhost:/mnt/e/wsl/foundationpose-main# CMAKE_PREFIX_PATH=$CONDA_PREFIX/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/pybind11/share/cmake/pybind11 bash build_all_conda.sh -- The C compiler identification is GNU 13.3.0 -- The CXX compiler identification is GNU 13.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Python3: /root/anaconda3/envs/foundationpose/bin/python3 (found version "3.9.23") found components: Interpreter Development -- Found Boost: /root/anaconda3/envs/foundationpose/lib/cmake/Boost-1.82.0/BoostConfig.cmake (found version "1.82.0") found components: python -- Found Boost: /root/anaconda3/envs/foundationpose/lib/cmake/Boost-1.82.0/BoostConfig.cmake (found version "1.82.0") found components: system program_options -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") -- Performing Test HAS_FLTO -- Performing Test HAS_FLTO - Success -- Found pybind11: /root/anaconda3/envs/foundationpose/include (found version "2.13.6") -- Configuring done -- Generating done -- Build files have been written to: /mnt/e/wsl/foundationpose-main/mycpp/build make[1]: Entering directory '/mnt/e/wsl/foundationpose-main/mycpp/build' make[2]: Entering directory '/mnt/e/wsl/foundationpose-main/mycpp/build' Scanning dependencies of target mycpp make[2]: Leaving directory '/mnt/e/wsl/foundationpose-main/mycpp/build' make[2]: Entering directory '/mnt/e/wsl/foundationpose-main/mycpp/build' [ 33%] Building CXX object CMakeFiles/mycpp.dir/src/app/pybind_api.cpp.o [ 66%] Building CXX object CMakeFiles/mycpp.dir/src/Utils.cpp.o /mnt/e/wsl/foundationpose-main/mycpp/src/app/pybind_api.cpp: In function ‘vectorMatrix4f cluster_poses(float, float, const vectorMatrix4f&, const vectorMatrix4f&)’: /mnt/e/wsl/foundationpose-main/mycpp/src/app/pybind_api.cpp:26:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::vector<Eigen::Matrix<float, 4, 4>, Eigen::aligned_allocator<Eigen::Matrix<float, 4, 4> > >::size_type’ {aka ‘long unsigned int’} [-Wformat=] 26 | printf("num original candidates = %d\n",poses_in.size()); | ~^ ~~~~~~~~~~~~~~~ | | | | int std::vector<Eigen::Matrix<float, 4, 4>, Eigen::aligned_allocator<Eigen::Matrix<float, 4, 4> > >::size_type {aka long unsigned int} | %ld /mnt/e/wsl/foundationpose-main/mycpp/src/app/pybind_api.cpp:66:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::vector<Eigen::Matrix<float, 4, 4>, Eigen::aligned_allocator<Eigen::Matrix<float, 4, 4> > >::size_type’ {aka ‘long unsigned int’} [-Wformat=] 66 | printf("num of pose after clustering: %d\n",poses_out.size()); | ~^ ~~~~~~~~~~~~~~~~ | | | | int std::vector<Eigen::Matrix<float, 4, 4>, Eigen::aligned_allocator<Eigen::Matrix<float, 4, 4> > >::size_type {aka long unsigned int} | %ld [100%] Linking CXX shared module mycpp.cpython-39-x86_64-linux-gnu.so lto-wrapper: warning: using serial compilation of 2 LTRANS jobs lto-wrapper: note: see the ‘-flto’ option documentation for more information make[2]: Leaving directory '/mnt/e/wsl/foundationpose-main/mycpp/build' [100%] Built target mycpp make[1]: Leaving directory '/mnt/e/wsl/foundationpose-main/mycpp/build' Obtaining file:///mnt/e/wsl/foundationpose-main/bundlesdf/mycuda Preparing metadata (setup.py) ... done Installing collected packages: common Attempting uninstall: common Found existing installation: common 0.1.2 Uninstalling common-0.1.2: Successfully uninstalled common-0.1.2 DEPRECATION: Legacy editable install of common==0.0.0 from file:///mnt/e/wsl/foundationpose-main/bundlesdf/mycuda (setup.py develop) is deprecated. pip 25.3 will enforce this behaviour change. A possible replacement is to add a pyproject.toml or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please consult the setuptools documentation for more information. Discussion can be found at https://github.com/pypa/pip/issues/11457 Running setup.py develop for common error: subprocess-exited-with-error × python setup.py develop did not run successfully. │ exit code: 1 ╰─> [84 lines of output] /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'extra_cflags' warnings.warn(msg) /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'extra_cuda_cflags' warnings.warn(msg) running develop /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:90: DevelopDeprecationWarning: develop command is deprecated. !! ******************************************************************************** Please avoid running setup.py and develop. Instead, use standards-based tools like pip or uv. By 2025-Oct-31, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! self.initialize_options() WARNING: Ignoring invalid distribution -ommon (/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages) Obtaining file:///mnt/e/wsl/foundationpose-main/bundlesdf/mycuda Installing build dependencies: started Installing build dependencies: finished with status 'done' Checking if build backend supports build_editable: started Checking if build backend supports build_editable: finished with status 'done' Getting requirements to build editable: started Getting requirements to build editable: finished with status 'error' error: subprocess-exited-with-error × Getting requirements to build editable did not run successfully. │ exit code: 1 ╰─> [19 lines of output] Traceback (most recent call last): File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module> main() File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main json_out["return_val"] = hook(**hook_input["kwargs"]) File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 157, in get_requires_for_build_editable return hook(config_settings) File "/tmp/pip-build-env-qtlhbqf8/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 473, in get_requires_for_build_editable return self.get_requires_for_build_wheel(config_settings) File "/tmp/pip-build-env-qtlhbqf8/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) File "/tmp/pip-build-env-qtlhbqf8/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires self.run_setup() File "/tmp/pip-build-env-qtlhbqf8/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 512, in run_setup super().run_setup(setup_script=setup_script) File "/tmp/pip-build-env-qtlhbqf8/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 317, in run_setup exec(code, locals()) File "<string>", line 12, in <module> ModuleNotFoundError: No module named 'torch' [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × Getting requirements to build editable did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. Traceback (most recent call last): File "<string>", line 2, in <module> File "", line 35, in <module> File "/mnt/e/wsl/foundationpose-main/bundlesdf/mycuda/setup.py", line 21, in <module> setup( File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/__init__.py", line 115, in setup return distutils.core.setup(**attrs) File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 186, in setup return run_commands(dist) File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 202, in run_commands dist.run_commands() File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 1002, in run_commands self.run_command(cmd) File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/dist.py", line 1102, in run_command super().run_command(command) File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command cmd_obj.run() File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/command/develop.py", line 39, in run subprocess.check_call(cmd) File "/root/anaconda3/envs/foundationpose/lib/python3.9/subprocess.py", line 373, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/root/anaconda3/envs/foundationpose/bin/python', '-m', 'pip', 'install', '-e', '.', '--use-pep517', '--no-deps']' returned non-zero exit status 1. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. Rolling back uninstall of common Moving to /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/common-0.1.2.dist-info/ from /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/~ommon-0.1.2.dist-info Moving to /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/common/ from /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/~ommon error: subprocess-exited-with-error × python setup.py develop did not run successfully. │ exit code: 1 ╰─> [84 lines of output] /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'extra_cflags' warnings.warn(msg) /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'extra_cuda_cflags' warnings.warn(msg) running develop /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:90: DevelopDeprecationWarning: develop command is deprecated. !! ******************************************************************************** Please avoid running setup.py and develop. Instead, use standards-based tools like pip or uv. By 2025-Oct-31, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! self.initialize_options() WARNING: Ignoring invalid distribution -ommon (/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages) Obtaining file:///mnt/e/wsl/foundationpose-main/bundlesdf/mycuda Installing build dependencies: started Installing build dependencies: finished with status 'done' Checking if build backend supports build_editable: started Checking if build backend supports build_editable: finished with status 'done' Getting requirements to build editable: started Getting requirements to build editable: finished with status 'error' error: subprocess-exited-with-error × Getting requirements to build editable did not run successfully. │ exit code: 1 ╰─> [19 lines of output] Traceback (most recent call last): File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module> main() File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main json_out["return_val"] = hook(**hook_input["kwargs"]) File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 157, in get_requires_for_build_editable return hook(config_settings) File "/tmp/pip-build-env-qtlhbqf8/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 473, in get_requires_for_build_editable return self.get_requires_for_build_wheel(config_settings) File "/tmp/pip-build-env-qtlhbqf8/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) File "/tmp/pip-build-env-qtlhbqf8/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires self.run_setup() File "/tmp/pip-build-env-qtlhbqf8/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 512, in run_setup super().run_setup(setup_script=setup_script) File "/tmp/pip-build-env-qtlhbqf8/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 317, in run_setup exec(code, locals()) File "<string>", line 12, in <module> ModuleNotFoundError: No module named 'torch' [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × Getting requirements to build editable did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. Traceback (most recent call last): File "<string>", line 2, in <module> File "", line 35, in <module> File "/mnt/e/wsl/foundationpose-main/bundlesdf/mycuda/setup.py", line 21, in <module> setup( File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/__init__.py", line 115, in setup return distutils.core.setup(**attrs) File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 186, in setup return run_commands(dist) File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 202, in run_commands dist.run_commands() File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 1002, in run_commands self.run_command(cmd) File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/dist.py", line 1102, in run_command super().run_command(command) File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command cmd_obj.run() File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/command/develop.py", line 39, in run subprocess.check_call(cmd) File "/root/anaconda3/envs/foundationpose/lib/python3.9/subprocess.py", line 373, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/root/anaconda3/envs/foundationpose/bin/python', '-m', 'pip', 'install', '-e', '.', '--use-pep517', '--no-deps']' returned non-zero exit status 1. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip.

我想在windows上运行GeMap,在“g. Install mmdet3d and GKT”遇到了上文提到的问题,我应该如何解决?其安装教程如下: Step-by-step installation instructions Following THIS DOC a. Create a conda virtual environment and activate it. conda create -n gemap python=3.8 -y conda activate gemap b. Install PyTorch and torchvision following the official instructions. pip install torch==1.9.1+cu111 torchvision==0.10.1+cu111 torchaudio==0.9.1 -f https://download.pytorch.org/whl/torch_stable.html c. Install gcc>=5 in conda env (optional). conda install -c omgarcia gcc-5 # gcc-6.2 c. Install mmcv-full. pip install mmcv-full==1.4.0 # pip install mmcv-full==1.4.0 -f https://download.openmmlab.com/mmcv/dist/cu111/torch1.9.0/index.html d. Install mmdet and mmseg. pip install mmdet==2.14.0 pip install mmsegmentation==0.14.1 e. Install timm. pip install timm f. Clone GeMap. git clone https://github.com/cnzzx/GeMap g. Install mmdet3d and GKT cd /path/to/GeMap/mmdetection3d python setup.py develop cd /path/to/GeMap/projects/mmdet3d_plugin/gemap/modules/ops/geometric_kernel_attn python setup.py build install h. Install other requirements. cd /path/to/GeMap pip install -r requirement.txt i. Prepare pretrained models. cd /path/to/GeMap mkdir ckpts # download ResNet weights cd ckpts wget https://download.pytorch.org/models/resnet50-19c8e357.pth For Swin-Transformer-Tiny and VoVNet-V2-99, you can download corresponding weights from the official github: Swin-Transformer pretrained on ImageNet VoVNet-V2-99 pretrained on ImageNet VoVNet-V2-99 (DD3D) pretrained on DDAD15M

(foundationpose) root@localhost:/mnt/e/wsl/foundationpose-main# -- The CXX compiler identification is GNU 13.3.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Python3: /root/anaconda3/envs/foundationpose/bin/python3.9 (found suitable version "3.9.23", minimum required is "3.8") found components: Interpreter Development Development.Module Development.Embed -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") -- Performing Test HAS_FLTO -- Performing Test HAS_FLTO - Success -- Found pybind11: /root/anaconda3/envs/foundationpose/include (found version "2.13.6") -- Configuring done (3.5s) CMake Error at /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/cmake/data/share/cmake-4.0/Modules/FindPython/Support.cmake:4331 (add_library): Cannot find source file: src/file_io.cpp Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc Call Stack (most recent call first): /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/cmake/data/share/cmake-4.0/Modules/FindPython3.cmake:643:EVAL:2 (__Python3_add_library) /root/anaconda3/envs/foundationpose/share/cmake/pybind11/pybind11NewTools.cmake:269 (python3_add_library) CMakeLists.txt:32 (pybind11_add_module) CMake Error at /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/cmake/data/share/cmake-4.0/Modules/FindPython/Support.cmake:4331 (add_library): No SOURCES given to target: mycpp Call Stack (most recent call first): /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/cmake/data/share/cmake-4.0/Modules/FindPython3.cmake:643:EVAL:2 (__Python3_add_library) /root/anaconda3/envs/foundationpose/share/cmake/pybind11/pybind11NewTools.cmake:269 (python3_add_library) CMakeLists.txt:32 (pybind11_add_module) CMake Generate step failed. Build files cannot be regenerated correctly. Obtaining file:///mnt/e/wsl/foundationpose-main/bundlesdf/mycuda Preparing metadata (setup.py) ... done Installing collected packages: common DEPRECATION: Legacy editable install of common==0.0.0 from file:///mnt/e/wsl/foundationpose-main/bundlesdf/mycuda (setup.py develop) is deprecated. pip 25.3 will enforce this behaviour change. A possible replacement is to add a pyproject.toml or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please consult the setuptools documentation for more information. Discussion can be found at https://github.com/pypa/pip/issues/11457 Running setup.py develop for common error: subprocess-exited-with-error × python setup.py develop did not run successfully. │ exit code: 1 ╰─> [83 lines of output] /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'extra_cflags' warnings.warn(msg) /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'extra_cuda_cflags' warnings.warn(msg) running develop /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:90: DevelopDeprecationWarning: develop command is deprecated. !! ******************************************************************************** Please avoid running setup.py and develop. Instead, use standards-based tools like pip or uv. By 2025-Oct-31, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! self.initialize_options() Obtaining file:///mnt/e/wsl/foundationpose-main/bundlesdf/mycuda Installing build dependencies: started Installing build dependencies: finished with status 'done' Checking if build backend supports build_editable: started Checking if build backend supports build_editable: finished with status 'done' Getting requirements to build editable: started Getting requirements to build editable: finished with status 'error' error: subprocess-exited-with-error × Getting requirements to build editable did not run successfully. │ exit code: 1 ╰─> [19 lines of output] Traceback (most recent call last): File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module> main() File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main json_out["return_val"] = hook(**hook_input["kwargs"]) File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 157, in get_requires_for_build_editable return hook(config_settings) File "/tmp/pip-build-env-ph1fchyv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 473, in get_requires_for_build_editable return self.get_requires_for_build_wheel(config_settings) File "/tmp/pip-build-env-ph1fchyv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) File "/tmp/pip-build-env-ph1fchyv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires self.run_setup() File "/tmp/pip-build-env-ph1fchyv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 512, in run_setup super().run_setup(setup_script=setup_script) File "/tmp/pip-build-env-ph1fchyv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 317, in run_setup exec(code, locals()) File "<string>", line 12, in <module> ModuleNotFoundError: No module named 'torch' [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × Getting requirements to build editable did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. Traceback (most recent call last): File "<string>", line 2, in <module> File "", line 35, in <module> File "/mnt/e/wsl/foundationpose-main/bundlesdf/mycuda/setup.py", line 21, in <module> setup( File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/__init__.py", line 115, in setup return distutils.core.setup(**attrs) File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 186, in setup return run_commands(dist) File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 202, in run_commands dist.run_commands() File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 1002, in run_commands self.run_command(cmd) File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/dist.py", line 1102, in run_command super().run_command(command) File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command cmd_obj.run() File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/command/develop.py", line 39, in run subprocess.check_call(cmd) File "/root/anaconda3/envs/foundationpose/lib/python3.9/subprocess.py", line 373, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/root/anaconda3/envs/foundationpose/bin/python', '-m', 'pip', 'install', '-e', '.', '--use-pep517', '--no-deps']' returned non-zero exit status 1. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × python setup.py develop did not run successfully. │ exit code: 1 ╰─> [83 lines of output] /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'extra_cflags' warnings.warn(msg) /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'extra_cuda_cflags' warnings.warn(msg) running develop /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:90: DevelopDeprecationWarning: develop command is deprecated. !! ******************************************************************************** Please avoid running setup.py and develop. Instead, use standards-based tools like pip or uv. By 2025-Oct-31, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! self.initialize_options() Obtaining file:///mnt/e/wsl/foundationpose-main/bundlesdf/mycuda Installing build dependencies: started Installing build dependencies: finished with status 'done' Checking if build backend supports build_editable: started Checking if build backend supports build_editable: finished with status 'done' Getting requirements to build editable: started Getting requirements to build editable: finished with status 'error' error: subprocess-exited-with-error × Getting requirements to build editable did not run successfully. │ exit code: 1 ╰─> [19 lines of output] Traceback (most recent call last): File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module> main() File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main json_out["return_val"] = hook(**hook_input["kwargs"]) File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 157, in get_requires_for_build_editable return hook(config_settings) File "/tmp/pip-build-env-ph1fchyv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 473, in get_requires_for_build_editable return self.get_requires_for_build_wheel(config_settings) File "/tmp/pip-build-env-ph1fchyv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) File "/tmp/pip-build-env-ph1fchyv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires self.run_setup() File "/tmp/pip-build-env-ph1fchyv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 512, in run_setup super().run_setup(setup_script=setup_script) File "/tmp/pip-build-env-ph1fchyv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 317, in run_setup exec(code, locals()) File "<string>", line 12, in <module> ModuleNotFoundError: No module named 'torch' [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × Getting requirements to build editable did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. Traceback (most recent call last): File "<string>", line 2, in <module> File "", line 35, in <module> File "/mnt/e/wsl/foundationpose-main/bundlesdf/mycuda/setup.py", line 21, in <module> setup( File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/__init__.py", line 115, in setup return distutils.core.setup(**attrs) File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 186, in setup return run_commands(dist) File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 202, in run_commands dist.run_commands() File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 1002, in run_commands self.run_command(cmd) File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/dist.py", line 1102, in run_command super().run_command(command) File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command cmd_obj.run() File "/root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/setuptools/command/develop.py", line 39, in run subprocess.check_call(cmd) File "/root/anaconda3/envs/foundationpose/lib/python3.9/subprocess.py", line 373, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/root/anaconda3/envs/foundationpose/bin/python', '-m', 'pip', 'install', '-e', '.', '--use-pep517', '--no-deps']' returned non-zero exit status 1. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip.

大家在看

recommend-type

polkit-0.96-11.el6_10.2.x86_64.rpm离线升级包下载(Polkit漏洞CentOS6修复升级包)

CentOS 6.X版本专用 升级命令: rpm -Uvh polkit-0.96-11.el6_10.2.x86_64.rpm 或yum localinstall -y polkit-0.96-11.el6_10.2.x86_64.rpm 参考链接: https://ubuntu.com/security/CVE-2021-4034 https://access.redhat.com/security/cve/CVE-2021-4034 https://security-tracker.debian.org/tracker/CVE-2021-4034 https://www.qualys.com/2022/01/25/cve-2021-4034/pwnkit.txt
recommend-type

ray-optics:光学系统的几何光线追踪

射线光学 安装 要使用pip安装rayoptics ,请使用 > pip install rayoptics 或者,可以使用conda从conda - forge渠道安装rayoptics > conda install rayoptics --channel conda-forge 文献资料 射线光学位于“ 成像光学设计和分析工具 RayOptics是一个Python几何光学和成像光学库。 它为分析成像和相干光学系统提供了几何射线追踪基础。 在此基础上提供了许多标准的几何分析选项,例如横向射线和波前像差分析。 y-ybar图和镜头布局视图中近轴光线的图形编辑也支持光学系统的近轴布局。 支持导入Zemax .zmx和CODEV .seq文件。 RayOptics可用于Python脚本,Python和IPython外壳,Jupyter笔记本以及基于Qt的图形用户界面应用程序中。 笔记 该项
recommend-type

微信qq浏览器打开提示

自己的域名总是被举报,变红?搞一个遮罩呗! 跳转浏览器提示就OK了,亲测在PHP网站完美使用。 1.上传插件整个文件夹到/public目录。得到:/public/WxqqJump 2.修改/public/index.php文件。在第一行&lt;?php下新增代码 当不再使用或者需要临时关闭跳转时,只需//注销该行代码即可。
recommend-type

扑翼无人机准定常空气动力学及控制Matlab代码.rar

1.版本:matlab2014/2019a/2021a 2.附赠案例数据可直接运行matlab程序。 3.代码特点:参数化编程、参数可方便更改、代码编程思路清晰、注释明细。 4.适用对象:计算机,电子信息工程、数学等专业的大学生课程设计、期末大作业和毕业设计。 5.作者介绍:某大厂资深算法工程师,从事Matlab算法仿真工作10年;擅长智能优化算法、神经网络预测、信号处理、元胞自动机等多种领域的算法仿真实验,更多仿真源码、数据集定制私信+。
recommend-type

Pixhawk4飞控驱动.zip

已安装成功

最新推荐

recommend-type

【大学生电子设计】:备战2015全国大学生电子设计竞赛-信号源类赛题分析.pdf

【大学生电子设计】:备战2015全国大学生电子设计竞赛-信号源类赛题分析.pdf
recommend-type

湘潭大学人工智能专业2024级大一C语言期末考试题库项目-包含58个从头歌平台抓取并排版的C语言编程题目及解答-涵盖基础语法-数组操作-条件判断-循环结构-函数调用-指针应用等核心.zip

2025电赛预测湘潭大学人工智能专业2024级大一C语言期末考试题库项目_包含58个从头歌平台抓取并排版的C语言编程题目及解答_涵盖基础语法_数组操作_条件判断_循环结构_函数调用_指针应用等核心.zip
recommend-type

基于STM32的步进电机S型曲线与SpTA算法高效控制及其实现 T梯形算法 经典版

基于STM32平台的步进电机S型曲线和SpTA加减速控制算法。首先阐述了S型曲线控制算法的特点及其在STM32平台上的实现方法,包括设置启动频率、加速时间和最高速度等参数,以减少电机启动和停止时的冲击。接着讨论了T梯形算法与S型曲线的结合,通过精确的时间控制提高运动精度。然后重点讲解了SpTA算法,强调其自适应性强、不依赖PWM定时器个数,能够根据实际运行状态动态调整。文中提到一种高效的非DMA数据传输方式,提升了CPU效率并解决了外部中断时无法获取已输出PWM波形个数的问题。最后介绍了SpTA算法在多路电机控制方面的优势。 适合人群:从事嵌入式系统开发、自动化控制领域的工程师和技术人员,尤其是对步进电机控制有研究兴趣的人群。 使用场景及目标:适用于需要高精度和平滑控制的步进电机应用场合,如工业机器人、数控机床等领域。目标是帮助开发者掌握STM32平台下步进电机的先进控制算法,优化系统的实时性能和多电机协同控制能力。 其他说明:文章提供了详细的理论背景和技术细节,有助于读者深入理解并应用于实际项目中。
recommend-type

一个面向Android开发者的全面知识体系整理项目-包含Android基础-Framework解析-系统启动流程-四大组件原理-Handler-Binder-AMS-WMS等核心机.zip

python一个面向Android开发者的全面知识体系整理项目_包含Android基础_Framework解析_系统启动流程_四大组件原理_Handler_Binder_AMS_WMS等核心机.zip
recommend-type

Pansophica开源项目:智能Web搜索代理的探索

Pansophica开源项目是一个相对较新且具有创新性的智能Web搜索代理,它突破了传统搜索引擎的界限,提供了一种全新的交互方式。首先,我们来探讨“智能Web搜索代理”这一概念。智能Web搜索代理是一个软件程序或服务,它可以根据用户的查询自动执行Web搜索,并尝试根据用户的兴趣、历史搜索记录或其他输入来提供个性化的搜索结果。 Pansophica所代表的不仅仅是搜索结果的展示,它还强调了一个交互式的体验,在动态和交互式虚拟现实中呈现搜索结果。这种呈现方式与现有的搜索体验有着根本的不同。目前的搜索引擎,如Google、Bing和Baidu等,多以静态文本和链接列表的形式展示结果。而Pansophica通过提供一个虚拟现实环境,使得搜索者可以“扭转”视角,进行“飞行”探索,以及“弹网”来浏览不同的内容。这种多维度的交互方式使得信息的浏览变得更加快速和直观,有望改变用户与网络信息互动的方式。 接着,我们关注Pansophica的“开源”属性。所谓开源,指的是软件的源代码可以被公众获取,任何个人或组织都可以自由地使用、学习、修改和分发这些代码。开源软件通常由社区进行开发和维护,这样的模式鼓励了协作创新并减少了重复性劳动,因为全世界的开发者都可以贡献自己的力量。Pansophica项目作为开源软件,意味着其他开发者可以访问和使用其源代码,进一步改进和扩展其功能,甚至可以为Pansophica构建新的应用或服务。 最后,文件名称“Pansophica-src-1.3”表明了我们讨论的特定版本的Pansophica开源代码。数字“1.3”很可能指的是该版本号,表明这是Pansophica项目的第1.3个公开版本。这个版本号对于开发者来说很重要,因为它可以帮助他们追踪更新的进度、比较版本间的差异以及选择最适合其项目的版本。 综合以上信息,Pansophica开源项目不仅在搜索代理领域引入了创新的交互方式,而且通过开源的方式,提供了技术共享和协作的可能性。对于IT行业来说,开源项目是推动技术发展的重要力量,它激发了社区的活力,促进了知识的传播和技术的进步。通过构建一个开源社区,Pansophica可以吸引来自世界各地的开发者和研究人员,共同探索如何将搜索技术与交互式虚拟现实技术结合起来,为用户带来更加丰富和有效的信息检索体验。同时,Pansophica的开源性质也使其更容易适应未来技术的发展,随着社区的不断贡献和反馈,这一平台有望在功能和性能上得到持续的优化和增强。
recommend-type

跨平台内容提取无忧:coze工作流应对社交媒体挑战

# 1. 社交媒体内容提取的必要性与挑战 ## 1.1 内容提取的必要性 在数字时代,社交媒体内容是信息与数据流动的主干道,公司、个人和研究者都在寻求从这些信息中提取价值。无论是为了市场趋势分析、品牌监控、消费者洞察还是公共舆论监测,有效的社交媒体内容提取变得至关重要。这不仅有助于企业做出数据驱动的决策,也能使个人更好地理
recommend-type

vrrp主设备发送的免费arp

<think>好的,我现在需要回答用户关于VRRP主设备发送免费ARP的目的和工作原理的问题。首先,我得回忆一下VRRP的基本概念和工作机制。VRRP,虚拟路由冗余协议,主要用于在局域网中提供默认网关的冗余备份,确保网络的高可用性。主设备(Master)负责转发流量,而备用设备(Backup)则在主设备故障时接管工作。 用户的问题集中在主设备发送免费ARP的目的和机制上。根据引用[2],免费ARP用于通知下游设备虚拟MAC地址的变更。当主设备被选举出来后,它需要让局域网内的其他设备知道虚拟IP对应的MAC地址已经指向自己,这样流量才会被正确路由到主设备。免费ARP的作用应该就是更新这些设备的
recommend-type

为Ghost博客平台打造的Meteor流星包装使用指南

从给定文件信息中,我们可以提炼出以下IT知识点: ### 标题知识点:流星Ghost软件包 1. **流星Ghost软件包的用途**:流星Ghost软件包是专为Ghost博客平台设计的流星(Meteor)应用程序。流星是一个开源的全栈JavaScript平台,用于开发高性能和易于编写的Web应用程序。Ghost是一个开源博客平台,它提供了一个简单且专业的写作环境。 2. **软件包的作用**:流星Ghost软件包允许用户在流星平台上轻松集成Ghost博客。这样做的好处是可以利用流星的实时特性以及易于开发和部署的应用程序框架,同时还能享受到Ghost博客系统的便利和美观。 ### 描述知识点:流星Ghost软件包的使用方法 1. **软件包安装方式**:用户可以通过流星的命令行工具添加名为`mrt:ghost`的软件包。`mrt`是流星的一个命令行工具,用于添加、管理以及配置软件包。 2. **初始化Ghost服务器**:描述中提供了如何在服务器启动时运行Ghost的基本代码示例。这段代码使用了JavaScript的Promise异步操作,`ghost().then(function (ghostServer) {...})`这行代码表示当Ghost服务器初始化完成后,会在Promise的回调函数中提供一个Ghost服务器实例。 3. **配置Ghost博客**:在`then`方法中,首先会获取到Ghost服务器的配置对象`config`,用户可以在此处进行自定义设置,例如修改主题、配置等。 4. **启动Ghost服务器**:在配置完成之后,通过调用`ghostServer.start()`来启动Ghost服务,使其能够处理博客相关的请求。 5. **Web浏览器导航**:一旦流星服务器启动并运行,用户便可以通过Web浏览器访问Ghost博客平台。 ### 标签知识点:JavaScript 1. **JavaScript作为流星Ghost软件包的开发语言**:标签指出流星Ghost软件包是使用JavaScript语言开发的。JavaScript是一种在浏览器端广泛使用的脚本语言,它也是流星平台的基础编程语言。 2. **流星和Ghost共同使用的语言**:JavaScript同样也是Ghost博客平台的开发语言。这表明流星Ghost软件包可以无缝集成,因为底层技术栈相同。 ### 压缩包子文件的文件名称列表知识点:meteor-ghost-master 1. **版本控制和软件包结构**:文件名称`meteor-ghost-master`暗示了该软件包可能托管在像GitHub这样的版本控制系统上。文件名中的`master`通常指的是主分支或主版本。 2. **软件包的目录结构**:通过文件名称可以推断出该软件包可能拥有一个标准的流星软件包结构,包含了初始化、配置、运行等必要的模块和文件。 3. **软件包的维护状态**:由于文件名没有包含特定的版本号,我们无法直接得知软件包的最新更新情况。通常,软件包维护者会将最新的版本代码放在`master`分支上。 ### 总结 流星Ghost软件包提供了一个有效的解决方案,使得流星平台的开发者能够在他们的应用中添加Ghost博客功能。软件包的使用简便,通过流星的命令行工具安装,并通过JavaScript代码配置和启动Ghost服务。通过流星Ghost软件包,开发者能够享受流星的实时特性以及Ghost博客系统的便利性。此外,软件包的命名和结构也暗示了其维护和版本控制的模式,有助于开发者更好地理解如何使用和维护这一软件包。
recommend-type

抖音标题生成自动化:用coze工作流释放创意

# 1. 抖音标题生成自动化的重要性 随着社交媒体平台的崛起,内容的吸引力很大程度上取决于标题的创意与精准性。抖音作为一个日活亿级的短视频平台,高质量的标题能够有效提高视频的点击率,增加内容的传播。但是,人工撰写标题不仅耗时耗力,而且很难做到快速响应热点,自动化标题生成工具应运而生。coze工作流,作为一种实现自动化生成抖音标题的工具,其重要性不言而喻。它能够利用大数据分析和机器学习技术,提高标题的吸引
recommend-type

spss消费结构因子分析

<think>好的,我现在需要帮助用户在SPSS中进行消费结构的因子分析。首先,我要回忆一下因子分析的基本步骤和SPSS的操作流程。用户可能对SPSS不太熟悉,所以步骤要详细,同时需要结合他们提供的引用内容,特别是引用[2]中的适用条件和检验方法。 首先,用户提到了消费结构的数据,这可能包括多个变量,如食品、住房、交通等支出。因子分析适用于这种情况,可以降维并找出潜在因子。根据引用[2],需要检查样本量是否足够,变量间是否有相关性,以及KMO和Bartlett检验的结果。 接下来,我需要按照步骤组织回答:数据准备、适用性检验、因子提取、因子旋转、命名解释、计算得分。每个步骤都要简明扼要,说