[fluka-discuss]: RE: pydicom in centos for flair

From: Vasilis Vlachoudis <Vasilis.Vlachoudis_at_cern.ch>
Date: Mon, 23 Apr 2018 08:06:54 +0000

Set the PYTHON variable before running the flair script
PYTHON=/path/to/python2.7/python flair

________________________________
From: 盛尹祥子 [yinxiangzi.sheng_at_sphic.org.cn]
Sent: Friday, April 20, 2018 22:27
To: Vasilis Vlachoudis; fluka-discuss_at_fluka.org
Subject: 答复: pydicom in centos for flair


Dear Vasilis,



Thanks for your reply.



This is mostly the reason.

However, Our server is Centos6, I cannot uninstall python2.6.

Meanwhile, pip have to be install at environment of python2.7. That's why, I have installed the python2.7.

and I have linked the "python" commond to "python2.7".. still does not work.



I will try to install pydicom using python2.6, still have problems for now.



Another question, Is there any possiblility that I can change the setup of flair, so that it can recognize the new python version instead of look into the default python library?
Best regards,

盛尹祥子
Y. Sheng(Joey)
-------------------------------------------
上海市质子重离子医院
Shanghai Proton and Heavy Ion Center(SPHIC)
email: yinxiangzi.sheng_at_sphic.org.cn
ceil: 001-86-18049876663
mail: 4365 Kangxin Road, Pudong, Shanghai 201321

________________________________
发件人: Vasilis Vlachoudis <Vasilis.Vlachoudis_at_cern.ch>
发送时间: 2018年4月20日 20:20
收件人: 盛尹祥子; fluka-discuss_at_fluka.org
主题: RE: pydicom in centos for flair

Hi,

most probably you have 2 (or more) python versions and you install
the pydicom for one and not for what flair is using

Cheers
Vasilis
________________________________
From: owner-fluka-discuss_at_mi.infn.it [owner-fluka-discuss_at_mi.infn.it] on behalf of 盛尹祥子 [yinxiangzi.sheng_at_sphic.org.cn]
Sent: Friday, April 20, 2018 09:18
To: fluka-discuss_at_fluka.org
Subject: [fluka-discuss]: pydicom in centos for flair

Dear experts,

My flair cannot find pydicom.
When I click “Dicom” in flair, it tells me “pydicom library is not installed”
However I have installed pydicom. And set add the lib LD_LIBRARY_PATH.

Below are some information from my linux system


System: Centos 6
Flair version: 2.3-0
Python: 2.7.14
Pydicom:0.9.9
I have also tried "Pydicom1.0.2" and "dicom 0.9.9", both does not work.

Path for flair: /usr/local/flair
Path for python: /share/apps/python-install/

>pip list
Package Version
---------- -------
numpy 1.14.2
pip 10.0.0
pydicom 0.9.9
setuptools 39.0.1
wheel 0.31.0


Best regards,

盛尹祥子
Y. Sheng(Joey)
-------------------------------------------
上海市质子重离子医院
Shanghai Proton and Heavy Ion Center(SPHIC)
email: yinxiangzi.sheng_at_sphic.org.cn
ceil: 001-86-18049876663
mail: 4365 Kangxin Road, Pudong, Shanghai 201321

__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Mon Apr 23 2018 - 11:30:59 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 23 2018 - 11:31:03 CEST