I would like to install jagsUI on the cluster that I am using. However, this requires me to load JAGS4.3.0 module which I have installed on my computer. This is the error I get when installing jagsUI:
During startup - Warning message:
Setting LC_CTYPE failed, using "C"
* installing *source* package 'rjags' ...
** package 'rjags' successfully unpacked and MD5 sums checked
** using non-staged installation
checking for pkg-config... /usr/bin/pkg-config
configure: WARNING: pkg-config file for jags 4 unavailable
configure: WARNING: Consider adding the directory containing `jags.pc`
configure: WARNING: to the PKG_CONFIG_PATH environment variable
configure: Attempting legacy configuration of rjags
checking for jags... no
configure: error: "automatic detection of JAGS failed. Please use pkg-config to locate the JAGS library. See the INSTALL file for details."
ERROR: configuration failed for package 'rjags'
* removing '/home/cltane002/Rlibs/rjags'
During startup - Warning message:
Setting LC_CTYPE failed, using "C"
ERROR: dependency 'rjags' is not available for package 'jagsUI'
* removing '/home/cltane002/Rlibs/jagsUI'
The downloaded source packages are in
'/tmp/RtmpyIUv3r/downloaded_packages'
Warning messages:
1: In install.packages("jagsUI", "~/Rlibs", "http://ftp.ussg.iu.edu/CRAN") :
installation of package 'rjags' had non-zero exit status
2: In install.packages("jagsUI", "~/Rlibs", "http://ftp.ussg.iu.edu/CRAN") :
installation of package 'jagsUI' had non-zero exit status
I have checked on my terminal whether jags has been installed. The module file for jags is not showing when I do module in the terminal connected to the cluster. I do I load the JAGS software to the cluster?
I would check the documentation page of the hpc cluster. The cluster I used before from my university have already compiled and installed the JAGS module on the cluster. All I needed to do is simply load the module. Usually, the hpc documentation website has a page on what modules are available and also example scripts to load and run them.
I tried opening Powershell with Administrative rights and typed
set-executionpolicy remote signed
then tried this again and I still am getting below error.
yarn install
yarn install v1.22.11
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
warning react-scripts > webpack-dev-server > sockjs > uuid#3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
[2/4] Fetching packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "https://registry.yarnpkg.com/#material-ui/icons/-/icons-4.9.1.tgz: ESOCKETTIMEDOUT".
info If you think this is a bug, please open a bug report with the information provided in "C:\\Users\\Win8\\Documents\\Masters Software Engineering\\upstac-ui\\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
This worked for me, I made a file and named it
.yarnrc
and put this inside of it
network-timeout 500000
Have a look:
https://github.com/mui/material-ui/issues/12432
I'm new to using Anaconda and recently installed jupyter labs on my computer. However, any time I try to build on my local Jupyter Labs instance I get the following error:
Code run in jupyter labs terminal:
PS C:\Users\briakeit> jupyter lab build
Output:
[LabBuildApp] JupyterLab 1.2.5
[LabBuildApp] Building in C:\Users\briakeit\AnacondaFiles\share\jupyter\lab
[LabBuildApp] Building jupyterlab assets (build:prod:minimize)
An error occured.
RuntimeError: npm dependencies failed to install
See the log file for details: C:\Users\briakeit\AppData\Local\Temp\jupyterlab-debug-0b5ejkfm.log
Log file:
[LabBuildApp] Building in C:\Users\briakeit\AnacondaFiles\share\jupyter\lab
[LabBuildApp] Yarn configuration loaded.
[LabBuildApp] Node v13.7.0
[LabBuildApp] Building jupyterlab assets (build:prod:minimize)
[LabBuildApp] > node C:\Users\briakeit\AnacondaFiles\lib\site-packages\jupyterlab\staging\yarn.js install --non-interactive
[LabBuildApp] yarn install v1.15.2
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "https://registry.yarnpkg.com/#jupyterlab/application-extension/-/application-extension-1.2.1.tgz: read ECONNRESET".
info If you think this is a bug, please open a bug report with the information provided in "C:\\Users\\briakeit\\AnacondaFiles\\share\\jupyter\\lab\\staging\\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[LabBuildApp] npm dependencies failed to install
[LabBuildApp] Traceback (most recent call last):
[LabBuildApp] File "C:\Users\briakeit\AnacondaFiles\lib\site-packages\jupyterlab\debuglog.py", line 47, in debug_logging
yield
[LabBuildApp] File "C:\Users\briakeit\AnacondaFiles\lib\site-packages\jupyterlab\labapp.py", line 98, in start
command=command, app_options=app_options)
[LabBuildApp] File "C:\Users\briakeit\AnacondaFiles\lib\site-packages\jupyterlab\commands.py", line 459, in build
command=command, clean_staging=clean_staging)
[LabBuildApp] File "C:\Users\briakeit\AnacondaFiles\lib\site-packages\jupyterlab\commands.py", line 660, in build
raise RuntimeError(msg)
[LabBuildApp] RuntimeError: npm dependencies failed to install
[LabBuildApp] Exiting application: JupyterLab
This happens anytime I try using this command (e.g. after installing anew extension). I have npm v6.4.1, nodejs v10.13.0, and yarn v1.22.0 installed in this environment according to conda. I'm running Jupyter lab 1.2.6.
Any feedback, suggestions or help would be greatly appreciated.
I believe I have found the problem. I consult for a company and I was using the computer they provided me (I'm an admin on the computer). When I followed the same steps on my personal computer, it worked with no issues.
I then switched over to a different, more open network at work and the build was able to complete without errors. Clearly there is something in the firewall or something that was preventing me from doing the build.
Not sure if you've fixed it, if not you may try the solutions below.
info There appears to be trouble with your network connection. Retrying...
This is a yarn related error that seems to suggest something wrong with your network. This can happen if the yarn was trying to connect via a proxy. You can try the following if this is the case.
npm config rm proxy
npm config rm https-proxy
It can also happen if your network is too slow. You can try increasing Yarn timeout.
yarn add <yourPackage> --network-timeout 100000
Source: https://github.com/yarnpkg/yarn/issues/4890
As indicated above this might be due to the fact that your company forces you to download everything over the proxy. Yarn (which is used to install npm) does not know your proxy details by default, so you need to create a .yarnrc file in your home directory (usually C:\Users\Username where you need to fill in your own username in windows, or simply ~/ on ubuntu).
In that file you need to specify your proxy settings as follows:
https-proxy "http://username:password#proxy.address.com:port"
strict-ssl false
Note no = sign in there and quotes around the address.
Then you'll be able to download the packages through your proxy.
I had the same issue. I have tried different versions of nodejs with different environments but couldn't solve the issue. I have checked the log files and found out that there was a problem with yarn cache so clearing the yarn cache solved my problem.
From the logs you can see:
info There appears to be trouble with your network connection.
Retrying...
I had the same issue, and disabling the firewall temporarily helped me to sort out part of the the issue, but then I finally got it with:
jupyter lab build --dev-build=False --minimize=False
I had a similar issue associated with Norton notification blocking jupyter.exe and some other programs while running 'jupyter lab build'. I resolved this issue by 'Turn off or turn on Data Protector' in Norton or disabling Auto-protect and smart-firewall each time running 'jupyter lab build'.
I faced similar issues and here are the solutions that works for me:
Installed latest version of nodejs and npm.
Manually installed latest version of yarn (download its msi installer instead of via cmd--> npm install --global yarn)
remove npm proxy via cmd:
npm config rm proxy
npm config rm https-proxy
Restarting the laptop
jupyter lab build --dev-build=False --minimize=False
Voila, it works flawlessly.
I am trying out the IBM BLockchain Extension for VSCode and going through the tutorial. I am able to create a smart contract project, add a workplace, and create a smart contract package. At the local fabric ops part - When I click start local fabric runtime I get an error:
[5/19/2019 10:17:44 AM] [INFO] startFabricRuntime [5/19/2019 10:17:44
AM] [INFO] 'generate.cmd' is not recognized as an internal or external
command, [5/19/2019 10:17:44 AM] [INFO] operable program or batch
file.
I am using:
VSCode
Windows 10 Enterprise
Docker Desktop for Windows
Uninstall ibm blockchain extension from extension
Delete runtime folder from vscode directory.
You can find vscode directory in home directory
path to runtime package
$ cd .fabric-vscode
$ ls
local_fabric_wallet packages runtime
$ rm packages
Reinstall the ibm blockchain extension in vscode
all! Just trying to install VMware Workstation 10 at Kali linux and get the following error:
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
where troubleshooting should be started?
From https://communities.vmware.com/thread/453282
As for the GTK errors re: canberra-gtk-module, they're innocuous. You may ignore them.
I got the same Gtk-message, but the installation seems to be still proceeding.