Forums

Problem with No module named 'flask_marshmallow'

Step by step all I did was:

Open Bash console,

Write "mkvirtualenv myvirtualenv --python=/usr/bin/python3.8"

Went to web and put "/home/PLCMRG/.virtualenvs/myvirtualenv" in virtualenv dirrectory

Open virtualenv console and import libraries by:

pip3.8 install flask-sqlalchemy

pip3.8 install flask-marshmallow

pip3.8 install marshmallow-sqlalchemy

pip3.8 install mysql-connector-python-rf

After that when i try importing marshmallow lib by:

"from flask_marshmallow import Marshmallow"

When i do that, I keep geting "No module named 'flask_marshmallow'" error

Did i do something wrong? Is there any way to solve this problem?

I see that you asked about this in another forum thread, so I've replied there.

I asked again becouse i couldnt find the one I wrote earlier and I thought I didnt explain situation good enouch there, so I made new one. Thank you and alse I replied there.

Sure, no problem!