GLIBC_2.28 and GLIBC_2.29 not found on Google Colab - google-colaboratory

How to install them?
When I start rendering a scene, I get this:
/lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.28' not found (required by ./Blender_K-cycles_linux/blender)
/lib/x86_64-linux-gnu/libm.so.6: version 'GLIBC_2.29' not found (required by ./Blender_K-cycles_linux/blender)
Is it even possible to install it?

Is it even possible to install it?
No. Instead you should obtain a version of blender compiled for your target environment (current Google Colab appears to use Ubuntu 18.04).
See also this answer.

Related

Installing libc6 on Google Colab

Hello i wanted to run Blender K-Cycles on Google Colab but got the following error message
lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found
lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.29' not found
Can i somewhow install libc6 on Colab?
I´m glad for every answer!
Can i somewhow install libc6 on Colab?
The libc.so.6 is part of the libc6 (GLIBC) package and is already installed.
Your problem is that the installed GLIBC is too old for the binary you are trying to run.
Usually the solution is to find (or build from source) a release of the binary you want to run built for the OS you are trying to run it on, rather than update the OS to suite the binary.

Nvidia flash.sh file not found in ubuntu 18

I want to create an image from nvidia jetson tx2, in several places (like https://developer.ridgerun.com/wiki/index.php?title=Cloning_TX2) talk about flash.sh file to perform the task but I cannot found it, also I search using find / -iname flash.sh and nothing. Where can I find this file? Do I need install something eles?
Ubuntu 18.04.5 LTS, Jetpack 4.5.1
Download L4T Driver Package (BSP) driver from: https://developer.nvidia.com/embedded/linux-tegra and download, be sure to dowload the correct version for your JetPach, for 4.5.1 check this:
https://developer.nvidia.com/embedded/l4t/r32_release_v5.1/r32_release_v5.1/t186/tegra186_linux_r32.5.1_aarch64.tbz2
Try to download this
https://gist.github.com/Davidnet/013ceb704ebdc7ebd728e059f90fca80
Put it in your path.
Run
./flash.sh

How to download Keras_contrib (and other packages that is not avaliable in conda) to Pycharm?

I am quite familiar with Pycharm except 1 thing that I can't seem to figure out how to download Keras_contrib which is not availble in conda's channel and conda-forge channel which is also often used.
I have read the following article which suggest to add additional channel to conda.
"How to Install a Package in PyCharm when project interpreter is set to conda, and the package is not provided/listed by conda? 1"
but as I mentioned Keras_contrib is not provided, and I am not sure quite sure how to download it.
I managed to install Keras_contrib sucessfully to my environment which is also used by Pycharm interpreter, but for some reason, Pycharm does not recognize it.
I follow instruction given in https://github.com/keras-team/keras-contrib
which is running setup.py install
Here are the questions
By doing this Does it get install in the site_packages automatically? because I do not see it.
if I have to do it manually, how come my environment can recognize it, but Pycharm cannot.
Is there a default location in which environment and Pycharm usually look at?
because it would make sense in this case that one may recognize it while other may not.
How can I download Keras_contrib which is not avaliable in well known channel?
Is there other way to check that Pycharm Interpreter is compatible with my anaconda environment other than looking folder it is linked to?
In my case they link to the same environment, but Pycharm just cannot recognize
I just figured it out.
so Pycharm looks at site-packages of your environment.
I solved by problem that Pycharm cannot recognize the packages while anacoda env can by copy and past the Keras_contrib to the site-packages. (I still find this to be strange if any one answer to this. Feel free to comment)

Does tensorflow support Python 3.6.4 on Windows?

I'm running a Windows computer with just a CPU (no GPU). When I run pip install tensorflow -vvv in order to see what pip is doing, it lists a lot of links, but for all of them, it says "Skipping link ... it is not compatible with this Python."
Does tensorflow support Python 3.6.4 on Windows? If so, what binary URL should I use to install it?
(I previously installed with this version due to reading this, but ran into this error without the DLL load failed message, so I'm wondering if there's a better version I should use.)
Also, I'm aware that Tensorflow says they support Python 3.x, but right now it hasn't been working for me.
You have probably installed Python 32bits, you need the 64bits version

Python Packaging Fix: Understand Differences between Wheel and Egg; How to get local fix to wider audience?

I'm trying to understand why the easy_install of pyicu works and pip install doesn't (see below). also trying to understand "What is the difference between a PyPi project with a universal wheel and one without?" Will installs be "easier?". If so, will this merge request solve the problem of polyglot not installing on an Anaconda machine?
Need help/advice/solutions on how to best resolve python project install issue that is tied to underlying dependencies. I have two local fixes in GitHub Gists but would like to know the best way to have this fix "out there" so people like me can find it. What is the normal Python Community approach? The problem centers around three projects:
polyglot - a python multilingual NLP toolkit
pyicu - Python extension wrapping IBM's International Components for Unicode C++ library (ICU).
pycld2 - CLD (Compact Language Detection) library as maintained by Dick Sites
The goal:
Install polyglot on a MacOSX computer running Python Anaconda Distribution
Make the fix I found available to everyone; lots of issues published about the problem.
Here's the error trace:
The Problem (Lots of them):
Core polyglot dependency, pyicu, does not properly install when you use pip install. Discovered you must use easy_install for it build properly and work on MacOSX. If you don't use the easy_install, you get:
polyglot requires icu 54.1.1 to run in Anaconda, but...
Homebrew, the MacOSX tool to install icu, only installs version 58.1. That version is too new. Old stackoverflows advise brew install icu4c to fix problem, but Homebrew evolution makes that advice obsolete now.
pyicu does not have a universal wheel; but I created a merge request to add one to pyicu. Only way to fix this is with this channel's icu, https://anaconda.org/ccordoba12/icu. conda install icu will not work, but that's the normal conda way of doing things.
*pycld2 - CLD (Compact Language Detection) becomes a problem because after I build the wheel file locally, have to download the project and run setup.py install locally. There has to be a better way to do this right?
What I've Done to Solve the problem (should I do more, what should I do next?)
Created two Gists that can successfully install polyglot on a Mac running Anaconda for Python 2.7 or Python 3.5
Python 2.7 fix
Python 3.5 fix
created the merge request for pyicu
Both Gist fixes work. But, is this error in install tied to the wheel? If I installed pyicu with easy_install, the install works. But, with pip, it doesn't?
What are the steps to take in the Python community to fix it so people can find the solution or just pip install with no problems?
I did a test, and if the wheel file is built, the pip works with no issues.