Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Using Databases in Python Meet Peewee Modeling

issue with peewee, please help

I've already installed peewee but still i have error

import peewee Traceback (most recent call last):

File "<ipython-input-1-bd47b3d25a50>", line 1, in <module> import peewee

ModuleNotFoundError: No module named 'peewee'

C:\Program Files\Anaconda3\Scripts>conda install peewee Fetching package metadata ........... Solving package specifications: .

All requested packages already installed.

packages in environment at C:\Program Files\Anaconda3:

peewee 2.10.1 py36_0 conda-forge

C:\Program Files\Anaconda3\Scripts>pip3 install peewee Requirement already satisfied: peewee in c:\users\user\appdata\local\programs\python\python36-32\lib\site-packages

C:\Program Files\Anaconda3\Scripts>

1 Answer

solved this issue with pip install --target=C:\Users\User\Anaconda3\Lib\site-packages tflearn

hope it will help and save a time for other