Essay 1215 Docker R+python

Source: Internet
Author: User
Tags gpg

All over the hole.

Target to build Docker Sparkr

Small target rpy2 Fbprophet Python3

Pit 1:

Rpy2 If Python support is required R

Solution: Go to download R

Pit 2:

Ubuntu cannot download latest version of R if directly

Apt-get Updateapt-get Install R-base

  

will be downloaded directly to 3.1.1 and Python3 under the RPY2 requirements r-version >= 3.3.x

Solution: Https://www.digitalocean.com/community/tutorials/how-to-install-r-on-ubuntu-16-04-2

Pit 3:

Gpg:requesting key e084dab9 from HKP server Keyserver.ubuntu.comgpg:key e084dab9:public key "Michael Rutter <[email Protected]> "importedgpg:total number processed:1gpg:               imported:1  (rsa:1)/bin/sh:1: add-apt-repository: Not found

Add-apt-repository invalid

Solution: Rely on issues first run Apt-get update

Pit 4:

Gpg:requesting key e084dab9 from HKP server Keyserver.ubuntu.comgpg:key e084dab9:public key "Michael Rutter <[email Protected]> "importedgpg:total number processed:1gpg:               imported:1  (rsa:1) hit:1/HTTP/ Security.ubuntu.com/ubuntu xenial-security inreleasehit:2 http://archive.ubuntu.com/ubuntu xenial inreleasehit:3 Http://archive.ubuntu.com/ubuntu xenial-updates inreleasehit:4 Http://archive.ubuntu.com/ubuntu xenial-backports Inreleasereading Package Lists ... E:the method Driver/usr/lib/apt/methods/https could not be found. e:failed to fetch https://cran.rstudio.com/bin/linux/ubuntu/xenial/InReleaseE:Some index files Failed to download. They has been ignored, or old ones used instead.

  

Solution: Waiting to be solved

BRANCH1:

Try to join the key directly after downloading R

From Ubunturun apt-key adv--keyserver keyserver.ubuntu.com--recv-keys e084dab9  && apt-get update  && apt-get install-y  r-base R-base-dev

  

This is the latest stable version 3.2.3 obviously does not meet the standard ...

That's the way it feels to be in the middle of a compilation failure every day. What a desperate and painful life.

Essay 1215 Docker R+python

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.