Guest User

Untitled

a guest
Mar 21st, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. # Setting my Work Environment
  2.  
  3. 1. Install Anaconda Distribution
  4. 2. Installing Spyder
  5. ```
  6. conda install spyder
  7.  
  8. 1. Enable interactive 3d plots in Spyder by going to Tools > Preferences > IPython Console > Graphics.
  9. From this page, set Backend to Automatic.
  10. 2. When you run scripts, if they load up other files (such as datasets or other scripts),
  11. Spyder may need to have it's current working directory set to the location where your script is running from.
  12. Without this, you'll have to use absolute paths rather of relative ones to locate anything! You can change
  13. Spyder's CWD by clicking on Configure from the Run menu. Or alternatively, you can do it in your source code
  14. directly by adding: os.chdir('/Full/Dir/Path/Here'). Alternatively, you can do it directly in the interactive
  15. IPython console during runtime using %cd /Full/Dir/Path/Here. If you ever run into a 'file-not-found' error,
  16. your current working directory is probably out of sync.
  17. ```
  18. 3. Install Jupyter Notebook Extensions
  19. ```
  20. conda install -c conda-forge jupyter_contrib_nbextensions
  21. jupyter contrib nbextension install --user
  22. ```
Add Comment
Please, Sign In to add comment