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 Installing Dependencies

Allison Welch
Allison Welch
3,256 Points

Error when installing sqlalchemy

When I tried to install sqlalchemy I got an error that started with: error: subprocess-exited-with-error

× Building wheel for greenlet (pyproject.toml) did not run successfully.

I found a stack overflow post where someone had a similar problem – https://stackoverflow.com/questions/76159927/error-could-not-build-wheels-for-greenlet-which-is-required-to-install-pyproje – but I don't know enough to interpret what the answer means. Can anyone explain this for me?

For context, I'm on an apple MacBook pro with an M1 chip

1 Answer

Brian Jensen
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree seal-36
Brian Jensen
Treehouse Staff

Hiya Allison Welch :wave:

That is a bug that can pop up from time to time. Generally, manually installing greenlet with pip install greenlet will resolve the issue. However, if that doesn't work, you may need to delete the myapp-env folder and re-initialize it. If neither of those options works, can you please share what versions of pip and python you are running?