Cheers all,
I've upgraded to 24 on Ubuntu 12.04 (x86) and am getting the following
error
mpastore@ubuntu:~$ scrapy
Traceback (most recent call last):
File "/usr/local/bin/scrapy", line 11, in <module>
sys.exit(execute())
File "/usr/local/lib/python2.7/dist-packages/scrapy/cmdline.py", line
122, in execute
cmds = _get_commands_dict(settings, inproject)
File "/usr/local/lib/python2.7/dist-packages/scrapy/cmdline.py", line 46,
in _get_commands_dict
cmds = _get_commands_from_module('scrapy.commands', inproject)
File "/usr/local/lib/python2.7/dist-packages/scrapy/cmdline.py", line 29,
in _get_commands_from_module
for cmd in _iter_command_classes(module):
File "/usr/local/lib/python2.7/dist-packages/scrapy/cmdline.py", line 20,
in _iter_command_classes
for module in walk_modules(module_name):
File "/usr/local/lib/python2.7/dist-packages/scrapy/utils/misc.py", line
68, in walk_modules
submod = import_module(fullpath)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/usr/local/lib/python2.7/dist-packages/scrapy/commands/bench.py",
line 3, in <module>
from scrapy.tests.mockserver import MockServer
File "/usr/local/lib/python2.7/dist-packages/scrapy/tests/mockserver.py",
line 6, in <module>
from twisted.internet import reactor, defer, ssl
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/ssl.py",
line 223, in <module>
from twisted.internet._sslverify import (
File
"/usr/local/lib/python2.7/dist-packages/twisted/internet/_sslverify.py",
line 184, in <module>
verifyHostname, VerificationError = _selectVerifyImplementation()
File
"/usr/local/lib/python2.7/dist-packages/twisted/internet/_sslverify.py",
line 159, in _selectVerifyImplementation
from service_identity import VerificationError
File
"/usr/local/lib/python2.7/dist-packages/service_identity/__init__.py", line
12, in <module>
from . import pyopenssl
File
"/usr/local/lib/python2.7/dist-packages/service_identity/pyopenssl.py",
line 12, in <module>
from pyasn1_modules.rfc2459 import GeneralNames
File "/usr/local/lib/python2.7/dist-packages/pyasn1_modules/rfc2459.py",
line 72, in <module>
class AttributeValue(univ.Any): pass
AttributeError: 'module' object has no attribute 'Any'
I have installed following the directions, re-installed, and tried quite a
few variants of as well. Does anyone have a clue as to the cause? I'd
like to avoid a full re-installation of Ubuntu if possible.
Thanks in advance!
--
You received this message because you are subscribed to the Google Groups
"scrapy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/d/optout.