chromedriver doesn't run in debian wheezy - python

This question is very similar to Error running chromedriver, except that question is about older debian versions.
Here is the info about my system:
$ uname -a
Linux host 3.2.0-4-686-pae #1 SMP Debian 3.2.46-1+deb7u1 i686 GNU/Linux
$ lsb_release -d
Description: Debian GNU/Linux 7.1 (wheezy)
$ chromedriver
chromedriver: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by chromedriver)
I am sure I got the right 32bit chromedriver binary from http://code.google.com/p/chromedriver/downloads/list, I am also sure it's in PATH, as the command above shows.
How do I get chromedriver to work properly? Is there a working Debian package of chromedriver like there's one for chromium browser in the Debian repository?

#AnonymousLurker: Someone complained about this problem over on the google code page: https://code.google.com/p/chromedriver/issues/detail?id=454
Reason I'm mentioning it here, is because someone else on the thread actually got a clean build (32bit Release) for Debian Wheezy, which you can still download here (as of Nov. 9).
I've got it working on my own personal jenkins server (Debian GNU/Linux 7.2 (wheezy) 64bit).

Related

M1 Mac - PyCharm - Unable to run on arm64

It appears I'm unable to run the arm64 architecture in PyCharm and I don't understand why. I would really like to learn what I'm doing wrong.
Specs
I'm on a 2021 M1 MacBook Pro with macOs Monterey 12.6.2
PyCharm 2022.3.2 (Community Edition)
Runtime version: 17.0.5+1-b653.25 aarch64
For my virtual environments I use conda (miniforge3) version 4.14.0
When I run 'uname -m' in the PyCharm terminal it returns 'x86_64', however when I run the same command in zsh terminal I get 'arm64'. Both are executed in the conda 'base' environment and I would have expected the architectures to be the same.
What I've done
Downloaded PyCharm aarch64 (I was previously on x86_64), yielded the same result
Create specific arm64 and x86_64 conda environments, all return x86_64
Followed the steps in this thread arch x86_64 and arm64e is available but python3 is saying incompatible architecture on Mac M1
Thanks in advance for your help!
The issue is solved by deleting the current version of PyCharm and removing the left over ID directories as explained here https://www.jetbrains.com/help/pycharm/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html#logs-directory
After re-installing PyCharm it now works!

I can't setup Python

My computer Windows 7 (64-bit)...One or more issues caused the setup to fail. Please fix the issues and then retry setup. For more inforation see the log file. At least Windows 8.1 or Windows Server 2012 are required to install Python 3.10.1 (64-bit)
At least Windows 8.1 or Windows Server 2012 are required to install Python 3.10.1 (64-bit)
You are running Windows 7, you need Windows 8.1, Windows Server 2012 or higher to run Python 3.10.1.
You can:
Install a newer operating system like Windows 10/11.
Install an earlier Python version, I would recommend version 3.8 as that is the latest version that can run on Windows 7 according to the Windows download page.

Program aborted after use tf.io.gfile.makedirs

pip install tensorflow==1.14.0
TensorFlow version: 1.14.0
Python version: 3.6.8
Hadoop version: Hadoop trunk (hadoop-3.3.0-SNAPSHOT)
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.6.1810 (Core)
Release: 7.6.1810
Codename: Core
I follow this link to set up Hadoop environment
After execute below snippet of code, there is no any output, and my terminal freezing up
Code to reproduce the issue
import tensorflow as tf
tf.io.gfile.makedirs("hdfs://kevin0:8020/user/root/test")
What else I need to setup?
Providing the solution here even though it is present in Github, for the benefit of the Stackoverflow Community.
Program aborted after use tf.io.gfile.makedirs issue was because of Hadoop compile from source code that don't have libhdfs in lib/native.
It was resolved after downloading Hadoop-3.2.1.
For more details please refer here

Cant install python36 through epel-release, package python36 not found

I cant install python 36 on below version of centos.
CentOS Linux release 7.6.1810 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS Linux release 7.6.1810 (Core)
CentOS Linux release 7.6.1810 (Core)
Pytho34 is available but not python36.
yum --disablerepo="*" --enablerepo="epel" info python34
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel: mirrors.kernel.org
Available Packages
Name : python34
Arch : x86_64
Version : 3.4.10
Release : 2.el7
Size : 51 k
Repo : epel/x86_64
Summary : Version 3 of the Python programming language aka Python 3000
URL : http://www.python.org/
License : Python
Description : Python 3 is a new version of the language that is incompatible with the 2.x
: line of releases. The language is mostly the same, but many details, especially
: how built-in objects like dictionaries and strings work, have changed
: considerably, and a lot of deprecated features have finally been removed.
yum --disablerepo="*" --enablerepo="epel" info python36
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel: mirrors.kernel.org
Error: No matching Packages to list
I know other methods to do python36 installation on centos7, but how to do with epel repo?
RHEL 7.7 added Python 3.6. Python 3.6 was removed from EPEL 7 to comply with the EPEL guidelines: No RHEL packages in EPEL. Apparently, each time RHEL releases and CentOS does not yet, there can be a period of breakage. See the discussion on EPEL mailing list and original bug report about this.
Same here, apparently they removed it by mistake? Temporary workaround is to use outdated repo. I've filed a bug, you can observe it on redhat bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1740053

Anaconda Python: Cannot execute native linux-32 binary

I get the following error while installing Anaconda Python on an Odroid XU4.
installing: conda-env-2.4.5-py27_0 ...
Anaconda2-4.0.0-Linux-x86.sh: line 460: /root/anaconda2/pkgs/python-2.7.11-0/bin/python: cannot execute binary file: Exec format error
ERROR:
cannot execute native linux-32 binary, output from 'uname -a' is:
Linux odroid-jessie 3.10.92+ #1 SMP PREEMPT Wed Feb 3 11:23:35 CET 2016 armv7l GNU/Linux
How do I fix this?
You are trying to run an x86 installer on an armv7l device.
To fix this, you should download the correct installer for your device's platform.
This post on the official developers' blog offers useful information about installing Anaconda on armv7l devices, and provides the following installer links:
armv7l (Python 2)
armv7l (Python 3)

Categories