Installing TensorRT gives "Packages File not found" error - tensorrt

While installing TensorRT, the below error occurred. I have already installed cuda 9.0 and cudnn 7.0.5. How do I avoid this error?
Err:5 file:/var/cuda-repo-9-0-local Packages File not found - /var/cuda-repo-9-0-local/Packages (2: No such file or directory)

Related

Error installing tensorflow in R: /Users/emmeran/.virtualenvs/r-reticulate/bin/pip: No such file or directory

After installing the tensorflow package for R from Github, and loading with library(tensorflow), when doing install_tensorflow(), I get the error message below. I don't know how to get it to find the file or where I can even know where the file is. Thanks
install_tensorflow()
Using virtual environment '~/.virtualenvs/r-reticulate' ...
sh: /Users/emmeran/.virtualenvs/r-reticulate/bin/pip: No such file or directory
Error: Error installing package(s): 'pip'
In addition: Warning message:
In system2(pip, args) : error in running command

How to fix Error installing RCurl on Mac OS X from source: 'curl/curl.h' file not found

Trying to reinstall RCurl from source so it can support sftp (having just installed libssh2 using homebrew):
install.packages("RCurl", type = "source")
I then get:
In file included from base64.c:1:
./Rcurl.h:4:10: fatal error: 'curl/curl.h' file not found
#include <curl/curl.h>
^~~~~~~~~~~~~
1 error generated.
make: *** [base64.o] Error 1
ERROR: compilation failed for package ‘RCurl’
* removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/RCurl’
* restoring previous ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/RCurl’
Warning in install.packages :
installation of package ‘RCurl’ had non-zero exit status
I've tried Googling and looking on StackOverflow and there are plenty of threads on Debian, Linux, Ubuntu and Windows and none on Mac OS X hence this post.
Any ideas? Please help.

loading failed error when install R package from github

I am working on Bayesian inference and I want to install bayesVAR_TVP package from Github. I tried the following commands:
install.packages("devtools")
library(devtools)
install_github("GediminasB/bayesVAR_TVP")
and
install.packages("githubinstall")
gh_install_packages("bayesVAR_TVP")
In both case I received the following error:
Error: package or namespace load failed for 'bayesVARTVP' in library.dynam(lib, package, package.lib):
DLL 'bayesVAR' not found: maybe not installed for this architecture?
Error: loading failed
Execution halted
*** arch - x64
Error: package or namespace load failed for 'bayesVARTVP' in library.dynam(lib, package, package.lib):
DLL 'bayesVAR' not found: maybe not installed for this architecture?
Error: loading failed
Execution halted
ERROR: loading failed for 'i386', 'x64'
* removing 'C:/Users/Hamed/Documents/R/win-library/3.4/bayesVARTVP'
In R CMD INSTALL
Installation failed: Command failed (1)
I have checked some similar questions on this site but they could not help me. I am working on a Win 7 64b and R 3.4.3. Also, my friend has a similar error on mac system. Does anyone have any idea? Thanks beforehand.

R fedora package .lme4 error on install RcppEigen.h missing

Attempts to install package lme4 result in:
cpp -o external.o
In file included from external.cpp:8:0:
predModule.h:12:23: fatal error: RcppEigen.h: No such file or directory
compilation terminated.
/usr/lib64/R/etc/Makeconf:139: recipe for target 'external.o' failed
make: *** [external.o] Error 1
ERROR: compilation failed for package ‘lme4’
The system is Fedora Core 23
R is 3.3.1
Searches do not produce references to resolve the RccpEigen reference. Is there a workaround.

How to install RtidyHTML on Mac?

Any ideas how I can install RTidyHTML when I get the following error message?
install.packages("RTidyHTML", repos = "http://www.omegahat.org/R", type="source")
trying URL 'http://www.omegahat.org/R/src/contrib/RTidyHTML_0.2-1.tar.gz'
Content type 'application/x-gzip' length 554953 bytes (541 Kb)
opened URL
==================================================
downloaded 541 Kb
* installing *source* package ‘RTidyHTML’ ...
./configure: line 3: make: command not found
ERROR: configuration failed for package ‘RTidyHTML’
* removing ‘/Library/Frameworks/R.framework/Versions/2.13/Resources/library/RTidyHTML’
You need to install XCode on your Mac if you want to compile from source. (Roman's comment only applies to Windows machines.) I just tried installing it on an XCode-equipped Mac running R 2.13.0 and get first a warning during compliation
ld warning: in libtidy/libtidy.a, file is not of required architecture
installing to /Library/Frameworks/R.framework/Versions/2.13/Resources/library/RTidyHTML/libs/x86_64
... and then get an error during the test load that is part of the install script:
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/Library/Frameworks/R.framework/Versions/2.13/Resources/library/RTidyHTML/libs/x86_64/RTidyHTML.so':
dlopen(/Library/Frameworks/R.framework/Versions/2.13/Resources/library/RTidyHTML/libs/x86_64/RTidyHTML.so, 6): Symbol not found: _tidyBufFree
Referenced from: /Library/Frameworks/R.framework/Versions/2.13/Resources/library/RTidyHTML/libs/x86_64/RTidyHTML.so
Expected in: dynamic lookup
I suppose it is possible that it may compile under a 32 bit version of R on the Mac.64-bit. See Simon Urbanek's web page: for more specifics and some installers for other packages.
EDIT: Installation while running 32bit R from the GUI was successful with a current R (version 2.13.1 RC (2011-07-03 r56263) )

Resources