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

creating virtualenv with requirements.txt from the pandas lesson

Hi, I was trying to create a virtualevn with the requirements.txt with the following: conda create --name treehouse-pandas --file requirements.txt And I got the following error message:

Collecting package metadata: done Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  • openssl==1.1.1=h1de35cc_0

Current channels:

To search for alternate channels that may provide the conda package you're looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.

Is there an update on the requirements.txt? Or how do I change the search channels from anaconda.com to anaconda.org?

Thanks

Linda Shum
Linda Shum
12,609 Points

Try opening the requirements.txt file and replacing:

openssl=1.1.1=h1de35cc_0

with:

openssl=1.1.1g=h1de35cc_0

1 Answer

That worked for me, Linda. Thank you.