ImportError: No module named ‘werkzeug.wrappers.json’;

2020年2月24日 13:13 by wst

python调试

ImportError: No module named ‘werkzeug.wrappers.json’; ‘werkzeug.wrappers’ is not a package

 

I’m getting this error when trying to use Airflow on WSL. Not sure what the issue is - I upgraded Flask & werkzeug.


File "/usr/local/bin/airflow", line 21, in <module> from airflow import configuration
File "/usr/local/lib/python3.5/dist-packages/airflow/__init__.py", line 40, in <module> from flask_admin import BaseView
File "/usr/local/lib/python3.5/dist-packages/flask_admin/__init__.py", line 6, in <module> from .base import expose, expose_plugview, Admin, BaseView, AdminIndexView  # noqa: F401
File "/usr/local/lib/python3.5/dist-packages/flask_admin/base.py", line 6, in <module> from flask import Blueprint, current_app, render_template, abort, g, url_for
File "/usr/local/lib/python3.5/dist-packages/flask/__init__.py", line 21, in <module> from .app import Flask
File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 69, in <module> from .wrappers import Request
File "/usr/local/lib/python3.5/dist-packages/flask/wrappers.py", line 14, in <module> from werkzeug.wrappers.json import JSONMixin as _JSONMixin

ImportError: No module named 'werkzeug.wrappers.json';  **'werkzeug** .wrappers' is not a package

Fix

This is a bug that got introduce into Flask and worked its way into Airflow and one of our Docker images. You’ll need to do 1 of 2 things:

  1. Change the Dockerfile to FROM astronomerinc/ap-airflow:0.9.2-1.10.3-onbuild

OR

  1. In requirements.txt, pin Flask to “Flask=1.0.0”

简单来说,解决方法就是(任选其一):

1. 修改dockfile的源为: astronomerinc/ap-airflow:0.9.2-1.10.3-onbuild

2. 安装flask的版本为1.0.0


Comments(131) Add Your Comment

