[Tutor] Python ASTM Implementation

Albert-Jan Roskam sjeik_appie at hotmail.com
Fri Nov 13 06:42:18 EST 2015



> To: mokshavivek at gmail.com
> CC: alan.gauld at btinternet.com; tutor at python.org; sjeik_appie at hotmail.com; lac at openend.se
> From: lac at openend.se
> Subject: Re: [Tutor] Python ASTM Implementation
> Date: Fri, 13 Nov 2015 12:04:27 +0100
> 
> In a message of Fri, 13 Nov 2015 10:07:49 +0530, "Br. Sayan" writes:
> 
> >Maybe it's setuptools that is too old? Or perhaps pip?
> >> sudo apt-get update
> >> sudo apt-get install --only-upgrade python-setuptools python-pip
> >>
> >> I believe it's safer to install Python packages via apt-get if you are
> >> using the Linux internal Python, rather than using pip.
> >>
> >
> >I have not installed through pip. I just gave the setup script 777
> >permission and run it with ./setup.py . How do I do it with apt-get? I
> >don't think it's in repository. Pls let me know.
> 
> It is not in the repository (at least in mine in debian unstable.)
> Here is how you find such things out:


I was not suggesting to install astm via apt-get, just setuptools (and while we' re at it, pip as well).
After you've done that, you could try to install astm the way you intended to (apparently using setup.py install, which tries to import distutils or setuptools).

 
> $ apt-cache search astm
> python-django-model-utils - Django model mixins and utilities
> python3-django-model-utils - Django model mixins and utilities
> libcache-fastmmap-perl - Perl module providing a mmap'ed cache
> libcatalyst-plugin-cache-store-fastmmap-perl - (deprecated) FastMmap cache store plugin for Catalyst::Plugin::Cache
> libcatalyst-plugin-session-store-fastmmap-perl - Catalyst session storage plugin backed by Cache::FastMMap
> libcgi-application-plugin-tt-perl - plugin that adds Template Toolkit support to CGI::Application
> r-cran-fastmatch - GNU R package for fast match replacement for repeated look-ups
> 
> So, lots of packages have the string 'astm' in their names, and none
> of them are the one we are looking for.
> 
> Did you find
> http://python-astm.readthedocs.org/en/latest/
> 
> It's not much in the way of documentation, but a bit better than 
> nothing.
> 
> There are people recommending python-astm here.
> http://www.limsforum.com/  (just search for ASTM and you will get many
> hits).  I didn't find any tutorials, though.
> 
> I did find this, https://github.com/mpasternak/cobas-scraper
> which in no way is what you were looking for, but I thought, hmm, he
> might want one of these as well.
> 
> Laura
 		 	   		  


More information about the Tutor mailing list