This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2012年03月15日 15:15 by Pierre.Lecointre, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (3) | |||
|---|---|---|---|
| msg155893 - (view) | Author: Pierre Lecointre (Pierre.Lecointre) | Date: 2012年03月15日 15:15 | |
Got an error, in debian squeeze (python 2.6) and Ubuntu 11.10 (python 2.7) : plec@cezoffsrv04:~$ python Python 2.6.6 (r266:84292, Dec 27 2010, 00:02:40) [GCC 4.4.5] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from distutils2.index.simple import Crawler Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named index.simple >>> |
|||
| msg155899 - (view) | Author: Alexis Metaireau (alexis) * (Python triager) | Date: 2012年03月15日 16:08 | |
The APIs of distutils2 have changed. the "index" module is now named "pypi". So, doing something like:: >>> from distutils2.pypi.simple import Crawler should work. |
|||
| msg156051 - (view) | Author: Pierre Lecointre (Pierre.Lecointre) | Date: 2012年03月16日 15:09 | |
Un grand merci pour cette réponse ! La substitution index par pypi a fonctionné. Bon week-end 2012年3月15日 Alexis Metaireau <report@bugs.python.org> > > Alexis Metaireau <alexis@notmyidea.org> added the comment: > > The APIs of distutils2 have changed. the "index" module is now named > "pypi". > > So, doing something like:: > > >>> from distutils2.pypi.simple import Crawler > > should work. > > ---------- > > _______________________________________ > Python tracker <report@bugs.python.org> > <http://bugs.python.org/issue14317> > _______________________________________ > |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:28 | admin | set | github: 58525 |
| 2012年03月16日 15:09:05 | Pierre.Lecointre | set | messages: + msg156051 |
| 2012年03月16日 14:52:18 | eric.araujo | set | stage: resolved resolution: wont fix -> out of date versions: + 3rd party, - Python 2.6 |
| 2012年03月15日 16:09:34 | alexis | set | status: open -> closed resolution: wont fix |
| 2012年03月15日 16:08:42 | alexis | set | messages: + msg155899 |
| 2012年03月15日 15:15:55 | Pierre.Lecointre | set | title: index.simple module licking in distutils2 -> index.simple module lacking in distutils2 versions: + Python 2.6 |
| 2012年03月15日 15:15:21 | Pierre.Lecointre | create | |