Dear Rolando,

Well, that actually worked. I can run scrapy in the scrapy-env.

Thank you!

Jack Krick



On Tue, Feb 28, 2017 at 8:46 AM, Rolando M Espinoza <dark...@gmail.com>
wrote:

> Could you try:
>
> 1. Create a new conda environment (i.e.: conda create -n scrapy-env
> python=3)
> 2. Activate the environment (activate scrapy-env)
> 3. Run: conda install -c conda-forge scrapy
>
> The last command should install scrapy all scrapy's dependencies via
> conda. Let me know if that solves your issue. If not, please attach all the
> command's output (from installing to running scrapy).
>
> Best
>
> Rolando
>
> On Mon, Feb 27, 2017 at 10:56 PM, Jack Krick <jkr...@gmail.com> wrote:
>
>> Rolando,
>>
>> Thanks for the quick response, but it didn't help. I uninstalled and
>> reinstalled everything per your directions and it still fails in the same
>> way.
>>
>> JK
>>
>>
>>
>>
>> On Monday, February 27, 2017 at 10:43:38 AM UTC-5, Rolando Espinoza La
>> fuente wrote:
>>>
>>> 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...@googlegroups.com.
>>>> To post to this group, send email to scrapy...@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.
>>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "scrapy-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/scrapy-users/8N6V_OGUqtI/unsubscribe.
> To unsubscribe from this group and all its topics, 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.

Reply via email to