You can do the following
# install flask (basic, if path is not set yet) py -m pip install flask # or set PATH to use pip: setx PATH "%PATH%;C:\<path\to\python\directory\>\Scripts" pip install flask # if "connection error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed" [!]: py -m pip install --trusted-host pypi.python.org pip flask # if PermissionError: [WinError 5] Access is denied py -m pip install --user flask # or via creating a virtual environment venv: py -m venv c:\path\to\new\environment # then execute: c:\path\to\new\environment\Scripts\activate.bat
In this video tutorial you will learn how to download and install anaconda on windows 10 and how to create new conda environment and how to activate conda environment. Also you will learn how to install keras, tensorflow and flask in that conda environment so that we can use it for running machine learning or deep learning models using flask restful api (rest api with flask).
if anyone has not install python in advance then you can install it after watching this video. All you need is to run this command in Anaconda Prompt:
conda install -c anaconda python
#anaconda #windows #keras #tensorflow #flask
pgAdmin is the leading graphical Open Source management, development and administration tool for PostgreSQL. pgAdmin4 is a rewrite of the popular pgAdmin3 management tool for the PostgreSQL database.
In this tutorial, we are going to show you how to install pgAdmin4 in Server Mode as a web application using httpd and Wsgi module on CentOS 8.
**01-**To install pgAdmin4 on CentOS 8 we need to add an external repository, so execute the following command:
$ sudo rpm -i https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/pgadmin4-redhat-repo-1-1.noarch.rpm
02- After we add the pgAdmin4 repository, let’s use the below command to install pgAdmin4 as server mode:
$ sudo dnf install pgadmin4-web
03- Before proceeding with the configuration of pgAdmin4, we need to install
$ dnf install policycoreutils-python-utils
04- Once we done installing pgAdmin4, we need to configure the pgAdmin4 by setting up the initial pgAdmin user account
#databases #linux #ubuntu #install pgadmin4 #install pgadmin4 centos #pgadmin #pgadmin 4 install #pgadmin 4 install centos #pgadmin4 #pgadmin4 install centos
Let’s assume after lots of hard work you have your machine learning model running the way it should. This model could be one which responds to a user’s request to classify a tweet sentiment or identify objects in an image or recommend a product or some other algorithm unique to your needs. You would now like to quickly deploy this model. The article below is an explanation of the template that I have created to get you up and running quickly.
#flask-framework #flask-python-appengine #flask-sqlalchemy #marshmallow #flask #programming
1- We need to add official repository to the sources list. Therefore, type the below command to add the Android Studio repository:
$ sudo add-apt-repository ppa:maarten-fonville/android-studio
02- Now let’s install Android studio and all the software dependencies as below.
$ sudo apt update $ sudo apt install android-studio
We can install using the
snap tool. So, use the below command to install Android Studio:
$ sudo snap install android-studio --classic
01- You can start Android Studio either by typing the command
android-studio in your terminal or by clicking on the Android Studio icon (
Activities -> Android Studio).
02- When you start Android Studio for the first time, a window like the following will appear asking you to import Android Studio settings from a previous installation. However, if you have a previous installation of Android Studio, simply browse to the configuration folder. If not, go with the default option which is
Do not import settings.
03- Click on the
Next button, and you will be presented with a window to choose your type of setup you want for Android Studio. So, let’s choose Standard which will install the most common settings and options as below.
Next and you’ll be taken to the following window to choose your UI theme:
05- You’ll be taken to a window to verify your chosen settings. Simply click on
Next. Finally, wait for the Wizard to download and install the required dependencies before you can start your first Android project
#linux #ubuntu #install android studio #install android studio ubuntu #install sdk ubuntu #sdk #sdk install android studio #ubuntu install android studio
The installr package offers a set of R functions for the installation and updating of software (currently, only on Windows OS), with a special focus on R itself. This package has two main goals:
While for Linux users, the installation process of new software may be just running a short line of code, for the regular Windows user it often includes browsing online, finding the latest version, downloading it, running the installer, and deleting the installation file. All of these steps are automatically done using functions in this package.
To install the stable version on CRAN:
To install the latest installr version from GitHub use:
if (!require('remotes')) install.packages('remotes'); # make sure you have Rtools installed first! if not, then run: #install.packages('installr') #install.Rtools() remotes::install_github('talgalili/installr')
If you are using the Rgui, you will see a new menu added on your top right (just by "help"), giving you the option to update R, or install new software.
For command line use you can update R by running:
if(!require("installr")) install.packages('installr') library("installr") updateR() # this will open dialog boxes to take you through the steps. # OR use: # updateR(TRUE) # this will use common defaults and will be the safest/fastest option
Or install a new software simply by running:
library("installr") installr() # user can easily select (via a GUI interface) a software to install.
If you get either of the following errors from some commands:
Error in download.file(URL, destfile = ...) : unsupported URL scheme
install.RStudio() Error in file(con, "r") : cannot open the connection updateR() Error in file(con, "r") : cannot open the connection
You are welcome to:
You can see the most recent changes to the package in the NEWS.md file:
Code of conduct
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Source Code: https://github.com/talgalili/installr/