智能助手网
标签聚合 or

/tag/or

linux.do · 2026-04-18 22:05:59+08:00 · tech

<script setup> import { ref } from 'vue'; import { onLoad } from '@dcloudio/uni-app'; import request from '@/utils/request'; import { getFiles, getRandomFile, getFileArray } from '@/utils/yangUtils'; const imageSuffix = ['png', 'jpg', 'jpeg']; const videoSuffix = ['mp4', 'avi', 'mov']; const imageNum = ref(0); const videoNum = ref(0); // 获取父级传入的数据 const props = defineProps(["modelValue", "limit", "message", "isDelete", "isAdd"]); // 定义 emits const emit = defineEmits(['update:modelValue']); // const listData = ref(["https://yxdjpw.oss-cn-beijing.aliyuncs.com/uploadDefault/20260417192542-d3ea46.png", "https://yxdjpw.oss-cn-beijing.aliyuncs.com/uploadDefault/20260417194449-bfb1ba.mp4"]); const listData = ref([]) const onSelectFile = async () => { let result; // #ifdef APP || APP-PLUS || MP-WEIXIN || MP-TOUTIAO || MP-LARK || MP-JD || MP-HARMONY || MP-XHS result = await uni.chooseMedia({ count: props.limit || 9, mediaType: ['image', 'video'], sourceType: ['album', 'camera'], maxDuration: '30s' }) // #endif // #ifdef WEB || H5 result = await uni.chooseFile({ count: props.limit || 9, type: 'all', }) // #endif let arr = []; console.log(result); for (let filePath of result.tempFiles) { // 判断文件是否超出10M if (filePath.size > 10 * 1024 * 1024) { uni.showModal({ title: '提示', content: '文件大小不能超过10M!', showCancel: true, }) return; } if (imageSuffix.includes(filePath.name.replaceAll('"', '').split('.').pop()?.toLowerCase())) { imageNum.value++; } else if (videoSuffix.includes(filePath.name.replaceAll('"', '').split('.').pop()?.toLowerCase())) { // 判断之前有没有上传过视频或者图片 if (imageNum.value >= 1 || videoNum.value >= 1) { uni.showModal({ title: '提示', content: '图片和视频不能同时上传,并且视频只能上传一个!', showCancel: true, }) return; } videoNum.value++; } const data = await request("/upload/uploadFile", filePath.path, "post"); arr.push(getFileArray(data)[0]); } listData.value = listData.value.concat(arr); // 将数据返回出去 emit("update:modelValue", listData.value.join(",")); } // 删除 const onDelete = (index) => { // 1. 先拿到要删除的项(必须在 splice 之前拿!) const deletedItem = listData.value[index]; // 2. 判断类型,更新计数 const ext = deletedItem.split('.').pop()?.toLowerCase(); if (imageSuffix.includes(ext)) { imageNum.value--; } else if (videoSuffix.includes(ext)) { videoNum.value--; } // 3. 再删除元素 listData.value.splice(index, 1); // 4. 更新双向绑定 emit("update:modelValue", listData.value.join(",")); } // 查看 const onView = (item) => { } // 类型判断 const isSuffix = () => { return listData.value.some(item => { // 获取后缀(转小写,避免大小写问题) const ext = item.split('.').pop()?.toLowerCase() return videoSuffix.includes(ext) }) } </script> <template> <view> <view class="header"> <view v-if="props.message" class="message">{{ props.message }}</view> <view class="numCount">{{ `${listData.length}/${props.limit || 9}` }}</view> </view> <view class="image-grid" :class="isSuffix() ? 'grid-video' : ''"> <template v-for="(item, index) in listData" :key="index"> <view class="grid-item grid-item-content" :class="isSuffix() ? 'grid-item-video' : ''" @click="onView(item)"> <image v-if="imageSuffix.includes(item.split('.').pop())" class="img" :src="item" mode="aspectFill" /> <video v-else-if="videoSuffix.includes(item.split('.').pop())" class="video" :src="item" /> <view class="grid-item-delete" v-if="(isAdd ?? true)" @click="onDelete(index)"><uni-icons class="icon-delete" type="closeempty" color="#D3D4D6" size="24" /></view> </view> </template> <view class="grid-item icon-add" v-if="(isAdd ?? true) && !isSuffix() && listData.length < (props.limit ?? 9)" @click="onSelectFile()"> <uni-icons type="plusempty" size="60" color="#F1F1F1"></uni-icons> </view> </view> </view> </template> <style lang="scss" scoped> .header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20rpx; } .image-grid { display: grid; grid-template-columns: repeat(3, 1fr); /* 一行3个,自动均分 */ gap: 20rpx; /* 格子间距 */ box-sizing: border-box; } .grid-item { width: 240rpx; height: 240rpx; } .grid-video { grid-template-columns: repeat(1, 1fr) !important; } .grid-item-video { width: 100%; height: 400rpx; } .numCount { display: flex; flex-direction: row-reverse; font-size: 26rpx; } .img, .video { width: 100%; height: 100%; } .grid-item-content { position: relative; } .icon-add { background: #FFFFFF; line-height: 240rpx; text-align: center; border: 1rpx solid #EEEEEE; border-radius: 6rpx; } .grid-item-delete { position: absolute; top: 0rpx; right: 0rpx; z-index: 1; } </style> 方法解析 文件后端返回的是 /api/upload/xxx.png getFiles 将图片拼接成正常能访问的 比如 http://域名.com/api/upload/xxx.png getRandomFile 是随机访问 getFileArray 是拼接成数组 limit → 最多上传数量 默认为9 message → 提示 比如请上传视频 可不填 isDelete → 是否可以删除重新上传 默认为true isAdd → 是否可以新增,比如有些地方可以直接回显 比如产品的图片,但是你不想让它显示新增的框 可以为false 默认为true // 文件加载 export const getFiles = (url) => { if (!url) { return ""; } if (url.startsWith("http://") || url.startsWith("https://")) { return cleanString(url); } else { return baseURL + cleanString(url); } }; // 随机加载文件 export const getRandomFile = (url) => { if (!url) { return ""; } const urls = url.split(","); const randomIndex = Math.floor(Math.random() * urls.length); const selectedUrl = urls[randomIndex]; if ( cleanString(selectedUrl).startsWith("http://") || cleanString(selectedUrl).startsWith("https://") ) { return cleanString(selectedUrl); } else { return baseURL + cleanString(selectedUrl); } }; export const getFileArray = (url) => { if (!url) { return []; } let baseUrl = []; url.split(",").forEach((v) => { if ( cleanString(v).startsWith("http://") || cleanString(v).startsWith("https://") ) { baseUrl.push(cleanString(v)); } else { baseUrl.push(baseURL + cleanString(v)); } }); console.log(baseUrl); return baseUrl; }; 请求就是 uni.request的请求 你们按照你们自己的改 当前只支持H5 你们需要的话 我会再更新 如果上传了视频就直接独占一行 并且不能上传其他视频和图片 仿照的是朋友圈 其他页面调用就是 比如文件名叫uploadFile.vue吧 import UpLoadFile from '@/components/uploadFile.vue' // 页面代码 <UpLoadFile v-model="form.media" /> 第一次封装 还有些问题 我会持续更新的 1 个帖子 - 1 位参与者 阅读完整话题

