Giter Club home page Giter Club logo

csci250's Introduction

csci250

Course Materials for csci250 Colorado School of Mines

RANDOM STUFF BELOW

Going Headless https://elearning.mines.edu/courses/6667/files/folder/HeadlessDocs?preview=186464

Vim

If your using vim raspberry pi OS often defaults python to python3

To check that python3 is enabled use this command: "vim --version | grep python" and you should see a + sign by python.

If no python3 you should be able to get it simply by just running "sudo apt-get install vim-nox"

Alternatively, compile vim from source and use the tag: -with-python3-config-dir=/usr/lib/python3.4.2/config

Syntax highlighting may not work by default. To enable: sudo nano etc/vim/vimrc and uncomment the "syntax on" line and your custom vim stuff should now work. I have a .vimrc for python posted as a repo if you want to view the plugins I use.

MatPlotLib not installing After trying each of these make sure to test it (matplotlib may import but have some graphing errors still). Run this code import matplotlib.pyplot as plt plt.plot([1,2,3,4]) plt.show()

Try these options

  1. Installing with Pip3 $sudo apt-get install python3-pip $sudo pip3 install matplotlib

if importing matplotlib gives an error (saying it needs cairocffi) then install what it is asking for... $sudo pip3 install cairocffi

  1. Installing from official repository $sudo apt-get update $sudo apt-get matplotlib-python3

  2. Source install git clone https://github.com/matplotlib/matplotlib.git cd matplotlib python3 setup.py build sudo python3 setup.py install

csci250's People

Contributors

bentarman avatar

Watchers

James Cloos avatar

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.