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

cannot import name 'render' from 'utils' (C:\Users\User\anaconda3\lib\site-packages\utils\__init__.py)

I can not import render from utils, I have installed utils using PIP successfully, still I can not import render from utils. Can someone help me with the above issue?

Thank you very much, happy programming :)

1 Answer

I have installed utils using conda command line, below is the outcome for same :

(base) C:\Users\User>conda search python-utils --channel conda-forge Loading channels: done

Name Version Build Channel

python-utils 2.0.0 py27_0 conda-forge python-utils 2.0.0 py34_0 conda-forge python-utils 2.0.0 py35_0 conda-forge python-utils 2.0.0 py36_0 conda-forge python-utils 2.2.0 py27_0 conda-forge python-utils 2.2.0 py35_0 conda-forge python-utils 2.2.0 py36_0 conda-forge python-utils 2.3.0 py27_0 conda-forge python-utils 2.3.0 py27_0 pkgs/main python-utils 2.3.0 py35_0 conda-forge python-utils 2.3.0 py35_0 pkgs/main python-utils 2.3.0 py36_0 conda-forge python-utils 2.3.0 py36_0 pkgs/main python-utils 2.3.0 py37_0 pkgs/main python-utils 2.3.0 py38_0 pkgs/main python-utils 2.3.0 py_1 conda-forge python-utils 2.4.0 py_0 conda-forge

(base) C:\Users\User>python Python 3.7.6 (default, Jan 8 2020, 20:23:39) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32 Type "help", "copyright", "credits" or "license" for more information.

I am not sure what silly mistake I am making, any lead would be appreciated, Thanks