Installation Problem - missing setup.py file

1,281 views
Skip to first unread message

Skantha

unread,
Jun 22, 2015, 1:23:56 AM6/22/15
to diffpy...@googlegroups.com
I downloaded the package file (PDFgetX3-Software Package for Python 2.7) from www.nouvant.com.
According to the readme file I have installed PythonXY in my Windows 7.0 system and then tried to run the command:

python setup.py install

But then I got this error:

python: can't open file 'setup.py': [Errno 2] No such file or directory

it seems like the setup.py file is missing.

Does anybody has this problem? If so then how can we install the package in Windows 7 system?

Thanks,
Skantha
 

Pavol Juhas

unread,
Jun 22, 2015, 2:12:14 AM6/22/15
to diffpy...@googlegroups.com
Hi Skantha,

PDFgetX3 is distributed as an egg package archive, which does not
include the setup.py script. Please follow the installation
instructions from http://www.diffpy.org/doc/pdfgetx3/install.html -
in short you need to run

easy_install diffpy.pdfgetx-VERSION-py2.7.egg

instead of the standard "python setup.py install" command.

Hope this helps,

Pavol


--
Dr. Pavol Juhas
Condensed Matter Physics and Materials Science Department
Brookhaven National Laboratory
P.O. Box 5000
Upton, NY 11973-5000
Reply all
Reply to author
Forward
0 new messages