www.ithome.com · 2026-04-18 21:18:37+08:00 · tech

IT之家 4 月 18 日消息,消息源 Canon Rumors 前天发文称,佳能可能会为 EOS R7 Mark II 无反相机引入 DIGIC Accelerator Lite 精简版处理器。 据报道,佳能已经在 EOS R1 和 R5 Mark II 相机中使用过 DIGIC Accelerator 处理器,用于提升相机的数据处理能力。该芯片可与高速背照式 / 堆栈式传感器配合,带来更快的电子快门速度、自动对焦性能, 大幅降低果冻效应 , 还可以同时记录照片和视频 。 IT之家注意到,EOS R6 Mark III 并没有搭载这枚处理器,原因可能不只是成本问题,也与该机采用前照式 CMOS 有关,读取速度明显慢于高端机型。 目前已有传闻称,佳能 EOS R7 Mark II 将成为首款搭载背照式堆栈传感器的 APS-C 画幅 EOS-R 相机。如果相关消息属实,那么更高的读出速度需要搭配更强的处理器。 值得注意的是,佳能的 DIGIC X 处理器本身就有不同版本,例如 R1、R5 Mark II 等高端机型搭载满血版处理器,性能明显优于 R6 Mark III 和 R8 等中端机型。 不过,佳能显然没有必要去刻意限制 R7 Mark II 的性能,APS-C 和全画幅之间本来就已经形成明显的定位区别。

linux.do · 2026-04-18 21:09:24+08:00 · tech

