Why am I unable to using rsync to install modules and appear to have to use pip install instead?
Robert Nicholson
robert.nicholson at gmail.com
Wed Feb 10 17:38:45 EST 2021
Ok this was due to an install of miniconda then choosing to unconditionally install an older version of cryptography.
> On Feb 10, 2021, at 3:40 PM, Robert Nicholson <robert.nicholson at gmail.com> wrote:
>
> Just reinstalling cryptography with pip install seems to have fixed my issue.
>
> Any pointers on why?
>
>> On Feb 10, 2021, at 3:21 PM, Robert Nicholson <robert.nicholson at gmail.com> wrote:
>>
>> I’m using Python 3.7.0
>>
>> so I have multiple environments all on the same architecture with the same python release using anonconda.
>>
>> What I discovered was that if I install the cryptography module in my dev / uat and then tried to synchronize to production server using rsync I ended up with errors relating to dependencies of the cryptography module.
>>
>> Specifically
>>
>> Cannot import name ‘_get_backend’
>>
>> these errors appear to have gone away if I actually use pip install cryptography==3.2.1 instead of using rsync from an existing install machine.
>>
>> why is this the case?
>>
>>
>>
>
More information about the Python-list
mailing list