Charlesnag
“I haven’t seen you in these parts,” the barkeep said, sidling settled to where I sat. “Personage’s Bao.” He stated it exuberantly, as if low-down of his exploits were shared by settlers around multitudinous a verve in Aeternum. He waved to a unanimated tun apart from us, and I returned his gesticulate with a nod. He filled a glass and slid it to me across the stained red wood of the bench prior to continuing. “As a betting chains, I’d be assenting to wager a honourable speck of invent you’re in Ebonscale Reach on the side of more than the carouse and sights,” he said, eyes glancing from the sword sheathed on my hip to the salaam slung across my back. http://www.google.dj/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&cad=rja&uact=8&ved=0cd0qfjac&url=https://renewworld.ru/otlichie-new-world-versii-deluxe-i-standart-edition/
Wzarrz
lipitor 20mg price <a href="https://lipiws.top/">oral lipitor 20mg</a> atorvastatin 10mg sale
Ipyzjs
buy cipro 500mg sale - <a href="https://cipropro.top/augmentin500/">augmentin for sale</a> buy generic clavulanate
Dhnwjb
order ciprofloxacin 1000mg sale - <a href="https://metroagyl.top/cefaclor/">buy generic keflex over the counter</a> augmentin price
Rtwdoj
purchase ciprofloxacin - <a href="https://septrim.top/chloromycetin/">chloromycetin uk</a> buy erythromycin medication
Iareli
buy flagyl 400mg online cheap - <a href="https://metroagyl.top/cefaclor/">cefaclor 250mg canada</a> order zithromax 250mg pill
Xznwdv
stromectol human - <a href="https://keflexin.top/ceftin/">buy generic axetil online</a> order tetracycline 250mg generic
Zvltcj
ivermectin cost - <a href="https://keflexin.top/amoxiclav/">buy co-amoxiclav sale</a> buy tetracycline 500mg pill
Ypttur
valacyclovir 1000mg without prescription - <a href="https://gnantiviralp.com/">order valacyclovir 500mg online cheap</a> buy zovirax pill
Kbkzeu
buy ampicillin without a prescription <a href="https://ampiacil.top/doxycyclineantb/">doxycycline over the counter</a> buy amoxil without a prescription
Xngfzz
purchase metronidazole generic - <a href="https://metroagyl.top/">flagyl 400mg generic</a> buy generic azithromycin 500mg
Acagsj
buy furosemide 100mg online - <a href="https://antipathogenc.com/minipressm/">minipress order online</a> oral captopril
Gikcyc
brand glucophage 500mg - <a href="https://gnantiacidity.com/lincocin/">buy lincomycin pills</a> order lincocin 500 mg sale
Gbmddn
purchase clozapine for sale - <a href="https://genonlinep.com/accupril/">quinapril usa</a> famotidine 20mg generic
Ojrreq
buy zidovudine 300 mg sale - <a href="https://canadiangnp.com/epivir/">buy epivir 100 mg pills</a> zyloprim 100mg cheap
Quzfab
order anafranil 50mg pills - <a href="https://antdeponline.com/remeron/">remeron 30mg usa</a> order doxepin sale
Uhbhmv
purchase quetiapine pills - <a href="https://gnkantdepres.com/luvox/">brand fluvoxamine 50mg</a> buy eskalith online
Bnzfvv
buy hydroxyzine 10mg for sale - <a href="https://antdepls.com/endep/">purchase amitriptyline for sale</a> order amitriptyline generic
Yresuz
augmentin tablet - <a href="https://atbioinfo.com/septra/">bactrim pills</a> cipro 500mg oral
Xyjryx
buy amoxil tablets - <a href="https://atbioxotc.com/erythromycin/">cost erythromycin</a> order ciprofloxacin 1000mg without prescription
Sqihgd
buy zithromax paypal - <a href="https://gncatbp.com/ctinidazole/">buy tindamax generic</a> ciplox 500 mg tablet
Yovycm
buy cleocin 150mg online - <a href="https://cadbiot.com/">buy cheap generic clindamycin</a> cheap chloramphenicol online
Casvav
ivermectin 12mg for people - <a href="https://antibpl.com/rferyc/">oral eryc 500mg</a> buy cefaclor capsules for sale
Cunswr
albuterol cost - <a href="https://antxallergic.com/oiphenergan/">promethazine 25mg drug</a> theo-24 Cr 400mg brand
Gmuvvl
medrol online - <a href="https://ntallegpl.com/getazelastine/">generic azelastine 10 ml</a> where can i buy astelin
Swfaet
purchase clarinex generic - <a href="https://rxtallerg.com/ventolinpill/">ventolin inhalator canada</a> albuterol uk
Owjrhb
order generic metformin 1000mg - <a href="https://arxdepress.com/">buy metformin 1000mg without prescription</a> buy precose 25mg
Vpgepv
buy micronase pills - <a href="https://prodeprpl.com/">glyburide for sale online</a> buy forxiga 10mg
Coeqps
buy prandin 1mg for sale - <a href="https://depressinfo.com/">order prandin sale</a> jardiance 25mg uk
Eftrup
rybelsus for sale - <a href="https://infodeppl.com/">rybelsus medication</a> DDAVP online
Qxotpl
buy terbinafine 250mg pill - <a href="https://treatfungusx.com/adiflucanv/">order fluconazole 200mg</a> grifulvin v
Ebqxlc
famvir 500mg pills - <a href="https://amvinherpes.com/gnvalaciclovir/">buy valaciclovir tablets</a> purchase valcivir generic
Iconwb
nizoral 200mg cost - <a href="https://antifungusrp.com/butenafinecream/">buy mentax generic</a> sporanox 100 mg canada
Adyrdx
digoxin online order - <a href="https://blpressureok.com/furosemidediuret/">purchase lasix</a> lasix online buy
Ioejlt
lopressor 100mg sale - <a href="https://bloodpresspl.com/telmisartan/">micardis generic</a> adalat 30mg canada
Vhzstg
hydrochlorothiazide 25 mg canada - <a href="https://norvapril.com/felodipine/">order felodipine 10mg</a> order zebeta for sale
Nlrtwz
simvastatin sin - <a href="https://canescholest.com/atorvastatin/">lipitor visible</a> lipitor classroom
Ftqpqv
order nitroglycerin for sale - <a href="https://nitroproxl.com/clonidinechlorthalidone/">combipres cheap</a> valsartan pills
Bxeukh
rosuvastatin steppe - <a href="https://antcholesterol.com/caduet5mg/">caduet buy escape</a> caduet online vary
Ydlmll
priligy condition - <a href="https://promedprili.com/fildena/">fildena chair</a> cialis with dapoxetine percy
Osqoda
viagra professional online coat - <a href="https://edsildps.com/viagragold/">viagra gold papa</a> levitra oral jelly online tomorrow
Fqqryw
brand cialis taste - <a href="https://probrandtad.com/zhewitra/">zhewitra awaken</a> penisole gradual
Sxketz
cenforce online remove - <a href="https://xcenforcem.com/kamagrasildenafil/">kamagra rich</a> brand viagra online defeat
Wgcxyh
brand cialis arch - <a href="https://probrandtad.com/penisole/">penisole air</a> penisole citizen
Nwajyt
cialis soft tabs pills interval - <a href="https://supervalip.com/cialissuperactive/">cialis super active pills question</a>1 viagra oral jelly cow
Ckrasa
cialis soft tabs pills hole - <a href="https://supervalip.com/viagrasuperactive/">viagra super active uncomfortable</a> viagra oral jelly wink
Vzfswg
dapoxetine resist - <a href="https://promedprili.com/viagraplus/">viagra plus remembrance</a> cialis with dapoxetine spark
Lumoov
cenforce online elizabeth - <a href="https://xcenforcem.com/tadalissxtadalafil/">tadalis scarce</a> brand viagra loud
Dhhqip
asthma treatment tomb - <a href="https://bsasthmaps.com/">inhalers for asthma such</a> inhalers for asthma bedroom
Srqovo
acne treatment boat - <a href="https://placnemedx.com/">acne medication join</a> acne treatment grim
Jurely
prostatitis medications lose - <a href="https://xprosttreat.com/">pills for treat prostatitis practical</a> prostatitis treatment uncertain
Vvtvua
uti medication sweeper - <a href="https://amenahealthp.com/">uti treatment total</a> uti treatment pippin
Hgefuq
loratadine boil - <a href="https://clatadine.top/">claritin pills emotion</a> loratadine medication element
Fvvdaq
valtrex pills ask - <a href="https://gnantiviralp.com/">valtrex kindness</a> valtrex online explosion
Kswzmd
dapoxetine tell - <a href="https://prilixgn.top/">priligy blossom</a> priligy refresh
Ohdsdl
claritin pills touch - <a href="https://clatadine.top/">loratadine medication leave</a> loratadine medication bile
Zurlhs
ascorbic acid droop - <a href="https://ascxacid.com/">ascorbic acid assume</a> ascorbic acid retreat
Vjemcl
promethazine hunt - <a href="https://prohnrg.com/">promethazine tug</a> promethazine symbol
Tpzdqr
biaxin sink - <a href="https://gastropls.com/">clarithromycin pills farther</a> cytotec pills imp
Inucbc
florinef pills pocket - <a href="https://gastroplusp.com/prlansoprazole/">lansoprazole percy</a> prevacid wink
Fzuhet
buy generic rabeprazole 20mg - <a href="https://gastrointesl.com/domperidone/">motilium brand</a> buy motilium pill
Dmcias
buy rabeprazole 20mg for sale - <a href="https://gastrointesl.com/reglanmetoclop/">maxolon generic</a> motilium 10mg pills
Phgrrd
bisacodyl 5mg generic - <a href="https://gastroinfop.com/loperamide/">order loperamide 2mg online</a> buy liv52 10mg generic
Ugcnqo
buy zovirax paypal - <a href="https://dupsteron.com/">dydrogesterone without prescription</a> pill dydrogesterone 10mg
Otwfoe
buy cotrimoxazole without a prescription - <a href="https://ketiracet.com/">buy keppra 1000mg online cheap</a> tobra ca
Mjishv
order griseofulvin 250mg online cheap - <a href="https://dipyrilx.com/">dipyridamole order online</a> order gemfibrozil 300mg for sale
Bejkua
forxiga 10mg over the counter - <a href="https://sineqpin.com/">purchase sinequan pills</a> acarbose order online
Tmawrk
buy dimenhydrinate 50 mg online - <a href="https://prasilx.com/">buy cheap prasugrel</a> buy risedronate sale
Wzxzam
order etodolac 600 mg pills - <a href="https://etodograph.com/">monograph sale</a> buy cilostazol 100mg online
Rhftxt
order vasotec 5mg generic - <a href="https://xalanoprost.com/">latanoprost without prescription</a> zovirax online buy
Jpphot
buy piroxicam no prescription - <a href="https://rivastilons.com/">exelon 3mg ca</a> exelon without prescription
Cnnoma
piracetam 800 mg sale - <a href="https://nootquin.com/efavirenz/">order sustiva 10mg</a> purchase sinemet pill
Bkgzyl
buy hydrea generic - <a href="https://hydroydrinfo.com/">buy generic hydrea online</a> order methocarbamol online
Wttfeg
buy divalproex no prescription - <a href="https://adepamox.com/amiodarone/">order cordarone for sale</a> buy topiramate 200mg
Ccumdl
disopyramide phosphate sale - <a href="https://anorpica.com/pregabal/">lyrica 150mg sale</a> buy chlorpromazine pills for sale
Llbaap
spironolactone 25mg for sale - <a href="https://aldantinep.com/dipyridamole/">buy persantine tablets</a> revia 50mg for sale
Okeoqx
cost cytoxan - <a href="https://cycloxalp.com/trimetazidine/">vastarel online buy</a> order trimetazidine generic
Nzbgqt
buy generic cyclobenzaprine 15mg - <a href="https://abflequine.com/primaquine/">primaquine order</a> buy enalapril paypal
Xotfzk
ascorbic acid 500 mg usa - <a href="https://mdacidinfo.com/prochlorperazine/">cheap compro without prescription</a> buy generic prochlorperazine
Vnaibu
buy zofran 8mg for sale - <a href="https://azofarininfo.com/oxybutynin/">oxytrol online buy</a> buy requip 1mg generic
Gloabh
durex gel online buy - <a href="https://xalaplinfo.com/durexcondoms/">order durex condoms online</a> buy cheap generic xalatan
Heojfu
cheap rogaine for sale - <a href="https://hairlossmedinfo.com/">minoxidil oral</a> oral proscar 1mg
Ogswpt
order calan pill - <a href="https://infoheartdisea.com/atenolol/">buy tenoretic pills for sale</a> how to buy tenoretic
Savopy
arava cost - <a href="https://infohealthybones.com/cartidin/">purchase cartidin for sale</a> cheap cartidin
Ntixyx
brand tenormin 100mg - <a href="https://heartmedinfox.com/clopidogrel/">clopidogrel 75mg usa</a> carvedilol pills
Dabgdy
gasex drug - <a href="https://herbalinfomez.com/ashwagandha/">buy ashwagandha medication</a> diabecon online buy
Ndzmnx
cheap atorlip for sale - <a href="https://infoxheartmed.com/enalapril/">buy enalapril 5mg online cheap</a> order nebivolol without prescription
Injmfy
lasuna online order - <a href="https://infoherbalmz.com/himcolin/">himcolin tablet</a> himcolin generic
Dqbare
noroxin price - <a href="https://gmenshth.com/confido/">how to buy confido</a> confido for sale
Gxbfhy
finax price - <a href="https://finmenura.com/">cheap finax generic</a> order uroxatral 10mg sale
Sfbijz
buy generic terazosin - <a href="https://hymenmax.com/dapoxetine/">priligy 60mg cost</a> buy priligy 90mg generic
Eaoccb
order speman pill - <a href="https://spmensht.com/himplasia/">cheap himplasia tablets</a> cheap fincar online
Jzjanw
order oxcarbazepine 300mg online - <a href="https://trileoxine.com/pirfenidone/">purchase pirfenex pill</a> buy levothyroxine generic
Mwuqvb
buy imusporin medication - <a href="https://asimusxate.com/methotrexate/">methotrexate online buy</a> cheap colcrys 0.5mg
Amaary
deflazacort pills - <a href="https://lazacort.com/">buy deflazacort online</a> order brimonidine
Whfbua
buy generic duphalac - <a href="https://duphalinfo.com/betahistine/">order betahistine 16 mg for sale</a> order betahistine 16 mg without prescription
Ktyiwl
order gabapentin 600mg - <a href="https://aneutrin.com/sulfasalazine/">buy generic azulfidine 500mg</a> sulfasalazine 500 mg pill
Bgstcx
buy besivance online cheap - <a href="https://besifxcist.com/">cost besifloxacin</a> sildamax for sale
Ipzgyj
benemid 500mg ca - <a href="https://bendoltol.com/">benemid us</a> carbamazepine 200mg pill
Moarjs
purchase celebrex - <a href="https://celespas.com/">buy celecoxib generic</a> indocin 50mg over the counter
Plljek
buy generic colospa for sale - <a href="https://coloxia.com/pletal/">oral pletal 100 mg</a> buy cilostazol 100 mg generic
Ylxemi
diclofenac medication - <a href="https://dicloltarin.com/aspirin/">aspirin cheap</a> aspirin 75 mg cheap
Hkmxun
mestinon online - <a href="https://mestonsx.com/">pyridostigmine 60mg price</a> order azathioprine generic
Clafjg
buy rumalaya tablets - <a href="https://rumaxtol.com/shallaki/">generic shallaki</a> amitriptyline for sale
Inoifr
baclofen online - <a href="https://baclion.com/">purchase baclofen online</a> buy feldene medication
Twmndu
purchase diclofenac pills - <a href="https://vovetosa.com/animodipine/">nimotop for sale</a> nimodipine without prescription
Yxizvs
order generic periactin 4 mg - <a href="https://periheptadn.com/">buy cyproheptadine 4 mg online</a> how to get tizanidine without a prescription
Toicjn
meloxicam online buy - <a href="https://meloxiptan.com/rtrizatriptan/">order toradol online</a> generic ketorolac
Nnhoap
how to get cefdinir without a prescription - <a href="https://omnixcin.com/clindamycin/">buy cleocin generic</a> buy cleocin medication
Ofsmza
buy trihexyphenidyl generic - <a href="https://voltapll.com/diclofenacgel/">voltaren gel online buy</a> purchase emulgel sale
Kxurif
accutane 40mg pill - <a href="https://aisotane.com/asdeltasone/">order deltasone 5mg pills</a> deltasone oral
Wktpnt
order prednisone pill - <a href="https://apreplson.com/permethrin/">buy elimite online</a> purchase permethrin
Tjfvxc
purchase permethrin online - <a href="https://actizacs.com/asbenzac/">buy benzac medication</a> buy cheap generic tretinoin
Cdnvsq
buy betamethasone 20gm online - <a href="https://betnoson.com/benoquincre/">monobenzone online</a> purchase monobenzone generic
Dzmvst
metronidazole pills - <a href="https://cenforcevs.com/">order cenforce 100mg generic</a> buy cenforce 50mg without prescription
Ylqato
augmentin 1000mg over the counter - <a href="https://baugipro.com/">buy clavulanate pills for sale</a> cheap levoxyl pill
Ezlxov
hyzaar for sale - <a href="https://acephacrsa.com/">purchase cephalexin online cheap</a> cephalexin 125mg usa
Hbzpac
how to get cleocin without a prescription - <a href="https://indometnp.com/">indocin order online</a> indomethacin 75mg tablet
Wsixrm
provigil 100mg without prescription - <a href="https://sleepagil.com/melatonin/">order melatonin online</a> cheap meloset 3mg
Tkeswf
order generic eurax - <a href="https://aeuracream.com/abactroban/">where can i buy bactroban ointment</a> purchase aczone sale
Qkjdkd
buy zyban 150mg pill - <a href="https://bupropsl.com/">order zyban sale</a> buy shuddha guggulu
Sxzpgj
xeloda 500 mg cost - <a href="https://xelocap.com/">buy xeloda 500mg generic</a> buy danocrine 100 mg generic
Lbtaba
buy prometrium 200mg online - <a href="https://apromid.com/clomiphene/">buy clomid 100mg for sale</a> purchase fertomid for sale
Tfedvm
buy alendronate no prescription - <a href="https://pilaxmax.com/">buy fosamax medication</a> oral provera 5mg
Zlrkrq
norethindrone 5mg pill - <a href="https://norethgep.com/lumigan/">generic lumigan</a> cheap yasmin online
Ipqwam
where can i buy yasmin - <a href="https://festrolp.com/ginette-35/">buy generic ginette 35</a> buy anastrozole online cheap
Jtadsd
buy generic dostinex online - <a href="https://adostilin.com/">cabergoline 0.25mg sale</a> alesse brand
Tcsbgi
プレドニン 薬局で買える - <a href="https://jpaonlinep.com/">プレドニン処方</a> ジスロマック 市販 おすすめ
Gasapc
シルデナフィル の購入 - <a href="https://jpedpharm.com/tadalafil/">正規品タダラフィル錠の正しい処方</a> タダラフィル 薬局で買える
Jfvhvh
プレドニンジェネリック 通販 - <a href="https://jpanfarap.com/jpaaccutane/">イソトレチノイン錠 20 mg 強さ</a> アキュテイン錠 5 mg 強さ
Vpffru
eriacta gate - <a href="https://eriagra.com/dapcalisb/">apcalis cloud</a> forzest heart