Recently, I have dual booted Ubuntu on Windows 10 and now I tried to install numpy python module but is not getting installed. It is showing the following errors when I type help("modules"), I can see that numpy is not installed.  Please help me in solving this problem.  d  harani@chikki:~$ python -m pip install numpy  Collecting numpy   Downloading numpy-1.13.0-cp27-cp27mu-manylinux1_x86_64.whl (16.6MB)     100% |████████████████████████████████| 16.6MB 52kB/s  Installing collected packages: numpy Exception:  Traceback (most recent call last):    File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/basecommand.py", line 215, in main     status = self.run(options, args)    File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/commands/install.py", line 342, in run     prefix=options.prefix_path,    File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/req/req_set.py", line 784, in install     **kwargs   File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/req/req_install.py", line 851, in install     self.move_wheel_files(self.source_dir, root=root, prefix=prefix)    File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/req/req_install.py", line 1064, in move_wheel_files     isolated=self.isolated,    File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/wheel.py", line 345, in move_wheel_files     clobber(source, lib_dir, True)    File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/wheel.py", line 316, in clobber     ensure_dir(destdir)    File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/utils/__init__.py", line 83, in ensure_dir     os.makedirs(path)    File "/usr/lib/python2.7/os.py", line 157, in makedirs     mkdir(name, mode)  OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist- packages/numpy-1.13.0.dist-info'
I used VIRTUALBOX to install Ubuntu 12.04 on my windows pc. I used apt-get to install Python 2.7 that shipped with 12.04. I followed the directives I saw on this site to install Numpy, Scipy, Matplot all failed. I download tar source file of these modules. How do I install them manually? Someone pls help, I'm getting frustrated.
Confidence interval interpretation in linear regression when errors are not normally distributed Let $X$ be an arbitrary random variable  takes values in $\{0,1,2,...,10\}$. What are the minimum and  maximum values of variance of random variable $X$? Same Video on each face, but with different time delay? iam looking for a way to - like the title says - i want to put the same video on each face, but with different time delay.  In other words, i want to create a kind  of videowall.  i found :  #---------------------------------------------------------- # File multi_material.py #---------------------------------------------------------- import bpy  def run(origin):     # Create three materials     red = bpy.data.materials.new('Red')     red.diffuse_color = (1,0,0)     blue = bpy.data.materials.new('Blue')     blue.diffuse_color = (0,0,1)     yellow = bpy.data.materials.new('Yellow')     yellow.diffuse_color = (1,1,0)      # Create mesh and assign materials     bpy.ops.mesh.primitive_uv_sphere_add(         segments = 16,         ring_count = 8,          location=origin)     ob = bpy.context.object     ob.name = 'MultiMatSphere'     me = ob.data     me.materials.append(red)     me.materials.append(blue)     me.materials.append(yellow)      # Assign materials to faces     for f in me.faces:         f.material_index = f.index % 3      # Set left half of sphere smooth, right half flat shading     for f in me.faces:         f.use_smooth = (f.center[0] &lt; 0)  if __name__ == "__main__":     run((0,0,0))   But it didn't really work out for me, it creates a red sphere and sends      Traceback (most recent call last):   File "\Text", line 36, in      File "\Text", line 28, in run AttributeError: 'Mesh' object   has no attribute 'faces' Error: Python script fail, look in the   console for now...   to the console. Also i didn't know how i could add the delay in there.  Hope you can help me out with this! :) Is it wrong to ask the same question elsewhere? I just posted a question to  and afterward realized that it might not be answered very quickly due to how specific it was. So I also posted it on the   I plan to update both the SU and Ubuntu posts with the final answer I end up using, but I can't help but feel users from both places might not like that I've posted to both.  So my question is: Is it frowned upon to post the same question elsewhere and link to it? Timestamp in the  is going out of it's boundary.        AFAIK, the suggested edits timestamp was near to it's type (i.e. asked, proposed) like this:        Checked on Chrome (27.0.1453.110 m), Firefox (21.0) on Windows XP  The issue is in other Stack Exchange sites as well. E.g. Have a look at  on Physics.SE. Also in   Can we fix this? When is $A- B = B- A$? Hello I am taking a Discrete Mathematics course and having some trouble with this question about sets:  Under what conditions is $A- B = B- A$  Diagram:   Diagram:   Maybe I'm understanding incorrectly, but how can A-B and B-A be equal if they contain elements that are not in each other? jQuery scrolltop firefox not working Where does the energy for osmosis come from? A thought experiment:     A U-shaped tube with semi-permeable membrane at the base. The tube is completely thermally isolated from its surroundings. The liquid (solvent) is at some temperature $T$. When solute is added to one side of the tube the fluid level on that side rises until the increased pressure due to gravity ($\rho gh$) equals the osmotic pressure.   If I understand correctly, osmotic pressure could be used to do work (i.e. lift a weight as the solvent level in one side of U-shaped tube increases). Where does this energy come from? I guess it must be from the internal energy of the fluid.  At this point has the temperature of the fluid decreased?? If so, has it decreased by exactly the work done against gravity divided by the specific heat of the fluid? What does the quantitative treatment of this problem look like? Touchpad stopped working 20.04 How to create a file system as a non root user? I'd like to create a filesystem image as a non-root user, the problem I'm facing is that the way I'm currently doing it, it needs a mount and as a non-root can't do a mount.  This is what I'm now doing:  #!/bin/sh  IMG="app.ext4" LBL="PIHU_APP" MNT="/mnt/PIHU_APP" APP="/home/buildroot/board/arctura/PIHU_APP/application"  #64MB: dd if=/dev/zero of=$IMG bs=4096 count=16384  mkfs.ext4 $IMG e2label $IMG $LBL  mkdir -p $MNT mount -o loop $IMG $MNT cp -r $APP $MNT sync umount $MNT   I have full root access, so I can setup/prepare anything, but the script will be executed from a non-root account.  However, I have a feeling there may be a better way that might not even need mounting, but I'm not sure.. Showing that $f_0 (x_1, \ldots, x_m) \mathrm tr A =\displaystyle{ \sum_{i=1}^n} f_0(x_1, \ldots, Ax_i,\ldots, x_m)$ Question:  Consider $f: (-\epsilon, \epsilon) \to \mathbb R^{m^2}$ a differentiable path of matrices $m \times m$ such that $f(0) = I_m$ and the function $g: I \to \mathbb R$ is defined by $$g(t) = \det f(t)$$  Show that $g'(0) = \mathrm{tr} \,a $ (trace of the matrix $a$), where $a = f'(0)$.   Attempt:  First we use that $\det f(t) = \det (f_1(t), \ldots, f_m(t)) $, where $f_i$ is the $i$-th row of the matrix $f(t)$ $m \times m$. Considering the operator $': \mathbb R^m \to \mathbb R^m$, $f(t) \mapsto f'(t)$  With this in mind $$\begin{align}g'(t) = \det'f(t) &amp;= \sum_{i=1}^{m} \det (f_1(t),\ldots,f'_i(t),\ldots, f_m(t)) \\&amp;\underbrace{=}_{(*)}\det(f_1(t), \ldots, f_m(t))\, \mathrm tr f'(t) \end{align}$$  For $t = 0$ we have   $$\begin{align}g'(0) &amp;=\det(e_1, \ldots, e_m) \,\mathrm tr f'(0) \\&amp;= 1 \dot\, \mathrm tr \,a \\&amp; = \mathrm tr \, a\end{align}$$  I'm trying to come up with a proof using the fact that $\det$ is a $m$-linear form.   In order to prove $(*)$ I need the following equality, which according to this  holds.   If $A: V \to V$ is a linear operator and $f_0$ is a alternated $m$-linear form, such that $f_0 (e_1, \ldots, e_m) = 1$ then   $$f_0 (x_1, \ldots, x_m) \mathrm tr A = \sum_{i=1}^m f_0(x_1, \ldots, Ax_i,\ldots, x_m) $$  Could someone give a proof to this? Where is .bash_profile? I want to put new aliases to my .bash_profile file, but I cannot find this file. Where is it supposed to be? Is there a way to do concurrent editing? Is there a MediaWiki-like method for supporting concurrent editing of text bodies in Drupal 7?  If no feature currently exists, what are some decent PHP diff libraries that could be wrapped up by a Drupal module that could do the job? Different and opposing voltage sources? &ndash; Schematic created using   The diagram above, the voltage sources are equal and wired parallel, they would increase the current(2x) flow to the load(R), but what about this case:          Are the two voltage sources in series now? I am new to Drupal. I have been trying to make a slide show on the front page but I am facing an issue on how to upload images of my choice in the slide show. I.e. the images that I have in my computers folder.  I have created a view and placed an image field in it, everything is set. I have also added the block to the main page content. All I can see on the front page is the slider title obviously since i have not been able to add any images.   Can any body tell me how to set my own images to the slider?  I don't want to use fixer slider.  I have used views slide show and some other js files for cycle.  Edit: Here is a screenprint of the view I defiined so far: Word for Party *Steward*? Is there a word that describes a person who is usually not too drunk and takes care of the rest of the folks at a party?  Typically, they're the ones who drag the sloshed ones back to beds, clean up the house and generally maintain a bit of sanity. why Booleans slow my computer more than expected How can I obfuscate (protect) JavaScript? I want to make a JavaScript application that's not open source, and thus I wish to learn how to can obfuscate my JS code? Is this possible? I'm getting the following error when trying to update a taxonomy field value via REST api:  {   "error": {     "code": "-1, Microsoft.SharePoint.Client.ClientServiceException",     "message": {       "lang": "en-US",       "value": "Cannot deserialize data for type Microsoft.SharePoint.Taxonomy.TaxonomyFieldValueCollection."     }   } }   The request:  https://server/_api/web/GetFileByServerRelativeUrl('/Shared Documents/file.txt')/ListItemAllFields  {   "__metadata": {     "type": "SP.Data.Shared_x0020_DocumentsItem"   },   "Title": "some title",   "Project": {     "results": [       {         "Label": "Term1",         "TermGuid": "897bdf7f-08d6-44b9-a71a-ddc4cf131664",         "WssId": 5       }     ]   } } Problem with package lineno I'm using package lineno for proofreading of my documents.  So I usually have something like the following MWE:  \documentclass{article}  \usepackage{blindtext}  \usepackage{ifthen}           % to use if then else \newboolean{korrektur}        % for proofreading: true/false  \setboolean{korrektur}{true} % choose one, comment the other %\setboolean{korrektur}{false}  % What we need for proofreading \ifthenelse{\boolean{korrektur}}% proofreading wanted? {% YES:   \usepackage{showframe}          % shows type area   \usepackage{lineno}             % numbers lines   \pagewiselinenumbers            % lines per page }% {% NO: % error if lineno was used before:   \typeout{***** Please delete .aux files if you get errors! *****} % What to add here so that I get no errors?  %&lt;================= }  \begin{document} \Blindtext \end{document}   Run it two times. Everything should be well, blindtext is numbered.  Now please move the % sign from line 8 (false) to line 7 (true).    Because we had had the run before there is an .aux-file, including lines with the macro \@LN.  If you compile now you will get the following error message (and some more):   ***** Please delete .aux files if you get errors! ***** (C:\Users\...\LaTeX\_TeX.SX\lineno\test-lineno.aux ! Undefined control sequence. l.2 \@LN         {0}{0}   Question:  Is it possible to add in line 20 (see %&lt;===========) something to get rid of the error messages? Something that resets the meaning of macro \@LN?