Code Monkey home page Code Monkey logo

Comments (5)

aapatel09 avatar aapatel09 commented on August 17, 2024

Hi @szalmaf, could you please try this command to pull the data into the repo folder on your local environment?

aws s3 cp s3://handson-unsupervised-learning/datasets/ datasets --recursive --no-sign-request

The credit_card.csv file was too large to store on GitHub, so I moved it to S3.

The complete README instructions are here.
https://github.com/aapatel09/handson-unsupervised-learning#readme

Please do let me know if this works successfully for you because I just changed the instructions on Friday last week.

Thanks for the compliment!

from handson-unsupervised-learning.

szalmaf avatar szalmaf commented on August 17, 2024

Hi @aapatel09,

Thanks for the quick reply. In the meantime, I figured out that I could get the csv file from one of the forks of the repository.

I just tried the 'aws ...' command. It does not work for me. It gives the following error message:

Traceback (most recent call last):
File "/usr/local/bin/aws", line 5, in
from aws.main import main
File "/usr/local/lib/python3.8/site-packages/aws/main.py", line 23
print '%(name)s: %(endpoint)s' % {
^
SyntaxError: invalid syntax

from handson-unsupervised-learning.

aapatel09 avatar aapatel09 commented on August 17, 2024

Thanks for following up on this. I know you have the data now, but could you please try to download the data using the aws command, too? I would like to troubleshoot the issue you're having, and hopefully this will be a resource for others in the future in case they encounter similar errors.

Let's try this please:
aws s3 cp s3://handson-unsupervised-learning/datasets/ datasets --recursive --no-sign-request

Please use the aws command line above using Command Prompt on Windows or Terminal on Mac. You should run this within the repo */handson-unsupervised-learning so the data downloads directly into the datasets folder within the repo.

Also, did you pip install aws using this command on the command line?
pip install awscli==1.19.28

If you would rather run these commands within the Jupyter notebook, please try this:

  1. !pip install awscli==1.19.28
  2. !aws s3 cp s3://handson-unsupervised-learning/datasets/ datasets --recursive --no-sign-request

I would love feedback on whether this solves this issue for you. Thanks!

from handson-unsupervised-learning.

szalmaf avatar szalmaf commented on August 17, 2024

I am actually trying to use the data files from Google Colab.

As per you request, however, I tried the aws command again on my Mac laptop. After pip installing the exact version of awscli:

pip install awscli==1.19.28

and then cloning the handson-unsupervised-learning repo, cd-ing into it, the

aws s3 cp s3://handson-unsupervised-learning/datasets/ datasets --recursive --no-sign-request

command did work and downloaded the csv and other files.

Hope this little test helps the repo to be developed further. And thanks for your prompt help.

from handson-unsupervised-learning.

aapatel09 avatar aapatel09 commented on August 17, 2024

Perfect. Glad to hear that this worked!

from handson-unsupervised-learning.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.