Following the mac instruction on ubuntu 18.04
I thought I did everything right up until the last step:
To start MFlix, run the following command:
python run.py
Received the error:
(mflix) mongo@mongo-VirtualBox:~/M220P$ python run.py
Traceback (most recent call last):
File “run.py”, line 1, in
from mflix.factory import create_app
File “/home/mongo/M220P/mflix/factory.py”, line 6, in
from flask_bcrypt import Bcrypt
ModuleNotFoundError: No module named ‘flask_bcrypt’
I noticed this error when i try to install flask_bcrypt with $ pip install flask-bcrypt, i recieve this error:
Installing collected packages: bcrypt, flask-bcrypt
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: ‘/home/mongo/anaconda3/lib/python3.7/site-packages/bcrypt-3.1.6.dist-info’
Consider using the --user
option or check the permissions.
and when i echo $PATH I receive this:
/home/mongo/.conda/envs/mflix/bin:/home/mongo/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
Please help.