Did you install scrapy via `pip install` or `conda install`? I've seen issues with cryptograph and anaconda when you install cryptograph via `pip install cryptography` (or another package that depends on cryptography). I would suggest to uninstall cryptography and try again:
conda uninstall cryptography pip uninstall cryptography pip uninstall scrapy The install scrapy either via conda or pip. PD: This also can happen with lxml. It's beter to use conda to install those dependencies.. Cheers, Rolando On Sun, Feb 26, 2017 at 3:05 AM, Jack Krick <jkr...@gmail.com> wrote: > I have successfully installed scrapy under Anaconda, but have not been > able to run any scrapy scripts, including the tutorial in the scrapy > documentation. > > the command: > from cryptography.hazmat.bindings._openssl import ffi, lib > > returns the error: > ImportError: DLL load failed: The operating system cannot run %1 > > > Note that the path "\Anaconda3\Lib\site-packages\ > cryptography\hazmat\bindings\openssl" does not contain any files named > ffi or lib as I would have expected. > > > I have tried following several procedures found on StackOverflow and other > forums with no success. Most of these involved installing or reinstalling > some version of OpenSSL. > > -- > 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 scrapy-users+unsubscr...@googlegroups.com. > To post to this group, send email to scrapy-users@googlegroups.com. > Visit this group at https://groups.google.com/group/scrapy-users. > For more options, visit https://groups.google.com/d/optout. > -- 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 scrapy-users+unsubscr...@googlegroups.com. To post to this group, send email to scrapy-users@googlegroups.com. Visit this group at https://groups.google.com/group/scrapy-users. For more options, visit https://groups.google.com/d/optout.