[Tutor] Python ASTM Implementation

Alan Gauld alan.gauld at btinternet.com
Thu Nov 12 12:45:02 EST 2015


On 12/11/15 11:23, Br. Sayan wrote:

> As you might be knowing that clinical lab analyzers use ASTM protocol.

Nope, never heard of ASTM.

> Python has a an ASTM module <https://pypi.python.org/pypi/astm/0.5.0> , but
> I need help in its implementation. In the first place, to my embarrassment
> I could not install it on Linux Mint 15 with Python 2.7.4.

I note that the most recent release of ASTM (Mar 16 2013)
pre-dates 2.7.4 (Apr 6th 2013) by a week or two.
There is a slight chance that it is incompatible. I can't
see any notes about which Python versions it works with.

> The following error is coming :
>
> ...
>> distribution option: 'install_requires'
>>    warnings.warn(msg)
>> usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
>>     or: setup.py --help [cmd1 cmd2 ...]
>>     or: setup.py --help-commands
>>     or: setup.py cmd --help
>>
>> error: no commands supplied

What did you do to install it?
What commands did you run and from whre?

> And next, cannot figure out how to start. Desperately need your help in
> starting off the coding. I have little experience in Python, but am
> confident that I can pick it up soon if I get help.

I assume you read the home page documentation for ASTM?

http://python-astm.readthedocs.org/en/latest/

You need to provide a bit more detailed info on what you are
doing and what specific issues you want help with. In particular
we need to see the actual code you are running. Thanks for
providing the full error though, that helps a lot.


-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list