README.md~ 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. DataAnalyisisOpenUniversity
  2. ===========================
  3. https://www.futurelearn.com/courses/learn-to-code
  4. Different things learnt on this course will be added with the hope to get some colaboration if some project pans out.
  5. Installing
  6. ==========
  7. On a fresh ubuntu-gnome 14.04 install I did the following. ignoring the *sh binary wierd document that the course asks to install.
  8. I was unsure if we where going to use python 2 or 3 so I think I have installed both with these instructions:
  9. $sudo apt-get install spyder spyder3
  10. $sudo apt-get install ipython3-notebook ipython-notebook
  11. $sudo apt-get install build-essential python3-dev
  12. $sudo apt-get install python-pip python3-pip
  13. $pip3 install -U jupyter
  14. I then went to notabug.org and created an account and a new repository
  15. followed the directions to create ssh keys that need to be copied to the notabug website and did a git clone.
  16. Edited the readme.md saved and did
  17. $git add .
  18. $git commit -m "instructions so far"
  19. Some errors will come up about setting up your git user just follow instructions.
  20. $git push
  21. you can now check in notabug.org that your changes are up to date.
  22. Later test the instalation http://www.open.edu/openlearn/learn-to-code-installation in linux section step 4.
  23. Here I found out that I needed pandas as well.
  24. $sudo pip3 install pandas
  25. Seems to work fine as I get the graph plotted with only a warning.
  26. Your pandas version is 0.17.0
  27. /usr/lib/python3/dist-packages/matplotlib/collections.py:549: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
  28. if self._edgecolors == 'face':
  29. ## Week one excersise ##
  30. when running all notebook it says in exercise 6 that we do not have a module named xlrd. This time I took a different route. And I installed the package manager:
  31. $sudo apt-get install synaptic
  32. and I selected the following packages found when typing xlrd on the search box@ python2-xlrd, python-xlrd, python-xlwt Only the first one is needed but I installed all 3.