如何在ManjaroLinux中安装openCV2 for python?

时间:2017-11-29 14:11:54

标签: opencv manjaro

我试过几个网站,但没有找到任何有用的东西。我使用

安装了numpy
pacman -S python2-numpy

似乎已安装。

但我想在ManjaroLinux中安装openCV2。有人能帮助我吗?

1 个答案:

答案 0 :(得分:0)

该帖子来自7个月前,但我认为答案是:     export class LoginEffects { constructor(private actions$: Actions, private authService: AuthService, private router: Router) {} @Effect() login$: Observable<any> = this.actions$ .pipe( ofType<LogIn>(LOGIN), mergeMap(action => { return this.authService.login(action.payload.email, action.payload.password) .pipe( map((data)=> { //Decode the returned jwt let decodedData = jwt_decode(data.token); //userState is being mocked in test as well let userState:loginReducer.State = { isAuthenticated: true, token:data.token, name:decodedData.name } console.log(userState) return new LoginSuccess(userState) }), catchError((error) => { return Observable.of(new LogInFailure({ error: error })); }) ) }), ) }