Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'orator' #179

Closed
ashfaqahmed opened this issue Nov 4, 2019 · 11 comments
Closed

No module named 'orator' #179

ashfaqahmed opened this issue Nov 4, 2019 · 11 comments

Comments

@ashfaqahmed
Copy link

ashfaqahmed commented Nov 4, 2019

Hello, i am just getting start with it via following the documentation, when creating migration for post table as per the documentation "craft migration create_posts_table --create posts" this gives the error No module named 'orator'.

I have verified installation for orator using
pip3 install orator
and also
pip3 install --upgrade masonite-cli
It say's

"Requirement already satisfied." so i am stuck here on the documentation no-way to proceed further.

Please suggest.

@josephmancuso
Copy link
Member

are you using a virtual environment?

@ashfaqahmed
Copy link
Author

ashfaqahmed commented Nov 4, 2019

are you using a virtual environment?

Yes i am using virtual environment python3 on MacOS, and database MySQL

@josephmancuso
Copy link
Member

hmm i haven't seen that issue before

@josephmancuso
Copy link
Member

did you install craft globally or only inside your virtual environment?

@ashfaqahmed
Copy link
Author

craft

Its installed at both-sides as globally and also inside virtual environment.

@ashfaqahmed
Copy link
Author

Also have tried this with python craft migration create_posts_table --create posts
Screen Shot 2019-11-04 at 4 54 03 AM

@josephmancuso
Copy link
Member

try to uninstall it globally. might be conflicting with eachother

@ashfaqahmed
Copy link
Author

Uninstalled from machine level, uninstalled from virtual environment, re-installed inside virtual-environment still same issue persist.

@ashfaqahmed
Copy link
Author

Uninstalled everything, deactivated virtual environment and installed from scratch as a globally not inside virtual environment, it worked well as globally, not sure what kind of issue is with virtual environment.

Thanks for the help :)

@josephmancuso
Copy link
Member

lol not sure. So everything is good now?

@ashfaqahmed
Copy link
Author

lol not sure. So everything is good now?

Yes working fine now, i will have a try on virtual-environment again next time :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants