Fun at zangOOr Click Here
2 like 0 dislike
473 views
in Education & Reference by (790 points)
[[email protected] ~]# pip install alembic
-bash: pip: command not found
[[email protected] ~]# yum install pip
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Determining fastest mirrors
 * base: mirrors.unifiedlayer.com
 * extras: ftp.osuosl.org
 * updates: centos.pymesolutionsweb.com
No package pip available.
Error: Nothing to do
[[email protected] ~]#

2 Answers

0 like 0 dislike
by

Follow the below steps

>yum install python-pip
>pip install alembic
>yum install python-dateutil
>yum install MySQL-python

to create pjsip tables

  >cd YOUR ASTERISK PATH/contrib/ast-db-manage
  >nano config.ini.sample

Next, edit the config.ini.sample file and change the sqlalchemy.url
option, e.g. sqlalchemy.url = mysql://root:[email protected]/asterisk

  >cp config.ini.sample config.ini
  >alembic -c config.ini upgrade head
0 like 0 dislike
by (3.3k points)

For Centos 8
use the below command:

yum install python-alembic

Related questions

2 like 0 dislike
1 answer 928 views
1 like 0 dislike
1 answer 164 views
0 like 0 dislike
1 answer 1.3k views
0 like 0 dislike
0 answers 108 views
0 like 0 dislike
1 answer 1.0k views
0 like 0 dislike
1 answer 131 views
1 like 0 dislike
1 answer 398 views
1 like 0 dislike
1 answer 225 views
1 like 0 dislike
3 answers 1.1k views
0 like 0 dislike
1 answer 552 views

Where your donation goes
Technology: We will utilize your donation for development, server maintenance and bandwidth management, etc for our site.

Employee and Projects: We have only 15 employees. They are involved in a wide sort of project works. Your valuable donation will definitely boost their work efficiency.

How can I earn points?
Awarded a Best Answer 10 points
Answer questions 10 points
Asking Question -20 points

...