Closed moorepants closed 10 years ago
I feel like people might not want to be plugging in random USB drives...? Maybe we could host it online, or even throw it up on bittorrent - I think most BT clients can pull from a local network. I guess I would suggest that we just focus on the main 2 options. I can try and work on those - what's a good deadline?
We can use ip mesenger or dcpp (Apexdc++). There are many clients available for data transfer over local network. On 20 Jan 2014 01:28, "Gilbert Gede" notifications@github.com wrote:
I feel like people might not want to be plugging in random USB drives...? Maybe we could host it online, or even throw it up on bittorrent - I think most BT clients can pull from a local network. I guess I would suggest that we just focus on the main 2 options. I can try and work on those - what's a good deadline?
— Reply to this email directly or view it on GitHubhttps://github.com/PythonDynamics/pydy-tutorial-pycon-2014/issues/4#issuecomment-32718057 .
The USB solution is the standard solution everyone uses at PyCon/SciPy. This is due to unreliable internet connections at the conferences. PyCon has well over a thousand people all trying to use the net heavily.
Do we just make a master USB key which pycon replicates? Or do we have to supply dozens?
On Sun, Jan 19, 2014 at 3:02 PM, Jason Moore notifications@github.comwrote:
The USB solution is the standard solution everyone uses at PyCon/SciPy. This is due to unreliable internet connections at the conferences. PyCon has well of a thousand people all trying to use the net heavily.
— Reply to this email directly or view it on GitHubhttps://github.com/PythonDynamics/pydy-tutorial-pycon-2014/issues/4#issuecomment-32725265 .
I've made some deadlines in the milestones and assigned most issues to these.
Usually there are about 2-5 USB sticks for a 30-50 person tutorial. Most people come prepared and the USB sticks get passed around to the slackers or people that have issues with their install.
The local network thing would probably work but may complicate things more than needed. These suggestions are just based on the 6 or so tutorials I went to last year. Everyone seemed to do it this. And the one that only relied on you having virtual box and using his image was the most clunky.
Keep in mind that most PyCon'rs understand Python's installation intricacies. This probably also means that many would understand how to do bit torrent.
It would be a good idea to know what the minimum versions of all necessary packages are.
OK. I'm going to start to set up a virtual machine to pass out - I think I might wait on writing the instructions until there is the PyDy package and a newer SymPy release? Does that sound right?
Also, 64-bit Ubuntu 13.10 as a virtual machine to distribute?
The instructions will be:
install anconda, pip install pydy, then download the tutorial file via git or just by pressing the button on github.
I think you should do a 32 bit machine, because if anyone has a 32 bit machine they may not be able to run the 64 bit VM. That is unlikely, but using 32bit won't compromise anything, I don't think. Latest Ubuntu is fine.
Here are installation instructions I sent to the MASB for Windows 7 machines:
Install Anaconda 1.8 for Windows 64
Download the .exe file from http://continuum.io/downloads. Current version is:
http://09c8d0b2229f813c1b93-c95ac804525aac4b6dba79b00b39d1d3.r79.cf1.rackcdn.com/Anaconda-1.8.0-Windows-x86_64.exe
Double click and run the installer, click next, agree to license. You should select to install for all users (unless you only want to install for only the user that will be used during the tutorial). Choose default directory (unless you desire otherwise). In the advanced options dialog, leave both items checked so that all of the paths are set correctly (the only reason you wouldn't want to do this is if you have other Python installations on these machines already, as this will make the Python included in Anaconda the default Python for the computer). And press install.
Check to make sure Anaconda installed properly
In the start menu under "Anaconda (64 bit)", select Anaconda Command Prompt. Now type:
C:\Anaconda>python
Python 2.7.5 |Anaconda 1.8.0 (64-bit)| (default, Jul 1 2013, 12:37:52) [MSC v.1
500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.__version__
'1.7.1'
>>> import scipy
>>> scipy.__version__
'0.13.0'
>>> import IPython
>>> IPython.__version__
'1.1.0'
>>> import sympy
>>> sympy.__version__
'0.7.3'
>>> import matplotlib
>>> matplotlib.__version__
'1.3.1'
You should get the same response if all necessary packages have been installed.
Now check the IPython notebook. In the start menu under "Anaconda (64 bit)", select "IPython (Py 2.7) Notebook". The default Internet browser should open and show the IPython notebook interface.
Ok, all is good! All windows can be closed.
Final Installation (at a later date)
The remaining installation steps can happen once the SymPy and PyDy releases are made (approximately Feb 20th). As long as we have Internet available on the machines, we can do this as the first 2 minute step in the tutorial, but if you all have time to do it before the conference, that would be great too.
1. Open an Anaconda prompt. And upgrade to the latest SymPy version with:
C:\Anaconda>pip install -U sympy
Downloading/unpacking sympy from https://pypi.python.org/packages/source/s/sympy
/sympy-0.7.4.1.tar.gz#md5=2547375b3b7eee17a3f1f4f3038c383d
Downloading sympy-0.7.4.1.tar.gz (6.8MB): 6.8MB downloaded
Running setup.py egg_info for package sympy
Installing collected packages: sympy
Found existing installation: sympy 0.7.3
Uninstalling sympy:
Successfully uninstalled sympy
Running setup.py install for sympy
File "C:\Anaconda\Lib\site-packages\sympy\mpmath\libmp\exec_py3.py", line
1
exec_ = exec
^
SyntaxError: invalid syntax
Successfully installed sympy
Cleaning up...
C:\Anaconda>python
Python 2.7.5 |Anaconda 1.8.0 (64-bit)| (default, Jul 1 2013, 12:37:52) [MSC v.1
500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sympy
>>> sympy.__version__
'0.7.4.1'
Note that this will actually be version 0.7.5 which will be released by about Feb 20th.
Now install PyDy from an Anaconda prompt in the same way:
C:\Anaconda>pip install pydy
...
Successfully installed pydy
Cleaning up...
C:\Anaconda>python
Python 2.7.5 |Anaconda 1.8.0 (64-bit)| (default, Jul 1 2013, 12:37:52) [MSC v.1
500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pydy
>>> pydy.__version__
'0.1.0'
Finally, the tutorial materials should be downloaded and unzipped:
Tutorial repository main link: https://github.com/PythonDynamics/pydy-tutorial-pycon-2014
Zip file download link: https://github.com/PythonDynamics/pydy-tutorial-pycon-2014/archive/master.zip
Other
We will most likely use some WebGL 3D visualizations that run in modern web browsers. In general, the latest versions of IE, Opera, Firefox, and Chrome will work (see this page for compatibility: http://caniuse.com/webgl). Do the machines have a compatible browser version? If not, I'll stick with 2D visualizations.
Ok, install instructions are good to go. We will send them out tomorrow and if anyone needs help they can email us over the next week.
We need to write up the installation instructions. There are of course many ways to do this. These are the two methods that I'd like to have in place, because I think it will be the easiest for folks new to Python:
Optional