Re: [fluka-discuss]: DICOM function in flair

From: Vittorio Boccone <dr.vittorio.boccone_at_ieee.org>
Date: Wed, 11 May 2016 10:08:40 +0200

Hi
Flair is compatible with version of dicom < 1.0.0

Starting from version 1.0.0 pydycom modules should be imported as import pydicom and not anymore as import dicom
Unfortunately part of the documentation of pydicom is not yet up to date.


Best
Vittorio

> On 10 May 2016, at 14:44, Wioletta Sandra Kozlowska <wioletta.kozlowska_at_cern.ch> wrote:
>
> Dear Yua,
>
> Please check again the pydicom version as Thiago mentioned in the last mail (call python first !):
> -> python
> -> import dicom
> -> print dicom.__version__
>
> If import dicom throws an error, I will recommend easy installation of pydicom using pip.
> You can install pip:
> -> yum -y install python-pip
>
> And then:
> -> pip install pydicom
>
> Cheers,
> Wioletta
> ________________________________________
> From: owner-fluka-discuss_at_mi.infn.it [owner-fluka-discuss_at_mi.infn.it] on behalf of s102013501_at_m102.nthu.edu.tw [s102013501_at_m102.nthu.edu.tw]
> Sent: 10 May 2016 13:59
> To: Viana Miranda Lima, Thiago; Luigi Salvatore Esposito
> Cc: fluka-discuss
> Subject: Re: [fluka-discuss]: DICOM function in flair
>
> Dear all:
>
> After I entered python in terminal, it showed
>
> python2.6.6 (r266:84292, Jul 23 2015, 15:22:56)
> [GCC 4.4.7 20120313 (Red Hat 4.4.7-11)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>
> Then I sequentially entered "help()" and "modules", the pydicom is shown in the list of available modules.
> The version of pydicom is 1.0.0
>
> It shown "bash: import: The command not found." and "bash: pip: The command not found." for Thiago and Luigi suggestions respectively.
>
> Is it means that thier are some error for my PATH setting?
>
> I'm unfamiliar with linux system, please forgive it.
>
> Thanks in advance. Yua
>
>
> 在 2016/5/10 的來信中,"Viana Miranda Lima, Thiago" <thiago.lima.09_at_ucl.ac.uk> 提及:
>
>> Dear Yua,
>>
>> Just a quick check, go to your terminal and enter the python (either python or python). Could you let me know which version of pydicom you have. Also this should check if you installed pydicom correctly.
>>
>> You can do:
>> import dicom
>> print dicom.__version__
>>
>> Because I think there is a difference between pydicom version < 1.0 and the 1.0 and above.
>>
>> Best wishes
>> Thiago
>> Thiago V.M. Lima PhD
>> Medizinphysiker SGSMP
>> Kantonsspital Aarau AG
>> Fachstelle Strahlenschutz
>>
>>
>> From: <owner-fluka-discuss_at_mi.infn.it<mailto:owner-fluka-discuss_at_mi.infn.it>> on behalf of Luigi Salvatore Esposito <luigi.salvatore.esposito_at_cern.ch<mailto:luigi.salvatore.esposito_at_cern.ch>>
>> Date: Tuesday, 10 May 2016 at 10:47
>> To: "s102013501_at_m102.nthu.edu.tw<mailto:s102013501_at_m102.nthu.edu.tw>" <s102013501_at_m102.nthu.edu.tw<mailto:s102013501_at_m102.nthu.edu.tw>>
>> Cc: "fluka-discuss_at_fluka.org<mailto:fluka-discuss_at_fluka.org>" <fluka-discuss_at_fluka.org<mailto:fluka-discuss_at_fluka.org>>
>> Subject: Re: [fluka-discuss]: DICOM function in flair
>>
>> Dear Yua,
>> apparently there is a problem in the installation of the pydicom package.
>> Have you check with your python installation manager if the pydicom was installed?
>> For example, type the command
>>> pip list
>>
>> Remember that also the numpy package is necessary for dicom processing (please refer to the flair installation page<http://www.fluka.org/flair/download.html>).
>> Hope this could help.
>> Regards, luigi
>>
>> On 09 May 2016, at 14:05, s102013501_at_m102.nthu.edu.tw<mailto:s102013501_at_m102.nthu.edu.tw> wrote:
>>
>> Dear all
>>
>> I want to export DICOM by flair, so I download the pydicom and installed it by the super user command "python setup.py install".
>>
>> It created some new files and folders after the command but the flair still showed "the pydicom library is not installed"....
>>
>> The FLUKA was executed by VirtualBox (CentOs). How can I using the DICOM function?
>>
>> Any help will be appreciated in advance. Yua
>>
>> __________________________________________________________________________
>> You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id�c_info
>>
>>
>>
>
> __________________________________________________________________________
> You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id�c_info
>
> b�jy��{.n�+�b�w�ka�ɚ�X�X�a��l�0�n�+��F���w�



__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Wed May 11 2016 - 12:06:16 CEST

This archive was generated by hypermail 2.3.0 : Wed May 11 2016 - 12:06:18 CEST