Skip to content

Latest commit

 

History

History
118 lines (80 loc) · 5.42 KB

troubleshooting.md

File metadata and controls

118 lines (80 loc) · 5.42 KB

Troubleshooting

1. When I open Windows Explorer through Ubuntu, it goes to a different folder than in the guide
2. Ubuntu on Windows 10 high CPU usage, crashes
3. When I pull from the batch7-students repository, I get an error
4. When I try to open jupyter notebook, I get an error
5. When I use the cp command the > sign appears and the command does not execute
6. When setting up python 3.10 I get an error
7. Nothing happens when I type my password
8. I still have a NotImplemented error
9. Tutorial videos from Prep Course 2020
10. Error 0x80370102 when installing WSL
11. Errors when installing WSL on Windows

1. When I open Windows Explorer through Ubuntu, it goes to a different folder than in the guide

Please make sure:

  • you are running the command explorer.exe . including the dot at the end.
  • you are running Windows 10 version 1909 or newer.

2. Ubuntu on Windows 10 high CPU usage, crashes

  • Make sure you are running Windows 10 version 1909 or newer.
  • Then, try following these steps

3. When I pull from the batch7-students repository, I get an error

If you get an error like the following when pulling:

error: Your local changes to the following files would be overwritten by merge:
<some files>
Please commit your changes or stash them before you merge.
Aborting

what git is telling you is that changes were made by you to the files in the ~/projects/batch7-students folder, and therefore it is not pulling the changes made by the instructors because they would overwrite the changes made by you.

To fix this do the following:

  1. Make sure that any changes you made to the files in ~/projects/batch7-students (that you don't want to lose) are saved in your ~/projects/ds-prep-workspace repository (refer to Updates of the learning units on how to do this). If you don't want to keep the changes you made to these files, continue to the next step.

  2. Go to the ~/projects/batch7-students folder and run:

    cd ~/projects/batch7-students
    git stash
  3. Now you can pull from the batch7-students repository:

    git pull

4. When I try to open a Jupyter notebook, I get an error

Make sure that your virtual environment is activated before opening the Jupyter notebook.

source ~/.virtualenvs/s01/bin/activate

5. When I use the cp command the > sign appears and the command does not execute

cp -r ~/projects/batch7-students/"S01 - Bootcamp and Binary Classification"/"SLU01 - Pandas 101" ~/projects/batch7-workspace/"S01 - Bootcamp and Binary Classification"
>

Make sure to use this type of quotes " and not this one .

6. When setting up python 3.10 I get an error

When I run this command:

sudo add-apt-repository ppa:deadsnakes/ppa

I get this error:

W: GPG error: http://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7FCC7D46ACCC4CF8

Solution: Take the id in front of NO_PUBKEY (in my case it's 7FCC7D46ACCC4CF8) and run the following command:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7FCC7D46ACCC4CF8

7. Nothing happens when I type my password

When you type your password in the terminal, it is not visible. This is normal, just type the password and hit enter.

8. I still have a NotImplemented error

I've completed the exercise in the Exercise Notebook but when I run the cell I get a NotImplementedError.

Solution: The raise NotImplementedError() is added to the exercise cell as a placeholder for where you're supposed to add your solution/code. It is meant to be removed!

9. Tutorial videos from Prep Course 2020

🎁🎬 Check the tutorial videos if you have any doubts after following this tutorial. These videos were made for the Prep Course of year 2020, so there may be some differences.

10. Error 0x80370102 when installing WSL

Follow the steps here.

11. Errors when installing WSL on Windows

See the troubleshooting guide from Microsoft.