Closed bernard-liew closed 9 years ago
Hi Bernard,
As of version 0.3 the source code is available here on github: https://github.com/0todd0000/spm1d You should see a link "Download ZIP" on the lower right.
However, if you already have Python installed it is easier to download and install the source code by running the following command from a Terminal or Command Prompt:
easy_install spm1d
This will automatically download and install spm1d and its dependencies (like rft1d).
Please find detailed installation instructions here: http://www.spm1d.org/install/InstallationPython.html#label-installationpython
Old versions of spm1d can remain installed, just make sure you import the correct version. To check the version type:
import spm1d
print spm1d.__version__
The version should be 0.3.x
Todd
Hello Todd,
many thanks for your help, as always... Followed the website's instructions, error below pops up (see image too)..
"%run "c:\users\14342453\appdata\local\temp\tmp0h17u7.py" File "c:\users\14342453\appdata\local\temp\tmp0h17u7.py", line 1 easy_install spm1d ^ SyntaxError: invalid syntax "
regards, Bernard
Hi Bernard,
You need to run "easy_install" in a Terminal (Mac, Linux) or in a Command Prompt (Windows), not inside Canopy. "easy_install" is standalone software.
Open a Command Prompt: http://windows.microsoft.com/en-US/windows-vista/Open-a-Command-Prompt-window
Then type:
easy_install spm1d
Todd
Hello,
I'm trying to use SMP1D to analyze some datas, however I'm having some troubles to run some examples provided.
I just followed the instalation as show in tutorial (http://www.spm1d.org/install/InstallationPython.html).
After that i just tried to execute some examples according to (http://www.spm1d.org/NewFeatures.html#label-newfeatures), however I always recive same error.
Should I have to install additional modules or do some extra configuration ?
Dear Todd,
Worked like a gem the installation.. Many thanks :)
However, Like Milly, when I tried to run some examples, I have the following error
%run "c:\users\14342453\appdata\local\temp\tmprpvcxr.py" 0.3.0 (2015/07/01)
ValueError Traceback (most recent call last)
C:\Users\14342453\AppData\Local\Temp\spm1d03\spm1d\stats\manova.py in
C:\Users\14342453\AppData\Local\Temp\spm1d03\spm1d\stats_mvbase.py in
C:\Users\14342453\AppData\Local\Temp\spm1d03\spm1d\stats_spm.py in
Do I need additional installation?
Bernard
Hi Milly,
Thanks for reporting the problem. It seems like the rft1d version is not the latest. Please try this:
First update rft1d using the following command:
easy_install rft1d
Then try running the example again.
Let me know if that doesn't solve things.
Todd
Hi Bernard, It appears that you're attempting to run the module \spm1d\stats\manova.py as a script. manova.py is not a script so can't be executed directly (it contains functions which scripts can access). Please try running the scripts in \spm1d\examples . Todd
Thanks Todd,
Same problem as Milly. What version should rft1d be? Mine says v0.1.1
Hi Bernard, The most recent version of rft1d is "0.1.2.1"
Try updating to the most recent version using:
easy_install rft1d
If that doesn't work try force-installing the most recent version using:
easy_install rft1d==0.1.2.1
Todd
I'll assume that the rft1d update solved the installation problems, but please let me know if it didn't and I'll re-open this issue. Todd
Hello,
I fixed this problem updating rft1d manually.
1) I downloaded the files provided by this page (https://github.com/0todd0000/rft1d)
2) I extracted and put in the folder:
C:\Users
This is folder is because, as suggested by the tutorial I'm using Canopy.
Hi Milly, Did that installation method work? If not, please use the easy_install method instead. Todd
Thanks Todd,
Mine is alright, although I had to use another method. Rft1d version kept coming up as the older version.
In the command window i ran pip_uninstall rf1td first. than easy_install rft1d. and the new version was imported.
Regards, Bernard
Thanks very much for the feedback, Bernard,
I did not try to force easy_install rft1d==0.1.2.1. However updating manually worked to me.
Dear Todd,
I noticed that spm1d.03 is out. I was wondering where the zip file for download and installation is?
When installing v3, must I remove the old version and replace with the new file?
Regards, Bernard