ptpb / pb

pb is a formerly-lightweight pastebin and url shortener
Other
549 stars 52 forks source link

ModuleNotFoundError: No module named 'werkzeug' when creating new container #248

Closed HeyBanditoz closed 5 years ago

HeyBanditoz commented 5 years ago

Perhaps I missed something in the README? Or with docker? I'm unable to launch the container with a fresh docker installation.

qlyoung commented 5 years ago

+1, same issue on vanilla Ubuntu 18.04

lxwang42 commented 5 years ago

change Dockerfile line 7 to && pip install -r /build/requirements.txt \ will solve the problem

buhman commented 5 years ago

thanks for reporting; fixed in 4b1cd3b

HeyBanditoz commented 5 years ago

Did not fix. Running same set of commands as in OP, same error.

buhman commented 5 years ago

@HeyBanditoz you'll need to rebuild your container, as docker-compose/docker will keep the previous build results. You can do this with:

docker-compose up --force-recreate --build

If this doesn't work, please provide your build output.

HeyBanditoz commented 5 years ago

That worked. Thanks again!