Attribute error in NVDIA DIGITS installation - nvidia-digits

I tried to install NVIDIA DIGITS on ubuntu 14.04
I followed this website to install all the pre-requisites: https://github.com/NVIDIA/DIGITS/blob/master/docs/BuildDigits.md
I couldn't set up the server
The command: ./digits-devserver returned this:
The first part
The second part
Please let me know how I can tackle this attribute error(AttributeError: 'module' object has no attribute 'nanprod')

Related

Fault in reticulate in rstudio

476/5000
rstudio generates error when running R code with python code. At first the code worked very well but in the second installation it started to generate faults. Here is the link of the code in case you want to play #https: //www.r-bloggers.com/r-and-python-using-reticulate-to-get-the-best-of-both-worlds/
. My laptop is hp 4 gigs of ram and 500 mb of hard disk.
I would greatly appreciate who can explain the failure and how to solve it.
I have reinstalled anaconda last version twice.
library(reticulate)
use_python("/usr/local/bin/python")
use_virtualenv("r-reticulate")
os <- import("os")
Error: lexical error: invalid char in json text.
WARNING: The conda.compat modul
(right here) ------^
os$listdir(".")
Error: object 'os' not found
py_config()
Error: lexical error: invalid char in json text.
WARNING: The conda.compat modul
(right here) ------^
Actually, it comes from a deprecation warning reported a few days ago (fix compat import showing warning #8507).
But the fact is that this warning in "conda.compat" generates some errors, for example in the case of using conda environments in R through "reticulate" functions. This issue has been reported quite recently Conda warnings taken as errors #477.
The solution is to simply install the github version of "reticulate" in order to avoid these errors and ignore the conda warnings which shouldn't necessarily impede these functionalities. You can do it like this way:
remotes::install_github("rstudio/reticulate")
And don't forget to have the latest Rtools installed in your operating system!
This might be useful for you: https://docs.anaconda.com/anaconda/user-guide/tasks/switch-environment/
I have Anaconda, and set up Python 2 environment. Once activated, run 'use_python' with the path to that environment and set the 'required' parameter to TRUE.
I had the same problem. I solved the problem by installing an older version of conda.
In anaconda promt
conda install conda = 4.1.6

Error when i install Bazel in a RaspBerry pi

Im trying yo install bazel-0.8.0 in my raspberry pi 3, but when i compile bazel, after an hour, through me an error. The specific error i think is package-bazel.sh zip: doesnt found. I follow the instruction of this video "https://www.youtube.com/watch?v=WqCnW_2XDw8", and i do all the things like the video, but i cant fix that error that appears to me. Anybody know why i get that error?
This is the exactly error i get:
It seems as the programm zip is not installed. Please try to execute the command line to install all prerequisits as mentioned here https://docs.bazel.build/versions/master/install-compile-source.html#unix-like-systems

Ansible Errors in openshift-ansible/playbooks/byo/config.yml

I am unable to run
ansible-playbook openshift-ansible/playbooks/byo/config.yml
as I get various errors depending on the verison of ansible used. On various 1.9.x versions, the error is
ERROR: fail is not a legal parameter in an Ansible task or handler
and on 2.0.0:
ERROR! 'vars_files' is not a valid attribute for a PlaybookInclude
The error appears to have been in '/home/ansible/openshift-ansible/playbooks/byo/openshift-cluster/config.yml': line 2, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
---
- include: ../../common/openshift-cluster/config.yml
^ here
I have seen this error reported on github, with the 1.9 solution supposedly addressed by moving to 2.0, and the 2.0 error mentioned as being fixed with a 1.9 downgrade, but cannot find a set up in which it actually does work and would appreciate some tip as this seems like one of those steps that should go easily.
This is on RHEL 7 with docker version:
[root#mtl-vm374 ansible]# docker --version
Docker version 1.8.2-el7.centos, build a01dc02/1.8.2
Thanks in advance!
After trying a few 1.9.4 Ansible versions, I finally found an install that works:
http://dl.fedoraproject.org/pub/epel/7/x86_64/a/ansible1.9-1.9.4-2.el7.noarch.rpm
--John

RPy2 - 2.1.7 Installation problems on WIN XP

Good morning everybody,
I'm really struggling during the installation of rpy version 2.1.7 on a windows XP machine.
I put the correct path in the environmental variable (C:\R\R-2.10.0\bin called R_HOME).
The installation process appear to accept the entry and it does not give the message "no R Command in the PATH" and it starts the installation.
However, after a little while it gives me the folowing error:
File "C:\python26\lib\site-packages\setuptools\package-index.py", line 475, in
fetch_distribution
return dist.clone(location=self.download(dist.location, tmpdir))
AttributeError: 'NoneType' object has no attribute 'clone'
Is there someone that can please explain to me what does this mean?
Many thanks,
Fabio
rpy2 > 2.0.x is currently not supported on MS Windows.

Help Installing psycopg2 on snow leopard : command '/usr/bin/gcc-4.0' failed with exit status 1

This has been driving me crazy for 2 days.
I have been trying to install psycopg2 using easy_install and no matter what I try (i.e using gcc-4.0 instead of the snow leopard default one) I always get the same error:
error: Setup script exited with error: command '/usr/bin/gcc-4.0' failed with exit status 1
Please see: http://dpaste.com/hold/228252/
I have googled that error so many times and nothing I have found seem to help.
Looks like you're missing a dependency, the development files for libpq. The relevant log part is here:
In file included from psycopg/psycopgmodule.c:32In file included from psycopg/psycopgmodule.c:32:
./psycopg/psycopg.h:31:22: error: libpq-fe.h: No such file or directory
Try installing libpq development files and then rerun easy_install. You may hit another missing dependency; pay attention to the first error that GCC spits out.
Link http://dpaste.com/hold/228252/ seems to be dead, this is how I solved this problem (Mac OS X 10.6, virtualenv).
If pip fails with this message, just take a look to build folder in your virtual environment. You should edit setup.cfg file there, particularly include_dirs and library_dirs. In first one set your include folders, my option was:
include_dirs=/opt/local/include/postgresql84:/opt/local/include/postgresql84/server
and most likely you will need to set library_dirs to correct location as well:
library_dirs=/opt/local/lib/postgresql84.
probably you should install postgresql-devel first
yum -y install postgresql-devel

Resources