Ipython2 and ipython3 simultaneous work in my laptop - ipython

I have to run simultaneously ipython2 and ipython3 workbooks in my laptop. I have installed iPython2 but seems IPython3 not installed. I downloaded Ipython3 installation package but don't know how to install it to run.

Related

Visual Studio Code / Debugger / Raspberry PI Unable to start debugger

I'm getting this error message from Visual Studio Code when I attempt to run remote debugging (see large screenshot below)
I know this is a version mismatch - but with Visual Studio on 7.0.2, the PI latest version is 6.0.405.
From this screenshot, its saying that version 7.0.2 is not installed - but that version (as far as I know and I've tried) is not available
I'm new to PI development, and I've researched this extensively. I'm looking for what I'm clearly I am clearly missing to sync up the two versions and get the debugger to attach to a program running on the PI (which is running fine)
I have the environmental variable for DOTNET_ROOT set correctly, with the latest PI installation, and debugger installed as well
Don't use the dotnet-install script, that is for CI (continuous integration) only. To install dotnet on the Raspberry Pi, go to https://aka.ms/dotnet-download and download the binaries(!) for version 7.0.2 for Arm64 (assuming you already have the 64 bit version of Raspberry Pi OS installed).
The instructions on the download page will install the runtime only for the current user. I would recommend to install it globally (there's typically only one user on a Raspberry Pi, anyway). To do so, run these commands:
sudo mkdir /usr/share/dotnet
sudo tar zxf dotnet-sdk-7.0.102-linux-arm64.tar.gz -C /usr/share/dotnet
sudo ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
(setting DOTNET_ROOT is not necessary)
to verify proper installation, run
dotnet --info
When a new version becomes available (or you also need to install version 6.0 in parallel), just extract the package to the same directory. They can install side-by-side.

Advantages of having applications from Anaconda or independent (and the latest)

Can someone can explain and advise whether and why one should install and use applications such as Orange or RStudio or VS Code from Anaconda vs. download and install directly/independently (as stand-alone apps)? At a minimum, what I see (as I am using RStudio and VS Code) current stable versions on the internet are (much) newer.
I am using:
conda version : 4.8.1
conda-build version : 3.18.9
python version : 3.7.4.final.0
platform : osx-64
Anaconda pre-installed a lot of packages for you, so you don't have to install them manually. Anaconda create an environment in VSCode, so when you need to use these packages, you have to start VSCode from Anaconda, or switch to conda environment.
On the other hand, when using VSCode independently, you have to install packages yourself.

How to install and run Theia, browser based IDE?

I want to develop remotely and read about Theia. I could install the program with pip
pip install theia
But then there is no description available on how to start the program. Is it plug-in for Eclipse, or do I have to run it in docker or what?
Theia is not an extension of the classic Eclipse project. This is not really an installable app.
If you want to run Theia locally, you can follow the tutorial of the official documentation : Official help to setup environement.
Be sure to have Node.js 10 installed. It is not currently compatible with Node.js 12. If you want to have more than one version of Node installed on you machine, I advise you nvm (nvm github) or nvm-windows (nvm windows github).
If it can be useful, I personnally have a small bat script to launch Theia at the manner of a desktop app
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --app=http://localhost:3000
yarn start

How to install pre-requisites for Hyperledger Composer on Windows10

I am following the tutorial for Hyperledger Composer. I'm trying to install the pre-requisites for the Composer as outlined here:
https://hyperledger.github.io/composer/installing/installing-prereqs.html
The instructions are only provided for Ubuntu or Mac, and I have Win10 machine with Docker 17.12.x
So I got Ubuntu 16.04 docker image, added curl. I got the prereqs-ubuntu.sh script, I login as blockchain user, and run the script, but I get this error:
#Updating package lists
-sudo apt-add-repository: command not found
Is it even possible to install Hperledger Composer on a Windows 10 machine?!
No it is not possible to install Hyperledger Composer on windows which includes the Windows Subsystem for Linux and other environments like MinGW that simulate a linux environment. This platform is not supported at this time. I recommend you use a hypervisor such as VirtualBox or if you are using Windows 10 Professional, the built in Hyper-V support to run a Linux virtual machine where you can install Hyperledger Composer. Also we recommend using ubuntu 16.04 as this is the level we test with most.

centOS: Installed programs are gone after reboot

Hi I downloaded CentOS 6 live cd and installed the iso into a VM. When I install applications:
yum install git
The program git is installed, but after reboot the system no longer has git.
Am I installing the OS wrong? Do I need to burn it to a disk?
My guess is that you're still booting from the live cd image, thus your changes have only been saved in your system memory, and not actually written to disk.
If you've actually installed it detach the .iso from the virtual machine and give booting it another shot.