Unable to install BSS

Forums Forums BrainSuite Statistics toolbox (BSS) Unable to install BSS

This topic contains 8 replies, has 4 voices, and was last updated by  geming 7 months ago.

  • Author
    Posts
  • #286

    zafarneyaz
    Participant

    Hi,

    I am working on a Intel ®core ™i7-3770 CPU 3.4 GHz, 8GB RAM, with window 7 professional installed.

    Brainsuite15b, Matlab complier 12b, visual basics are installed. Brain extraction, SV reg and BPD are working.

    To work on statistics part…I installed R-3.2.2-win.exe, Miniconda-latest-Windows-x86_64.exe downloaded from brainsuite website.

    Both programs are located in C:\ProgramFiles folder.

    Then I run BSS_Install.bat with Command Prompt (Admin). It installs many files and except for few messages, all soft wares are successfully installed.

    >> Setting R Environment to c:\Program Files\R\R-3.2.2\bin\x64\

    WARNING: The data being saved is truncated to 1024 characters.

    >> Error in read.dcf(file.path(pkgname, “DESCRIPTION”), c(“Package”, “Type”)) :

    cannot open the connection

    Ultimately the program is installed:

    Running setup.py install for bss … done

    Successfully installed bss-0.1.dev0

    BSS Install Successfully

    Press any key to continue . . .

    • However… there is no bss folder in brainsuite program folder. bss folder is located in miniconda folder { C:\Program Files\Miniconda\Lib\site-packages\bss }. There is no bin in bss folder. I have tried running python bss_run.py –h from this folder as well as from {C:\Program Files\Miniconda\Scripts }. But it is not working. Please help me, I am stuck at this step.

  • #288

    shjoshi
    Moderator

    Hello,

    This is the correct installation behavior. BSS will not install in the BrainSuite program folder, but will be installed in the Scripts\ directory.

    Now there is some issue in setting the PATH where you get the warning,
    “WARNING: The data being saved is truncated to 1024 characters.”

    Can you check if these paths are correctly set?

    Can you also post the output of python bss_run.py -h

    Thanks,
    Shantanu

  • #289

    zafarneyaz
    Participant

    Hi,
    There is no folder named as “directory or “bin” in the scripts folder. However, there is a file in scripts folder named “bss_run.py”. When I try to run the command “python bss_run.py –h” from this folder, the following message comes.

    C:\Users>cd C:\Program Files\Miniconda\Scripts
    C:\Program Files\Miniconda\Scripts> python bss_run.py -h
    Error: DLL load failed: The specified module could not be found.
    Something happened during imports.
    Perhaps R is not installed properly or R_HOME is not setto the correct version
    Please send the whole message to the developers.
    C:\Program Files\Miniconda\Scripts>

    I have already posted the warning messages during the installation process.
    1. Setting R Environment to c:\Program Files\R\R-3.2.2\bin\x64\
    WARNING: The data being saved is truncated to 1024 characters.
    2. Error in read.dcf(file.path(pkgname, “DESCRIPTION”), c(“Package”, “Type”)) :
    cannot open the connection

    I am a radiologist and less familiar with computer commands.

    Dr. Zafar Neyaz
    Associate Professor
    Dept. of Radiodiagnosis
    SGPGIMS, Lucknow , U.P. – India

  • #291

    shjoshi
    Moderator

    Hi Dr. Neyaz,

    Looks like the programs are installed but the paths are not set correctly. This relates to the warning of 1024 character path lengths on Windows 7, “WARNING: The data being saved is truncated to 1024 characters.”

    Incidentally we have not tested BSS on Windows 7. Just wondering if it’s possible to upgrade your OS to a later version?

    Thanks,
    Shantanu

  • #328

    iidaka
    Participant

    Hi experts,

    The same trouble is happening on my Windows7 PC.
    Warning message is the same as above.

    Will it be fixed soon?

    Regards,

    Tetsuya

  • #329

    shjoshi
    Moderator

    Dear users,

    Bss was tested on Windows 8 and 10. We are currently in the process of getting access to a Windows 7 machine to test these installation problems. Please stay tuned.

    Thanks,
    Shantanu

  • #355

    zafarneyaz
    Participant

    Please provide a single line command for installation of all components of bss for windows 7 /10, so that less experienced uses may install it

  • #356

    shjoshi
    Moderator

    Yes, we are trying to work on it. Some packages cannot be compiled from source on Windows very easily so we need to make the binaries available. This makes the installation process complicated.

    We are hoping that with the release of the new bash shell in Windows 10, the installation process may become easier.

    Thanks,
    Shantanu

  • #588

    geming
    Participant

    Hi,

    It seems that 1024 truncation problem also exists on win 10. Does anyone have a solution for it ?

    Thanks

    GM

You must be logged in to reply to this topic.