ageron / handson-ml

⛔️ DEPRECATED – See https://github.com/ageron/handson-ml3 instead.
Apache License 2.0
25.18k stars 12.92k forks source link

facing problem with virtualenv and tarfile in chapter 2 #552

Closed oniika-rohatgi closed 4 years ago

oniika-rohatgi commented 4 years ago

Hello Ageron, I am using anaconda version 4.5.12, pip version 18.1, PYTHON version 3.7. I am facing two problem in chapter 2 1 while creating virtual environment it is throwing following error 'virtualenv' is not recognized as an internal or external command, operable program or batch file.

2 I have tried both commands pip install tarfile and conda install tarfile. it is throwing following error Could not find a version that satisfies the requirement tarfile (from versions: ) No matching distribution found for tarfile

ghost commented 4 years ago

552

Greetings @oniika-rohatgi

  1. The steps to create and activate a virtual environment that you are asking for is given here in this link. You can check it out and see if it resolves the issue: https://uoa-eresearch.github.io/eresearch-cookbook/recipe/2014/11/20/conda/
  2. You don't need to install tarfile instead, you can directly import it within your notebook as it comes preloaded here: import tarfile

I hope this resolves the issue.

oniika-rohatgi commented 4 years ago

Thank you for the link.