new_api_panic: Panic detected, error: runtime error: invalid memory address or nil pointer dereference. Please submit a issue here: GitHub - QuantumNous/new-api: A unified AI model hub for aggregation & distribution. It supports cross-converting various LLMs into OpenAI-compatible, Claude-compatible, or Gemini-compatible formats. A centralized gateway for personal and enterprise model management. 🍥 · GitHub | Upstream: {“error”:{“message”:“Panic detected, error: runtime error: invalid memory address or nil pointer dereference. Please submit a issue here: https://github.com/Calcium-Ion/new-api",“type”:"new_api_panic ”}} 2 个帖子 - 2 位参与者 阅读完整话题

hnrss.org · 2026-04-18 20:30:16+08:00 · tech

I built LogsGo as a learning project to explore log ingestion, querying, and storage tradeoffs. It’s a small Go-based system where logs come in over gRPC, land in memory first, then flush into local storage and optionally S3-compatible object storage. I also added a simple query language plus a small UI to inspect log occurrences over time. This wasn’t built because I think the world needed “another logging system” or because I’m an expert here. I mostly wanted to learn by building something end to end: ingestion paths, storage layering, querying, retention, auth/TLS, and some UI work. Repo: https://github.com/Saumya40-codes/LogsGO I’d genuinely appreciate feedback, including “this design is wrong for X reason” type feedback. If parts of it feel overengineered / naive / badly thought through, that’s useful for me too. Comments URL: https://news.ycombinator.com/item?id=47815402 Points: 1 # Comments: 0

linux.do · 2026-04-18 19:49:25+08:00 · tech

报错如下: ERROR conda.core.link:_execute(1031): An error occurred while installing package 'defaults::anaconda_powershell_prompt-1.1.0-haa95532_1'. 排查了好一会,尝试各种方案。 最后发现原因: Conda安装程序与系统中的Autorun项发生了冲突。 解决方案: 删除windows 注册表中 \HKEY_CURRENT_USER\SOFTWARE\Microsoft\Command Processor\AutoRun。如果怕删除引起别的问题,可以直接做一个backup,将其重命名为\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Command Processor\AutoRun_Backup,可以找回。 参考 github.com/conda/conda Miniconda install fails: post-link script failed (defaults::anaconda_powershell_prompt-1.1.0-haa95532_0) 已打开 09:12PM - 27 Nov 24 UTC 已关闭 06:52PM - 28 Nov 24 UTC ipiriyan2002 type::bug locked ### Checklist - [x] I added a descriptive title - [x] I searched open reports a … nd couldn't find a duplicate ### What happened? I have been using Anaconda for a long time but wanted to change to miniconda to save space and given that I know what packages I want. However when I try to install miniconda latest version, I encounter the following issue. I then tried older versions and they threw the same issue, including reinstalling Anaconda. `Platform: Windows 11` ```powershell Output folder: C:\Users\ipiri\miniconda3\Lib Extract: _nsis.py Extract: _system_path.py Output folder: C:\Users\ipiri\miniconda3\conda-meta Extract: history Output folder: C:\Users\ipiri\miniconda3 Extract: _conda.exe Extract: pre_uninstall.bat Output folder: C:\Users\ipiri\miniconda3 Output folder: C:\Users\ipiri\miniconda3\pkgs Extract: urls Extract: urls.txt Extract: post_install.bat Output folder: C:\Users\ipiri\miniconda3\pkgs\cache Extract: 3e39a7aa.json Extract: 4ea078d6.json Extract: 59ba4880.json Extract: 5ca77eed.json Extract: 920c960f.json Extract: c4a505b4.json Output folder: C:\Users\ipiri\miniconda3\pkgs Output folder: C:\Users\ipiri\miniconda3\pkgs\anaconda-anon-usage-0.4.4-py312hfc23b7f_100\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\anaconda_powershell_prompt-1.1.0-haa95532_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\anaconda_prompt-1.1.0-haa95532_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\archspec-0.2.3-pyhd3eb1b0_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\boltons-23.0.0-py312haa95532_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\brotli-python-1.0.9-py312hd77b12b_8\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\bzip2-1.0.8-h2bbff1b_6\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\ca-certificates-2024.9.24-haa95532_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\certifi-2024.8.30-py312haa95532_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\cffi-1.17.1-py312h827c3e9_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\charset-normalizer-3.3.2-pyhd3eb1b0_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\colorama-0.4.6-py312haa95532_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\conda-24.9.2-py312haa95532_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\conda-content-trust-0.2.0-py312haa95532_1\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\conda-libmamba-solver-24.9.0-pyhd3eb1b0_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\conda-package-handling-2.3.0-py312haa95532_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\conda-package-streaming-0.10.0-py312haa95532_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\cryptography-43.0.0-py312h89fc84f_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\distro-1.9.0-py312haa95532_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\expat-2.6.3-h5da7b33_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\fmt-9.1.0-h6d14046_1\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\frozendict-2.4.2-py312haa95532_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\idna-3.7-py312haa95532_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\jsonpatch-1.33-py312haa95532_1\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\jsonpointer-2.1-pyhd3eb1b0_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\libarchive-3.7.4-h9243413_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\libcurl-8.9.1-h0416ee5_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\libffi-3.4.4-hd77b12b_1\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\libiconv-1.16-h2bbff1b_3\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\libmamba-1.5.8-h99b1521_3\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\libmambapy-1.5.8-py312h77c03ed_3\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\libsolv-0.7.24-h23ce68f_1\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\libssh2-1.11.0-h291bd65_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\libxml2-2.13.1-h24da03e_2\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\lz4-c-1.9.4-h2bbff1b_1\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\menuinst-2.1.2-py312h5da7b33_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\openssl-3.0.15-h827c3e9_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\packaging-24.1-py312haa95532_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\pcre2-10.42-h0ff8eda_1\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\pip-24.2-py312haa95532_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\platformdirs-3.10.0-py312haa95532_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\pluggy-1.0.0-py312haa95532_1\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\pybind11-abi-5-hd3eb1b0_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\pycosat-0.6.6-py312h2bbff1b_1\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\pycparser-2.21-pyhd3eb1b0_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\pysocks-1.7.1-py312haa95532_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\python-3.12.7-h14ffc60_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\reproc-14.2.4-hd77b12b_2\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\reproc-cpp-14.2.4-hd77b12b_2\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\requests-2.32.3-py312haa95532_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\ruamel.yaml-0.18.6-py312h827c3e9_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\ruamel.yaml.clib-0.2.8-py312h827c3e9_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\setuptools-75.1.0-py312haa95532_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\sqlite-3.45.3-h2bbff1b_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\tk-8.6.14-h0416ee5_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\tqdm-4.66.5-py312hfc267ef_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\truststore-0.8.0-py312haa95532_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\tzdata-2024b-h04d1e81_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\urllib3-2.2.3-py312haa95532_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\vc-14.40-h2eaa2aa_1\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\vs2015_runtime-14.40.33807-h98bb1dd_1\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\wheel-0.44.0-py312haa95532_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\win_inet_pton-1.1.0-py312haa95532_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\xz-5.4.6-h8cc25b3_1\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\yaml-cpp-0.8.0-hd77b12b_1\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\zlib-1.2.13-h8cc25b3_1\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\zstandard-0.23.0-py312h4fc1ca9_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs\zstd-1.5.6-h8880b57_0\info Extract: repodata_record.json Output folder: C:\Users\ipiri\miniconda3\pkgs Extract: python-3.12.7-h14ffc60_0.conda Extract: anaconda_powershell_prompt-1.1.0-haa95532_0.conda Extract: anaconda_prompt-1.1.0-haa95532_0.conda Extract: ca-certificates-2024.9.24-haa95532_0.conda Extract: pybind11-abi-5-hd3eb1b0_0.conda Extract: tzdata-2024b-h04d1e81_0.conda Extract: vs2015_runtime-14.40.33807-h98bb1dd_1.conda Extract: vc-14.40-h2eaa2aa_1.conda Extract: bzip2-1.0.8-h2bbff1b_6.conda Extract: expat-2.6.3-h5da7b33_0.conda Extract: fmt-9.1.0-h6d14046_1.conda Extract: libffi-3.4.4-hd77b12b_1.conda Extract: libiconv-1.16-h2bbff1b_3.conda Extract: lz4-c-1.9.4-h2bbff1b_1.conda Extract: openssl-3.0.15-h827c3e9_0.conda Extract: reproc-14.2.4-hd77b12b_2.conda Extract: sqlite-3.45.3-h2bbff1b_0.conda Extract: xz-5.4.6-h8cc25b3_1.conda Extract: yaml-cpp-0.8.0-hd77b12b_1.conda Extract: zlib-1.2.13-h8cc25b3_1.conda Extract: libssh2-1.11.0-h291bd65_0.conda Extract: libxml2-2.13.1-h24da03e_2.conda Extract: pcre2-10.42-h0ff8eda_1.conda Extract: reproc-cpp-14.2.4-hd77b12b_2.conda Extract: tk-8.6.14-h0416ee5_0.conda Extract: zstd-1.5.6-h8880b57_0.conda Extract: libarchive-3.7.4-h9243413_0.conda Extract: libcurl-8.9.1-h0416ee5_0.conda Extract: libsolv-0.7.24-h23ce68f_1.conda Extract: libmamba-1.5.8-h99b1521_3.conda Extract: menuinst-2.1.2-py312h5da7b33_0.conda Extract: anaconda-anon-usage-0.4.4-py312hfc23b7f_100.conda Extract: archspec-0.2.3-pyhd3eb1b0_0.conda Extract: boltons-23.0.0-py312haa95532_0.conda Extract: brotli-python-1.0.9-py312hd77b12b_8.conda Extract: certifi-2024.8.30-py312haa95532_0.conda Extract: charset-normalizer-3.3.2-pyhd3eb1b0_0.conda Extract: colorama-0.4.6-py312haa95532_0.conda Extract: distro-1.9.0-py312haa95532_0.conda Extract: frozendict-2.4.2-py312haa95532_0.conda Extract: idna-3.7-py312haa95532_0.conda Extract: libmambapy-1.5.8-py312h77c03ed_3.conda Extract: packaging-24.1-py312haa95532_0.conda Extract: platformdirs-3.10.0-py312haa95532_0.conda Extract: pluggy-1.0.0-py312haa95532_1.conda Extract: pycosat-0.6.6-py312h2bbff1b_1.conda Extract: ruamel.yaml.clib-0.2.8-py312h827c3e9_0.conda Extract: setuptools-75.1.0-py312haa95532_0.conda Extract: truststore-0.8.0-py312haa95532_0.conda Extract: wheel-0.44.0-py312haa95532_0.conda Extract: win_inet_pton-1.1.0-py312haa95532_0.conda Extract: pip-24.2-py312haa95532_0.conda Extract: pysocks-1.7.1-py312haa95532_0.conda Extract: ruamel.yaml-0.18.6-py312h827c3e9_0.conda Extract: tqdm-4.66.5-py312hfc267ef_0.conda Extract: urllib3-2.2.3-py312haa95532_0.conda Extract: requests-2.32.3-py312haa95532_0.conda Extract: conda-libmamba-solver-24.9.0-pyhd3eb1b0_0.conda Extract: jsonpointer-2.1-pyhd3eb1b0_0.conda Extract: jsonpatch-1.33-py312haa95532_1.conda Extract: pycparser-2.21-pyhd3eb1b0_0.conda Extract: cffi-1.17.1-py312h827c3e9_0.conda Extract: cryptography-43.0.0-py312h89fc84f_0.conda Extract: zstandard-0.23.0-py312h4fc1ca9_0.conda Extract: conda-content-trust-0.2.0-py312haa95532_1.conda Extract: conda-package-streaming-0.10.0-py312haa95532_0.conda Extract: conda-package-handling-2.3.0-py312haa95532_0.conda Extract: conda-24.9.2-py312haa95532_0.conda Setting up the base environment ... Output folder: C:\Users\ipiri\miniconda3\pkgs Extract: env.txt Output folder: C:\Users\ipiri\miniconda3\conda-meta Extract: history Installing packages for base, creating shortcuts if necessary... Downloading and Extracting Packages: ...working... done ## Package Plan ## environment location: C:\Users\ipiri\miniconda3 added / updated specs: - defaults/noarch::archspec==0.2.3=pyhd3eb1b0_0[md5=13d01ee2d343d8539bb47055a6c0b5b2] - defaults/noarch::charset-normalizer==3.3.2=pyhd3eb1b0_0[md5=c6fea3691e85cf7f568b0618ec29fc4f] - defaults/noarch::conda-libmamba-solver==24.9.0=pyhd3eb1b0_0[md5=251a69a5bf578ef59fdf8255c7c25c5d] - defaults/noarch::jsonpointer==2.1=pyhd3eb1b0_0[md5=298ff809e733cb04366e4e629c65aa8d] - defaults/noarch::pybind11-abi==5=hd3eb1b0_0[md5=7f0df6639fdf60ccd3045ee6faedd32f] - defaults/noarch::pycparser==2.21=pyhd3eb1b0_0[md5=135a72ff2a31150a3a3ff0b1edd41ca9] - defaults/noarch::tzdata==2024b=h04d1e81_0[md5=9be694715c6a65f9631bb1b242125e9d] - defaults/win-64::anaconda-anon-usage==0.4.4=py312hfc23b7f_100[md5=7e01b4a1128bbbd94e4eacbf59129c05] - defaults/win-64::anaconda_powershell_prompt==1.1.0=haa95532_0[md5=19ef6ba2f17caca6afeae240c8193979] - defaults/win-64::anaconda_prompt==1.1.0=haa95532_0[md5=f12980dc18dd04d5d50492c7c0f1d1a2] - defaults/win-64::boltons==23.0.0=py312haa95532_0[md5=df8555106ebda0bfb7e873a2899e1e50] - defaults/win-64::brotli-python==1.0.9=py312hd77b12b_8[md5=59ff3db1abed10f8b7705c41f5199573] - defaults/win-64::bzip2==1.0.8=h2bbff1b_6[md5=33e784123d565c38e68945f07b461282] - defaults/win-64::ca-certificates==2024.9.24=haa95532_0[md5=0f84ebf6fe438cbc6997723860ca3de2] - defaults/win-64::certifi==2024.8.30=py312haa95532_0[md5=46d3270437bbd000f59be32b1a0ccdce] - defaults/win-64::cffi==1.17.1=py312h827c3e9_0[md5=fcef370fa986fc1ee293f82af8323339] - defaults/win-64::colorama==0.4.6=py312haa95532_0[md5=161baa1308cf84c4817497287afb709a] - defaults/win-64::conda-content-trust==0.2.0=py312haa95532_1[md5=bc574c11d09ba512434a514d58983ca2] - defaults/win-64::conda-package-handling==2.3.0=py312haa95532_0[md5=b7469f81600402fa325961ae0d3733fe] - defaults/win-64::conda-package-streaming==0.10.0=py312haa95532_0[md5=3cfb78d748555927a5409ed2789d9a23] - defaults/win-64::conda==24.9.2=py312haa95532_0[md5=ccdc4f2f59f9ffb74ac9d4ee496a197d] - defaults/win-64::cryptography==43.0.0=py312h89fc84f_0[md5=04b527bde7c449b0fec5258341e8f8a6] - defaults/win-64::distro==1.9.0=py312haa95532_0[md5=87a1545b00f0734f53e48dc7d7a392e5] - defaults/win-64::expat==2.6.3=h5da7b33_0[md5=0b0d607bdcafa9afa17671242a6deb29] - defaults/win-64::fmt==9.1.0=h6d14046_1[md5=5a94a4f71da5367e14c2b97c93e4f740] - defaults/win-64::frozendict==2.4.2=py312haa95532_0[md5=9e30e114fcb045c7ca538f37950d5120] - defaults/win-64::idna==3.7=py312haa95532_0[md5=114efaad1ed61e1d00e3bbad0aac7d86] - defaults/win-64::jsonpatch==1.33=py312haa95532_1[md5=d9a81ef12b44301b9e0d417f38328b2d] - defaults/win-64::libarchive==3.7.4=h9243413_0[md5=2a85c6e7c1405399517969eb4b90af50] - defaults/win-64::libcurl==8.9.1=h0416ee5_0[md5=a49c47137a05a65e052b919d055d2ae6] - defaults/win-64::libffi==3.4.4=hd77b12b_1[md5=9807b377e11739ae3e920e10e607e460] - defaults/win-64::libiconv==1.16=h2bbff1b_3[md5=1564a57e99efb880d46002dc825d07c1] - defaults/win-64::libmamba==1.5.8=h99b1521_3[md5=5ffe11c1560df366e0afeeffa38c263f] - defaults/win-64::libmambapy==1.5.8=py312h77c03ed_3[md5=614a90d5dd2e999c930727ae27de5d02] - defaults/win-64::libsolv==0.7.24=h23ce68f_1[md5=2207fb6b716b04b4f638d31ebba91e79] - defaults/win-64::libssh2==1.11.0=h291bd65_0[md5=bf8ec4289229332b845dba7b65180de7] - defaults/win-64::libxml2==2.13.1=h24da03e_2[md5=4e98cb73c3e0af7357bfe9aa2bf9fb0a] - defaults/win-64::lz4-c==1.9.4=h2bbff1b_1[md5=723e3ccd4ef7c58ddbfeebe69abff662] - defaults/win-64::menuinst==2.1.2=py312h5da7b33_0[md5=8366733ef4636f427bdeb740d16f4a02] - defaults/win-64::openssl==3.0.15=h827c3e9_0[md5=7781aef6d9439002465f12df75789757] - defaults/win-64::packaging==24.1=py312haa95532_0[md5=b5ecc0a9c2cc5a1e44f9dd4598c4df50] - defaults/win-64::pcre2==10.42=h0ff8eda_1[md5=c09acf9bd80c5a76f5315108b9a34ad5] - defaults/win-64::pip==24.2=py312haa95532_0[md5=cdc7bc1beec1fca9232399b7ce5c579a] - defaults/win-64::platformdirs==3.10.0=py312haa95532_0[md5=21714abfa08e1d6e0435b9768ead622a] - defaults/win-64::pluggy==1.0.0=py312haa95532_1[md5=a035f6bc79b4bd1fd4d7b99effa5b643] - defaults/win-64::pycosat==0.6.6=py312h2bbff1b_1[md5=5ed12cec6117aca1f17e2492b16bf983] - defaults/win-64::pysocks==1.7.1=py312haa95532_0[md5=e5f7b8790925322357ee89cc7ae5bb1c] - defaults/win-64::python==3.12.7=h14ffc60_0[md5=e8862f1d033a406f14be503fac585883] - defaults/win-64::reproc-cpp==14.2.4=hd77b12b_2[md5=34c1b673ec90d3c79cfb1677505ae5c8] - defaults/win-64::reproc==14.2.4=hd77b12b_2[md5=0145436bf5111660b686d3ad7f1b4235] - defaults/win-64::requests==2.32.3=py312haa95532_0[md5=ec7f939e52a6bd6501164b7b11f07fb5] - defaults/win-64::ruamel.yaml.clib==0.2.8=py312h827c3e9_0[md5=a4c0471292bd589a1d8da0e5adbd45e4] - defaults/win-64::ruamel.yaml==0.18.6=py312h827c3e9_0[md5=023be647f9a82f66db5fa1388e67e1fb] - defaults/win-64::setuptools==75.1.0=py312haa95532_0[md5=295271832b0e5fb9788db7993748e392] - defaults/win-64::sqlite==3.45.3=h2bbff1b_0[md5=c5b3b929349655302bf811c45571da6d] - defaults/win-64::tk==8.6.14=h0416ee5_0[md5=da75707c571825eb2ad0eb806710b16b] - defaults/win-64::tqdm==4.66.5=py312hfc267ef_0[md5=61b53ea176ef121a7c4785c3af45b50e] - defaults/win-64::truststore==0.8.0=py312haa95532_0[md5=cd11980b22b5d9d958033a7df07c0617] - defaults/win-64::urllib3==2.2.3=py312haa95532_0[md5=6e9a6165835ea53e6fb604eaa9a67e36] - defaults/win-64::vc==14.40=h2eaa2aa_1[md5=17cff96ab79812e3d26cd65fa5e70088] - defaults/win-64::vs2015_runtime==14.40.33807=h98bb1dd_1[md5=eb3566bfee017cb6cf82bd7c41441586] - defaults/win-64::wheel==0.44.0=py312haa95532_0[md5=e0d4ff7c1b53527d54a4b5c4c3256d8c] - defaults/win-64::win_inet_pton==1.1.0=py312haa95532_0[md5=3ba2805fbd7809df9a5628c068b9d873] - defaults/win-64::xz==5.4.6=h8cc25b3_1[md5=cd89b06b0e59712386f00a41fb2dec32] - defaults/win-64::yaml-cpp==0.8.0=hd77b12b_1[md5=f90bd3c9e348fc821d2699721773225f] - defaults/win-64::zlib==1.2.13=h8cc25b3_1[md5=1f7ea85632611b25599e4cddf5b51d7d] - defaults/win-64::zstandard==0.23.0=py312h4fc1ca9_0[md5=a8b8fcf057573fae512a355daabc3031] - defaults/win-64::zstd==1.5.6=h8880b57_0[md5=0ca0f609c72a6ae9a27985be56b6c351] The following NEW packages will be INSTALLED: anaconda-anon-usa~ pkgs/main/win-64::anaconda-anon-usage-0.4.4-py312hfc23b7f_100 anaconda_powershe~ pkgs/main/win-64::anaconda_powershell_prompt-1.1.0-haa95532_0 anaconda_prompt pkgs/main/win-64::anaconda_prompt-1.1.0-haa95532_0 archspec pkgs/main/noarch::archspec-0.2.3-pyhd3eb1b0_0 boltons pkgs/main/win-64::boltons-23.0.0-py312haa95532_0 brotli-python pkgs/main/win-64::brotli-python-1.0.9-py312hd77b12b_8 bzip2 pkgs/main/win-64::bzip2-1.0.8-h2bbff1b_6 ca-certificates pkgs/main/win-64::ca-certificates-2024.9.24-haa95532_0 certifi pkgs/main/win-64::certifi-2024.8.30-py312haa95532_0 cffi pkgs/main/win-64::cffi-1.17.1-py312h827c3e9_0 charset-normalizer pkgs/main/noarch::charset-normalizer-3.3.2-pyhd3eb1b0_0 colorama pkgs/main/win-64::colorama-0.4.6-py312haa95532_0 conda pkgs/main/win-64::conda-24.9.2-py312haa95532_0 conda-content-tru~ pkgs/main/win-64::conda-content-trust-0.2.0-py312haa95532_1 conda-libmamba-so~ pkgs/main/noarch::conda-libmamba-solver-24.9.0-pyhd3eb1b0_0 conda-package-han~ pkgs/main/win-64::conda-package-handling-2.3.0-py312haa95532_0 conda-package-str~ pkgs/main/win-64::conda-package-streaming-0.10.0-py312haa95532_0 cryptography pkgs/main/win-64::cryptography-43.0.0-py312h89fc84f_0 distro pkgs/main/win-64::distro-1.9.0-py312haa95532_0 expat pkgs/main/win-64::expat-2.6.3-h5da7b33_0 fmt pkgs/main/win-64::fmt-9.1.0-h6d14046_1 frozendict pkgs/main/win-64::frozendict-2.4.2-py312haa95532_0 idna pkgs/main/win-64::idna-3.7-py312haa95532_0 jsonpatch pkgs/main/win-64::jsonpatch-1.33-py312haa95532_1 jsonpointer pkgs/main/noarch::jsonpointer-2.1-pyhd3eb1b0_0 libarchive pkgs/main/win-64::libarchive-3.7.4-h9243413_0 libcurl pkgs/main/win-64::libcurl-8.9.1-h0416ee5_0 libffi pkgs/main/win-64::libffi-3.4.4-hd77b12b_1 libiconv pkgs/main/win-64::libiconv-1.16-h2bbff1b_3 libmamba pkgs/main/win-64::libmamba-1.5.8-h99b1521_3 libmambapy pkgs/main/win-64::libmambapy-1.5.8-py312h77c03ed_3 libsolv pkgs/main/win-64::libsolv-0.7.24-h23ce68f_1 libssh2 pkgs/main/win-64::libssh2-1.11.0-h291bd65_0 libxml2 pkgs/main/win-64::libxml2-2.13.1-h24da03e_2 lz4-c pkgs/main/win-64::lz4-c-1.9.4-h2bbff1b_1 menuinst pkgs/main/win-64::menuinst-2.1.2-py312h5da7b33_0 openssl pkgs/main/win-64::openssl-3.0.15-h827c3e9_0 packaging pkgs/main/win-64::packaging-24.1-py312haa95532_0 pcre2 pkgs/main/win-64::pcre2-10.42-h0ff8eda_1 pip pkgs/main/win-64::pip-24.2-py312haa95532_0 platformdirs pkgs/main/win-64::platformdirs-3.10.0-py312haa95532_0 pluggy pkgs/main/win-64::pluggy-1.0.0-py312haa95532_1 pybind11-abi pkgs/main/noarch::pybind11-abi-5-hd3eb1b0_0 pycosat pkgs/main/win-64::pycosat-0.6.6-py312h2bbff1b_1 pycparser pkgs/main/noarch::pycparser-2.21-pyhd3eb1b0_0 pysocks pkgs/main/win-64::pysocks-1.7.1-py312haa95532_0 python pkgs/main/win-64::python-3.12.7-h14ffc60_0 reproc pkgs/main/win-64::reproc-14.2.4-hd77b12b_2 reproc-cpp pkgs/main/win-64::reproc-cpp-14.2.4-hd77b12b_2 requests pkgs/main/win-64::requests-2.32.3-py312haa95532_0 ruamel.yaml pkgs/main/win-64::ruamel.yaml-0.18.6-py312h827c3e9_0 ruamel.yaml.clib pkgs/main/win-64::ruamel.yaml.clib-0.2.8-py312h827c3e9_0 setuptools pkgs/main/win-64::setuptools-75.1.0-py312haa95532_0 sqlite pkgs/main/win-64::sqlite-3.45.3-h2bbff1b_0 tk pkgs/main/win-64::tk-8.6.14-h0416ee5_0 tqdm pkgs/main/win-64::tqdm-4.66.5-py312hfc267ef_0 truststore pkgs/main/win-64::truststore-0.8.0-py312haa95532_0 tzdata pkgs/main/noarch::tzdata-2024b-h04d1e81_0 urllib3 pkgs/main/win-64::urllib3-2.2.3-py312haa95532_0 vc pkgs/main/win-64::vc-14.40-h2eaa2aa_1 vs2015_runtime pkgs/main/win-64::vs2015_runtime-14.40.33807-h98bb1dd_1 wheel pkgs/main/win-64::wheel-0.44.0-py312haa95532_0 win_inet_pton pkgs/main/win-64::win_inet_pton-1.1.0-py312haa95532_0 xz pkgs/main/win-64::xz-5.4.6-h8cc25b3_1 yaml-cpp pkgs/main/win-64::yaml-cpp-0.8.0-hd77b12b_1 zlib pkgs/main/win-64::zlib-1.2.13-h8cc25b3_1 zstandard pkgs/main/win-64::zstandard-0.23.0-py312h4fc1ca9_0 zstd pkgs/main/win-64::zstd-1.5.6-h8880b57_0 Downloading and Extracting Packages: ...working... done Preparing transaction: ...working... done Executing transaction: ...working... done ERROR conda.core.link:_execute(950): An error occurred while installing package 'defaults::anaconda_powershell_prompt-1.1.0-haa95532_0'. Rolling back transaction: ...working... done LinkError: post-link script failed for package defaults::anaconda_powershell_prompt-1.1.0-haa95532_0 location of failed script: C:\Users\ipiri\miniconda3\Scripts\.anaconda_powershell_prompt-post-link.bat ==> script messages <== <None> ==> script output <== stdout: stderr: The system cannot find the file specified. The system cannot find the file specified. return code: 1 () ::error:: Failed to link extracted packages to C:\Users\ipiri\miniconda3! ``` I aborted the install and the miniconda3 folder does not have the core folders bin, scripts and others. ### Conda Info ```shell ``` ### Conda Config ```shell ``` ### Conda list ```shell ``` ### Additional Context _No response_ 1 个帖子 - 1 位参与者 阅读完整话题

www.ithome.com · 2026-04-18 18:49:29+08:00 · tech

IT之家 4 月 18 日消息,消息源 Canon Rumors 今天发文,长期以来有传闻称,佳能将在经典胶片单反 AE-1 诞生 50 周年时推出一款复古相机,甚至型号可能是“RE-1”。不过从目前情报来看,佳能似乎并没有这种计划。 IT之家在此援引 Canon Rumors,佳能即将推出 EOS R8 Mark II 全画幅无反相机,可能会加入复古元素。 这意味着佳能将会为 R8 系列产品线分化两条路线:一条是偏视频拍摄的 EOS R8 V,有望下周发布;另一条则是主打复古设计的 R8 Mark II。 不过我们目前仍无法得知 EOS R8 Mark II 的具体规格。从逻辑上看,带复古设计的全画幅无反都不会失败。 事实上,佳能在上个月接受 Phototrend 采访时,被问及是否会纪念 AE-1 诞生 50 周年。官方当时回应道:“目前我们没有准备以特别的方式庆祝这一里程碑”。 佳能认为,复古数码相机存在诸多设计难点。首先相机设计不仅只是做个机身,还要让机身、镜头、配件整体协调。并且握持感、拨轮和按键布局等人机交互设计也在几十年间发生很大变化。 简单复刻老相机的外观未必能带来良好的现代体验 。 他表示,虽然市场对复古外观的需求确实存在, 但在推进之前必须充分评估技术难度与商业可行性 。 IT之家注:佳能 AE-1 是一台胶片单反相机,最初发布于 1976 年 4 月,是世界上第一台采用微处理器控制的量产单反相机,搭载 FD 卡口,支持快门优先自动曝光(S 挡 / Tv 挡),让大量普通用户无需掌握摄影知识就能拍出曝光正确的照片,被国内摄友与尼康 FM2、奥巴 OM-1、美能达 X700 并誉为“豆瓣四大神机”。 有趣的是,苹果前员工 Jim Reekes 曾透露,iPhone 手机按下快门的声音实际上来自他高中时买的佳能 AE-1。