V
V
Vladimir Let 's say2019-02-28 12:55:18
Perl
Vladimir Let 's say, 2019-02-28 12:55:18

How to install Python 3.7.0 locally on shared hosting?

Hello! I'm trying to put Python 3.7.0 on shared hosting. True, there are some troubles . Okay, I go for libffi and run autogen. But that was not the case, and now Perl swears at the locale settings. Hmm, everything seems to be in order there. Here's the perl:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
  LANGUAGE = "ru:en",
  LC_ALL = (unset),
  LC_COLLATE = "ru_RU.UTF-8",
  LC_CTYPE = "UTF-8",
  LC_TIME = "en_US.UTF-8",
  LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
  LANGUAGE = "ru:en",
  LC_ALL = (unset),
  LC_COLLATE = "ru_RU.UTF-8",
  LC_CTYPE = "UTF-8",
  LC_TIME = "en_US.UTF-8",
  LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
  LANGUAGE = "ru:en",
  LC_ALL = (unset),
  LC_COLLATE = "ru_RU.UTF-8",
  LC_CTYPE = "UTF-8",
  LC_TIME = "en_US.UTF-8",
  LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
configure.ac:3: error: Autoconf version 2.68 or higher is required
configure.ac:3: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
aclocal: autom4te failed with exit status: 63
autoreconf: aclocal failed with exit status: 63

Answer the question

In order to leave comments, you need to log in

4 answer(s)
K
ky0, 2019-02-28
@DopustimVladimir

The packages on your share are of the wrong version:
Well, in general - usually the assembly of something on the shared is not provided.

V
Vadim Shatalov, 2019-02-28
@netpastor

Try installing pyenv
https://github.com/pyenv/pyenv

P
Puma Thailand, 2019-02-28
@opium

On shared sites, they usually don’t allow you to bet anything, so, alas, you’re in for a VDS

C
CityCat4, 2019-03-01
@CityCat4

No way.
Hosting is "eat what you poured". To decide for yourself which versions of what to install in the system, you need VDS. Hosting clients simply do not have permission to write to system directories. Yes, you can duplicate all autotools, and all the necessary libs - but then you will have to do a job that is roughly comparable to the work of maintaining a VDS - and then what the hell difference does it make to you?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question