stefmolin / Hands-On-Data-Analysis-with-Pandas-2nd-edition

Materials for following along with Hands-On Data Analysis with Pandas – Second Edition
https://www.amazon.com/Hands-Data-Analysis-Pandas-visualization/dp/1800563450
MIT License
584 stars 1.39k forks source link

./visual-aids #11

Closed dshah999 closed 2 years ago

dshah999 commented 2 years ago

Hi, It seems I can not install ./visual-aids I deleted the 18th line from file and all the libraries from requirements.txt file were installed. I tried to google but can not find any info on how to install it separately. Can you please help me with the 18th line - ./visual-aids installation?

image image

Thank you!

stefmolin commented 2 years ago

Hi there. From your command line screenshot, I can see that you aren't in the directory containing the files for this repo. The visual-aids package is in this repo, so if you aren't in that directory when you run the command you are running it pip won't be able to find it.

Depending on where you cloned/downloaded this repo, your path will be different. Assuming you did so from the directory you are running the pip command from, you can change to the correct directory with the following command (more info on page 35 in the book – from the tip box to the bottom of the page):

cd Hands-On-Data-Analysis-with-Pandas-2nd-edition

This folder should also have the requirements.txt file (unless you moved it, in which case you should move it back).

dshah999 commented 2 years ago

Hey Stefanie, thank you! You are right. I placed the visual aids folder in the repo on my computer and it worked! Once again, thank you :)