Im running Visual Studio Code on OpenSuse 13.2 and get "Cannot start Omnisharp because Mono version >=3.10.0 is required". I have reinstalled mono-complete and mono-devel.
OpenSuse 13.2 repositories contains mono version 3.8.0. To install newer version, firstly uninstall current version of mono and then visit this page and click "1-click Install mono-complete" to install latest version of mono (currently version 4.0.2)
Related
in opensuse leap15.2, how can I upgrade my gnuplot (current version 5.2) to version 5.4 or 5.5. I want to install directly via yast the rpm package, so do not compile from source myself?
I was trying to install C/C++ plugin version 1.30.6.1. This is what I got
I would like to use tensorflow with ROS and ROS 1 does only support python 2.7 at the moment.
Is there a way to install tensorflow 1 or 2 for python 2.7?
Thanks
According to this older post: How to install Tensorflow on Python 2.7 on Windows?
Tensorflow does not support python2.7 anymore.
This is the system requirement for Tensorflow available: https://www.tensorflow.org/install/pip?hl=en :
System requirements
Python 3.5–3.8
Python 3.8 support requires TensorFlow 2.2 or later.
pip 19.0 or later (requires manylinux2010 support)
Ubuntu 16.04 or later (64-bit)
macOS 10.12.6 (Sierra) or later (64-bit) (no GPU support)
Windows 7 or later (64-bit)
Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019
Raspbian 9.0 or later
GPU support requires a CUDA®-enabled card (Ubuntu and Windows)
Here you have the reference to the C++ reference: https://www.tensorflow.org/api_docs/cc
The easiest way of using tensorflow is to download anaconda and then download the packages of anaconda!
I am running vscode on osx and have installed the C/C++ plugin, which brought with it the ClangFormat package:
Installing package 'C/C++ language components (OS X)'
Installing package 'ClangFormat (OS X)'
Installing package 'Mono Framework Assemblies'
Installing package 'Mono Runtime (OS X)'
Installing package 'LLDB 3.8.0 (OS X)'
I am able to format C++ code and even changed the clang-format style successfully:
"C_Cpp.clang_format_style": "google"`
The thing is that I don't have clang-format installed on my system and the path in vscode settings is not set either:
"C_Cpp.clang_format_path": null
How is the formatting actually done here? What is this ClangFormat package that vscode installed? From where and where is it? It's not a plugin.
Does it use some package manager other than homebrew to install a distribution of clang-format in a custom location that is not in the path?
In my Linux Mint indeed it's installed together with the C/C++ extension of Microsoft, alas it's installed locally within the module. It can be found here:
~/.vscode/extensions/ms-vscode.cpptools-0.12.3/LLVM/bin/
In Windows, similarly it can be found here:
%USERPROFILE%\.vscode\extensions\ms-vscode.cpptools-0.12.3\LLVM\bin\
In OSX is here:
~/.vscode/extensions/ms-vscode.cpptools-0.12.3/LLVM/bin/
Not sure what could be wrong with Arch.
I have installed OpenCV 3.0 on my MacBook pro with Yosemite.
Unfortunately, after the installation, I realized that I needed the version 2.4.9 of OpenCV since I'm going to use some libraries that are not already supported by version 3.0.
How can I completely remove the 3.0 version? Is it enough to delete the OpenCV folder?
Step 1: remove OpenCV version 3 or higher
>> pip uninstall opencv-contrib-python //do this if you installed opencv-contrib-python
OR
>> pip uninstall opencv-python // do this if this is your first time
Step 2: download OpenCV version 2.4.9 from Github and save it to your local computer.
Step 3: go to the folder wherever you downloaded, then install OpenCV 2.4.9
You are all set.