error in loadding 'httpuv' library

未关闭
#403 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
r

调研方向

Start by reproducing library(httpuv) on the reported R 4.3.3/Windows 7 x64 environment and inspect the installed httpuv.dll's native-library dependencies, not just whether the file exists. Use the session information and comment thread to identify the missing module; done means the package loads successfully or the failure is narrowed to an actionable compatibility cause.

由索引模型根据 Issue 内容生成。

描述

Recently, I tried to load 'httpuv' package to use devtools (using install.packages("httpuv")), but it failed. Once installed, I try to load it using library(httpuv) and the following error pops up:

  > library('httpuv')
  Error: package or namespace load failed for ‘httpuv’ in inDL(x, as.logical(local), as.logical(now), ...):
   unable to load shared object 'd:/Program Files/R/R-4.3.3/library/httpuv/libs/x64/httpuv.dll':
    LoadLibrary failure:  The specified module could not be found.

In fact, I browsed that location the httpuv.dll is there. I did not know how to solve it.

My session info:

R version 4.3.3 (2024-02-29 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

Matrix products: default

locale:
[1] LC_COLLATE=Chinese (Simplified)_People's Republic of China.936 
[2] LC_CTYPE=Chinese (Simplified)_People's Republic of China.936   
[3] LC_MONETARY=Chinese (Simplified)_People's Republic of China.936
[4] LC_NUMERIC=C                                                   
[5] LC_TIME=Chinese (Simplified)_People's Republic of China.936    

time zone: Asia/Shanghai
tzcode source: internal

attached base packages:
character(0)

other attached packages:
[1] httpuv_1.6.15

loaded via a namespace (and not attached):
 [1] cli_3.6.3         cpp11_0.5.0       rlang_1.1.4       promises_1.3.2    htmltools_0.5.8.1
 [6] methods_4.3.3     datasets_4.3.3    ellipsis_0.3.2    fastmap_1.2.0     lifecycle_1.0.4  
[11] utils_4.3.3       memoise_2.0.1     compiler_4.3.3    fs_1.6.5          Rcpp_1.0.13-1    
[16] rstudioapi_0.17.1 base_4.3.3        stats_4.3.3       graphics_4.3.3    later_1.4.1      
[21] digest_0.6.37     R6_2.5.1          curl_6.0.1        magrittr_2.0.3    tools_4.3.3      
[26] grDevices_4.3.3   cachem_1.1.0      remotes_2.5.0    
主要语言
C
星标
252
派生
87
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

rstudio/httpuv 的其他 Issue

查看 rstudio/httpuv 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。