我试图在我的虚拟机上下载R,但出于某些原因,我得到了以下错误:
~$ sudo apt install r-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution
尝试为Ubuntu2204桌面安装linux (uname -r = 5.13.0-40-generic),我得到:
sudo apt install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package linux-headers-5.13.0-40-generic is not available, but is referred to by another package.
This
每次我给出任何包的命令(在本例中是ggplot2 )时,我都会在几分钟后得到这个命令。我错过了什么,但不知道是什么。提前感谢!
ERROR: dependency ‘plyr’ is not available for package ‘reshape2’
* removing ‘/home/cj/R/x86_64-pc-linux-gnu-library/2.14/reshape2’
Warning in install.packages :
installation of package ‘reshape2’ had non-zero exit status
ERROR: depend
当我在r工作室安装flextable库时,我得到了以下错误。 ERROR: configuration failed for package ‘systemfonts’
* removing ‘/home/user/R/x86_64-pc-linux-gnu-library/3.2/systemfonts’
Warning in install.packages :
installation of package ‘systemfonts’ had non-zero exit status
ERROR: dependency ‘systemfonts’ is not available
我以前使用python3.6编写了我的应用程序。
现在,我希望在ubuntu20.04上部署它,默认的python是3.8。
在运行pip -r requirments.txt时,在创建虚拟环境后,会发现终端中特定包的错误。以下是这些包的错误:
Building wheel for cffi (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/pouya795/www/marketpine-backend/venv/bin/python -u -c &
我在这里把我写的东西发到https://forums.virtualbox.org/viewtopic.php?f=7&t=104377&p=508627#p508627的C0论坛上,没有运气。
我在LinuxMint19.3(Ubuntu1804)上安装了最新的5.15.0内核,配备了最新的VirtualBox版本。
启动任何VM,我都会得到以下错误:
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver is either not loaded or not set up cor
日安,
最近,“软件更新”通知我,我的电脑有软件更新。我点击了“显示更新”,然后“立即安装”。
这导致以下错误消息:
Not enough free disk space
The upgrade needs a total of 312 M free space on disk '/boot'. Please free at least an additional 312 M of disk space on '/boot'. You can remove old kernels using 'sudo apt autoremove', and
尝试安装ggplot2时出现以下错误:
> install.packages("ggplot2")
Installing package(s) into ‘/home/dodo/R/x86_64-pc-linux-gnu-library/2.13’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
Warning message:
In getDependencies(pkgs, de
我正在尝试在我的Linux机器上安装tseries包。在R下,我运行
> install.packages("tseries")
系统会提示我一个镜像站点列表,但无论我选择哪一个(例如,79: USA (WA)),它都会给我一个镜像站点
Selection: 79
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
package "tseries" is not available
有人知道为什么会这样吗?我的R版本是2.9.2。谢谢。
我正在构建一个带有本地支持的Android应用程序。当我使用Mac时,这个应用程序会编译和运行。现在我想切换到Windows进行开发,当我试图运行这个应用程序时,我会遇到这个错误。我可能只是错过了显而易见的事情,有什么想法吗?
Error:Execution failed for task ':app:compileMyApp_moduleArm64-v8aDebugSharedLibraryMyApp_moduleMainC'.
No tool chain is available to build for platform 'arm64-v8a':
我尝试使用以下代码进行安装
>install.packages("forecast")
错误发生的原因如下:
ERROR: dependency ‘Rcpp’ is not available for package ‘RcppArmadillo’
* removing ‘/root/R/x86_64-pc-linux-gnu-library/2.14/RcppArmadillo’
ERROR: dependencies ‘Rcpp’, ‘RcppArmadillo’ are not available for package ‘forecast’
* removing
我使用Requests包在2环境中运行Python脚本。
脚本在一个环境中工作得很好,
RedHat version is : Red Hat Enterprise Linux Server release 6.5 (Santiago)
OpenSSL version is : OpenSSL 1.0.1e-fips 11 Feb 2013
Python Version is : Python 2.6.6 (r266:84292, Sep 4 2013, 07:46:00)
Requests Package is : requests-2.7.0-py2.6
但是相同的脚本在另一个环境中抛出
我现在对R有很多问题,但我想开始问一个最基本的问题。
我想将GitHub文件安装到R中,但由于某些原因,install_github函数似乎并不存在。例如,当我键入:
install_github("devtools")
我得到了
error: could not find function install_github
install_packages函数工作得非常好。我该如何解决这个问题?
另外,我想问一下是否有升级R的方法,因为2.15.2版似乎与我想要使用的大多数包不兼容。
我目前使用的是Linux版本3.6.11-1 RedHat 4.7.2-2 fedora lin
我在更新内核时遇到了麻烦。我在运行Kubuntu 14.04。uname -r输出:
3.13.0-32-generic
我清楚地看到了sudo dpkg --list 'linux-image*'在repos中更新的版本:
...
linux-headers-3.13.0-40 - Header files related to Linux kernel version 3.13.0
linux-headers-3.13.0-40-generic - Linux kernel headers for version 3.13.0 on 64 bit x86 SMP
linux
在linux计算机中编译python文件时,将显示以下警告,但在Solaris计算机中编译的相同文件将不会显示警告
/opt/swe/tools/ext/gnu/python-2.3.5_p1/i686-linux2.4/lib/python2.3/config/libpython2.3.a(posixmodule.o)(.text+0x3e9a): In function `posix_tmpnam':
./Modules/posixmodule.c:6138: warning: the use of `tmpnam_r' is dangerous, better use `
当尝试安装软件包时:
> install.packages("mlr")
Installing package into ‘/home/kisco/R/x86_64-pc-linux-gnu-library/3.0’
(as ‘lib’ is unspecified)
Warning in install.packages :
dependencies ‘plyr’, ‘dplyr’, ‘lazyeval’ are not available
also installing the dependencies ‘scales’, ‘ggplot2’, ‘ggvis’,
在运行sudo sh VBoxLinuxAdditions.run时,我在debian测试中得到了内核4.16的以下错误:
tmp/vbox.0/vbox_ttm.c: In function ‘vbox_bo_move’:
/tmp/vbox.0/vbox_ttm.c:208:29: error: incompatible type for argument 2 of ‘ttm_bo_move_memcpy’
r = ttm_bo_move_memcpy(bo, interruptible, no_wait_gpu, new_mem);
根据debian wiki上的说明,我已经在Debian上安装了简历盒。
通过跑步:
apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') virtualbox
在安装期间,报告了一些错误。
现在我想重新配置virtualbox-dkms,但是我收到了以下错误:
Loading new virtualbox-4.3.18 DKMS files...
Building only for 3.16-3-amd64
Module build for the currently running kernel
apt-get install linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-4.9.0-kali3-amd64
E: Couldn't find any package by glob 'linux-headers-4.9.0-kali3-amd64'
E: Couldn't find any pa