I'm missing libprotobuf.so.7 on Ubuntu 14.04.
I tried to install Protobuf 3.0.0 but got libprotobuf.so.10, built Protobuf 2.5.0 but got libprotobuf.so.8.
I don't want to continue randomly building Protobuf versions to find out which produces libprotobuf.so.7 and I can't find anywhere where it says which is the right version.
Build Protobuf 2.4.1 version. After building this version it will create libprotobuf.so.7 .
Related
I was trying to install pyspark 2.3 from the last couple days. But I have found out Version 3.0.1 and 2.4.7 only so far. Actually I was trying to run a code implemented in pyspark 2.3 as a part of my project. Is that version still available now ? Please send me the essential resources to install pyspark 2.3 if it is available to install as well as shareable. As it seems tough to me to implement that code in version 3.0.1.
Pyspark 2.3 should still be available via Conda-Forge.
Please checkout https://anaconda.org/conda-forge/pyspark/files?version=2.3.2
There you will find the following and more packages for a direct download:
linux-64/pyspark-2.3.2-py36_1000.tar.bz2
win-64/pyspark-2.3.2-py36_1000.tar.bz2
If you don't want the raw packages, you can also install it via conda:
conda install -c conda-forge pyspark=2.3.2
I switched from Windows development to Ubuntu 19.04 and after installing my libaries using pip I got the runtime warning about numpy.ufunc size changed.
I am using the following versions and my project is in PyCharm Professional (lastest version).
Spacy 2.1.8
numpy 1.17.2
blis 0.4.0
thinc 7.0.8
gensim 2.8
I have uninstalled everything and installed SPACY last, I have uninstalled numpy and put version 1.15 up and various other tricks but I can't see to get it to install the correct version.
Does anyone know how to resolve this issue or which actual version of numpy/thinc/blis should be used in this case?
I have installed OpenCV 3.4.2 successfully by following the tutorial given here:
https://www.pyimagesearch.com/2015/07/20/install-opencv-3-0-and-python-3-4-on-ubuntu/
Now, I would like to update to openCV 4 or the latest stable version.
Do I need to uninstall 3.4.2 first?
If so, how should I uninstall it.
I am afraid to creating another virtual environment and installing version 4 or master package from github by following the same steps might create conflicts. Please advice.
Working on Ubuntu 16.04 LTS, python 3.5
For Python interface, I guess you can try something like pip install opencv-python==4.0.0.21. Note, you might need to run pip3 install opencv-python==4.0.0.21 depending upon your pip version.
Installed the gitbook and gitbook-cli modules, because of an incompatibility problem, multiple versions are installed, how to switch the package version of the module ?
demo:
$ gitbook ls
GitBook Versions Installed:
* 3.2.3
3.1.1
3.1.0
3.0.3
3.0.0
2.6.7
2.6.6
2.6.4
2.5.0
2.3.2
2.1.0
2.0.0
Run "gitbook update" to update to the latest version.
According to Documentation,
By default, GitBook CLI will read the gitbook version to use from the book configuration, but you can force a specific version using --gitbook option:
$ gitbook build ./mybook --gitbook=2.0.1
Therefore change the book config version to the required version or use the above line to force the build.
If you do not need a particular version just uninstall it.
$ gitbook uninstall 2.0.1
I would like to visualize weather data, which are under the format .grb2. Therefore I need the library pygrib for python. I've already install grib-api and pygrib, as explained on the installation notes of pygrib (http://jswhit.github.io/pygrib/docs/). I'm using python 3.5 installed with anaconda. I ran
brew install grib-api
pip install pygrib
However when I try to import pygrib in a python script I always get the same error message :
import pygrib
--> ImportError: dlopen(/Users/Marguerite/anaconda/lib/python3.5/sitepackages/pygrib.cpyton-35m-darwin.so, 2): Library not loaded: #rpath/libjpeg.9.dylib
Referenced from: /Users/Marguerite/anaconda/lib//libgrib_api.dylib
Reason: Incompatible library version: libgrib_api.dylib requires version 12.0.0 or later, but libjpeg.9.dylib provides version 11.0.0
I've tried several times to uninstall/reinstall jpeg libraries, or install libjpeg with macports, nothing seems to do the trick ... Also I can't find the library libjpeg when I run "conda list". It seems it is included into some other library (jpeg of libjpeg-turbo), but again updating those libraries didn't improve results.
I would appreciate really any help or thoughts !
Thanks,
Marguerite
Actually I found a solution. Libjpeg is updated with conda update jpeg, but not to the latest version.
The trick that worked for me is to install a bigger package, which automatically update libjpeg. Just run :
conda install -c conda-forge jasper
After that it worked fine for me :)