Why are the bob databases (e.g. bob.db.arface) not available for Python 3.8 - python-bob

I have lately installed the latest version of Bob (particularly, the package bob.bio.face) (9.0) using conda and following the installation instructions. This automatically installed python version 3.8. When I try to run
bob bio pipelines vanilla-biometrics arface gabor_graph
I get the error: ModuleNotFoundError: No module named 'bob.db.arface'
So, I try to install bob.db.arface: conda install bob.db.arface. For some reason, this wants to install a whole new python version (3.7), and reinstall all bob packages.
Looking at the pipelines of bob.db.arface (https://gitlab.idiap.ch/bob/bob.db.arface/pipelines/45435), I can see that only python 3.6 and 3.7 is supported. It seems to be that this is true for many of the bob.db packages. Will there be versions for python 3.8 available, or do I need to downgrade to python 3.7?

In the new release of bob we deprecated all database packages and porting them one by one (once we have the time for it) to the new database interface (https://gitlab.idiap.ch/bob/bob.bio.face/-/issues/54).
If you want to use the old bob.dbs and the legacy database support (https://www.idiap.ch/software/bob/docs/bob/bob.bio.base/stable/legacy.html), please, rely on bob for py37.
Cheers

You may pip install the bob.db.arface package or use buildout but know that most bob.db. packages are deprecated in favor of the csv format. https://groups.google.com/g/bob-devel/c/6-4SxluHHrA

Related

Installing Pythonnet package on MacOS v12.4

Has anyone installed Pythonnet on Python 3.10.0 (was pre-installed with Mac OS)? When I try to install Pythonnet through PIP, it complains that there is some issue with the package, and not with PIP!! After searching a bit on Google , I found that Pythonnet is currently not supported on Python 3.10.
So the next step was to install an older version (supported) of Python e.g. 3.7 on Mac and then make it the default Python environment. However, even after using the right set of commands, I'm unable to do switch from 3.10 to 3.7.
enter image description here
Can someone please tell me where am I going wrong?
Try installing a preview with --pre pip parameter. Python.NET 3.0.0 is currently in preview and is about to be released, it supports Python 3.10.

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.

Installing Pandas using Pip on Windows 7

Having issues installing Pandas with Pip on Windows 7.
EDIT:
Seems like I did not have Microsoft Visual C++ installed.
The much easier approach, as someone kindly mentioned, was to install Anaconda and use it as the package manager as opposed to Python's native pip, although, for some packages (i.e PyBullet), you might have to default back to using Pip.
From your tags I guess you are using Windows as OS. Many people use Anaconda. It comes with many packages including pandas. The line is here It should be easy to install. Do you use any IDE?

Which python version is recommended with odoo?

What is the recommended version of python to use with openerp/odoo? Is it 2.7 or 3
All these days I was using 2.7 if I choose ver 3 will it cause any problems?
Odoo work with Python 2.7 up to version 10.0
For version 11.0, Python must be on version 3.5 or higher
I won't work yet with python 3. The best python version to have is the highest 2.7.* (at least 2.7.3).
You can see the major dependencies and python version in the installing tutorial:
Installing Odoo (version 8.0)
Installing Odoo (version 9.0)
On my operating system, python 3 is the default so to start an instance without using a bundle (in my case I clone the github repository), I use this command:
python2 ~/path-to-my-odoo-git/odoo.py -d odoo-test
As for when odoo will work with python 3, there is a number of needed python package dependencies not already ported to python 3. Even if they were already all ported, Odoo itself would take some efforts (without talking about all the ecosystem of custom addons which would get unusable untill ported).
So I guess it will not be available before 1 year and most probably not available before 2 or 3 years.

Installing older version of Maven 2 on Ubuntu?

Is there an easy way to use apt-get to install an older version of Maven 2 on Ubuntu Maverick?
I'd like to use 2.0.9.
Try downloading from launchpad: http://launchpadlibrarian.net/15563514/maven2_2.0.9-2_all.deb
Double-click on it and GDebi should do the rest.
This package is no longer maintained on LTS and newer versions. Be careful, I haven't tried it because I have a newer version.
Anyway, why would you use an older one?
More info here: https://launchpad.net/ubuntu/jaunty/+package/maven2