I hit Shift+F4 to get the Blender Python console.     PYTHON INTERACTIVE CONSOLE 3.2.3 (default, Sep 25 2013, 19:38:45)  [GCC 4.7.2]  &gt;&gt;&gt; import numpy Traceback (most recent call last):   File "&lt;blender_console&gt;", line 1, in &lt;module&gt; ImportError: No module named numpy   On the web, I found some instructions that might work, that involved copying my Python3 numpy into the Blender Folder.     Install python3.2 Install numpy for python3.2 using the python3.2 command instead of python on my system numpy was located in /usr/local/lib/python3.2/dist-packages. Copy numpy from there to blender/2.57/scripts/modules   Looking around and with help from  In my case, copied numPy to /usr/lib/blender/modules however it still cannot find.  I may have done some of these steps wrong or not represented them accurately. This is to the best of my memory.
I'm currently developing a script for Blender to handle Mesh Frequency Decomposition.  The script is nearly complete, but i need one more thing: The SciPy library to compute eigenvalues and eigenvectors.  Following the installation instructions on , I'm able to install it as well as Numpy. Numpy works fine, but I can't even import SciPy:  Traceback (most recent call last): File "/CAF_FD.py", line 4, in &lt;module&gt; ImportError: No module named 'scipy' Error: Python script fail, look in the console for now...   By the way, I'm working on Linux 64 bit and I've installed SciPy and Numpy with my package manager.  Edit: When I try to use SciPy with a terminal prompt, it works.
Apparently, .  How the heck did that happen? What's a concise way to check that environment variables are set in a Unix shell script? I've got a few Unix shell scripts where I need to check that certain environment variables are set before I start doing stuff, so I do this sort of thing:  if [ -z "$STATE" ]; then     echo "Need to set STATE"     exit 1 fi    if [ -z "$DEST" ]; then     echo "Need to set DEST"     exit 1 fi   which is a lot of typing. Is there a more elegant idiom for checking that a set of environment variables is set?  EDIT: I should mention that these variables have no meaningful default value - the script should error out if any are unset. How to access a variable from another script in Unity c# What is the difference between read() and fread()? Clarification on Clausius Inequality Consider a heat reservoir which gains heat $Q$ irreversibly at temperature $T$ from the surroundings which is at temperature $T_0$. The entropy change of reservoir is then given by $\frac{Q}{T}$, while that of the surroundings is $-\frac{Q}{T_0}$.  My question is, how is this possible? According to the Clausius inequality, the entropy change of a irreversible process is greater than that due to heat transfer. Please help, thank you! Is it possible to configure Windows 7 to use YYYY-MM-DD instead of DD/MM/YYYY as the date format? How? Where? I have a atmega8 that is working with 3.6V dc, I need to control some 12V relays with a not chip (7404), what is the simplest way to do this? I have connected a 12V dc to the relays, so when I connect the relays to the chip and then the atmega8, the current returns to the atmega through the not chip. Is this solution correct? There a better way to do this? If $x^n + a_{n-1}x^{n-1} + ... + a_0 = 0$ has a rational root, then such root is an integer Let $n &gt; 0$ and let $a_{n-1}, ..., a_0$ be integers. Prove that, if $x^n + a_{n-1}x^{n-1} + ... + a_0 = 0$ has a rational root, then such root is an integer.   I understand that posting questions without showing your work is frowned upon, but I don't know where to start with this one.. thanks in advance. Why were the people of Rhun and Harad allied with Sauron?  Did they join him out of fear, or did Sauron say he would give them something if they joined him?  I know the men of Dunland were angry at Rohan; did Rhun and Harad have something against Gondor? I'm used to creating Java Edition Minecraft maps, where NBT can be used to set many different block, item, and entity properties, like an item's CanPlaceOn/CanDestroy list, a chest's items, and more! To open my maps up to more players, I've started creating maps on Minecraft Bedrock Edition as well. But NBT is inaccessible from commands in BE, which I knew before, but didn't know how much of a problem I would have creating these complicated command chains. One of the things that I've always been doing is giving players items with custom item names, lores, enchantments, and other properties. But there is a problem. All this would have been done in NBT in Java Edition. In Bedrock, NBT is inaccessible from commands, meaning the commands I used in JE don't work. Are my dreams crushed? scrlttr2: Position of the recipient's address I have been asked by a client to implement some views for reporting purposes, the views will be accessed via PowerBI, Excel and SSRS. The designated user will only have access to the view and no underlying tables must be available to the user.  The problem I have encountered in that the SQL within the view touches 3 different schemas (All within the same database):   Pupil Provider  Security   The view is:  CREATE VIEW dbo.vTestPermissions AS SELECT a.Column1,        b.Column1,        c.Column1 FROM Pupil.Table1 a JOIN Provider.Table2 b ON a.Column1 = b.Column1 JOIN Security.Table3 c ON a.Column1 = c.Column1   The owners of the Tables/View are as follows:   Pupil.Table1 - Owner Pupil Provider.Table2 - Owner Provider Security.Table3 - Owner Security vTestPermissions - Owner dbo   When I select from the view I get an error:     The SELECT permission was denied on the object 'table3', database   'TEST', schema 'Security'   I have tried giving SELECT permission with and without the GRANT option to the schema, and the tables, but that makes the underlying tables available to the user.  Any help on this will be greatly appreciated. I have End Date column and I want to add 14 Days on it auto when created, can I do it by workflow? Can I do it via jQuery. If yes how? if no how I can do it? This is a follow up from this .  I'm using this slightly modified script to enumerate all installed MSI packages:  strComputer = "."  Set objWMIService = GetObject("winmgmts:" &amp; _     "{impersonationLevel=impersonate}!\\" &amp; _     strComputer &amp; _     "\root\cimv2")  Set colSoftware = objWMIService.ExecQuery _     ("SELECT * FROM Win32_Product")     If colSoftware.Count &gt; 0 Then     For Each objSoftware in colSoftware         WScript.Echo objSoftware.Caption &amp; vbtab &amp; _         objSoftware.Version     Next Else     WScript.Echo "Cannot retrieve software from this computer." End If   What is surprising however, is its abysmal performance. Enumerating the 34 installed MSI packages on my XP box takes between 3 and 5 minutes !  By comparison, the Linux box that sits besides is taking 7s to enumerate 1400+ RPMs... sigh  Any clues on this ? "State-of-the-art" and "technology" How to use a decimal range() step value? Is there a way to step between 0 and 1 by 0.1?   I thought I could do it like the following, but it failed:  for i in range(0, 1, 0.1):     print i   Instead, it says that the step argument cannot be zero, which I did not expect. I am new to the telecom simulations system specially multisim, which I am having a project that I want to simulate.  My project in (Analog Communications) is consisting to have FM Transmitter (Modulator) that accepts a generated signal (Sin, Cos) and get me the modulated output as a Graph.  I've found this FM transmitter circuit (3 km range):   ![two muppets][1]  and I am building that circuit on Multisim, and I failed. Because I faced many problems, first of, the variable capacitor symbol is weird here in the multisim, and the regular capacitor doesn't have variable options. Secondly, when I Use signal generator as (Sin, Cos), the output gets weird after 5 second of the simulation.  I want to show the input signal (before modulation) and the output signal (transmitted or modulated).  I guess my output result where not the as expected, as the signal (Sin with phase 90&deg;) is giving weird result of few seconds of simulating.  Below are screenshots of the simulation results within time.          Any ideas how to edit or fix the above circuit to have this output is similar to what it should be? I am using texlive 2013, and just ran the following command to update the packages.  sudo ./tlmgr update  -all   After it finished, I tried to compile tex documents that uses tikz package as the following MWE shows:   \documentclass{article}  \usepackage{tikz}  \begin{document}       aaaa  \end{document}   Then pdflatex complains; it said:   (/usr/local/texlive/2013/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty  (/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex  ! I can't find file `pgfutil-common-lists.tex'.  l.556 \input pgfutil-common-lists.tex   The problem is that, pgfutil-common-lists.tex is indeed in the directory:   /usr/local/texlive/2013/texmf-dist/tex/generic/pgf/utilities/   Why is that? pdflatex should be able to find it, right? I even download the  again, and replace the pgf directory in   /usr/local/texlive/2013/texmf-dist/tex/generic/   Nothing changed at all........... Any idea? Thank you for your critics.  %=====================================================================  Then followed the comments, I type the following command in the terminal:    sudo mktexlsr gives me command not found;  mktexlsr gives me:  mktexlsr: /usr/local/texlive/2013/../texmf-local: directory not writable.     Skipping...  mktexlsr: /usr/local/texlive/2013/texmf-config: directory not writable. Skipping...  mktexlsr: /usr/local/texlive/2013/texmf-dist: directory not writable. Skipping...  mktexlsr: /usr/local/texlive/2013/texmf-var: directory not writable. Skipping... mktexlsr: Done; Forkpsewhich pgfutil-common-lists.tex, nothing pops up. SQL Server 2012 and 2016 Standard:  If I put if-else logic in a stored procedure to execute one of two branches of code, depending on the value of a parameter, does the engine cache the latest version?  And if on the following execution, the value of the parameter changes, will it re-compile and re-cache the stored procedure, since a different branch of the code must be executed? (This query is quite expensive to compile.) How can I vertically center a "div" element for all browsers using CSS?