[pycrypto] Build error, 2.6.1
Martin Falatic
martin at falatic.com
Sat Jul 22 08:38:27 UTC 2017
Not sure about the error you got, but generally if you are installing
things directly into Linux system library areas you'll need root / sudo
to do it. I'm surprised that didn't come up with pycrypto, but it might
be an artifact of other install attempts.
If in doubt, that sounds like good info for an issue on the github issue
tracker for pycryptodome.
On 2017-07-22 00:44, Dave Pawson wrote:
> pip uninstalled pycrypto!
>
> Re install instructions. Fedora 26, requires root for installation?
>
> running install_lib
> copying build/lib.linux-x86_64-3.6/Cryptodome/__init__.py ->
> /usr/lib64/python3.6/site-packages/Cryptodome
> error: could not delete
> '/usr/lib64/python3.6/site-packages/Cryptodome/__init__.py':
> Permission denied
>
> Not mentioned on
> https://www.pycryptodome.org/en/latest/src/installation.html
>
>> python3 -m Cryptodome.SelfTest
> ...
> Ran 22656 tests in 37.023s
>
> Tks
>
> On 22 July 2017 at 08:34, Dave Pawson <dave.pawson at gmail.com> wrote:
>> Having installed pycrypto, is the only way to remove it to find the
>> files and remove manually?
>>
>> (groan) - or will pycryptodome run alongside pycrypto please?
>>
>> Tia
>>
>> On 21 July 2017 at 20:21, Martin Falatic <martin at falatic.com> wrote:
>>> As this project hasn't seen commits on master (or perhaps any branch)
>>> in
>>> over three years, it appears to be dead.
>>>
>>> However, pycryptodome is alive and well! It's a fork off the latest
>>> pycrypto
>>> and contains many bugfixes, enhancements. Most importantly, it's an
>>> ongoing
>>> project.
>>>
>>> https://github.com/Legrandin/pycryptodome
>>>
>>> https://www.pycryptodome.org/
>>>
>>> There are two ways to install it: for a seamless experience I
>>> recommend
>>> uninstalling pycrypto (if present) and installing pycryptodome.
>>>
>>> (pycryptodomex has its uses for some, but would mean editing your
>>> imports,
>>> whereas pycryptodome is a drop-in replacement for pycrypto.)
>>>
>>> If you have issues with installing or using pycryptodome, there are
>>> resources there to guide you and an active issue tracker as well.
>>>
>>> Good luck!
>>>
>>> - Marty
>>> www.falatic.com
>>>
>>>
>>> On 2017-07-21 07:16, Dave Pawson wrote:
>>>>
>>>> Installing on a new system, Fedora 26, 64 bit.
>>>> Builds OK using setup.py for python 2.7
>>>>
>>>> Fails on python 3.x?
>>>>
>>>> Should this be built in a different way please?
>>>>
>>>> TiA
>>
>>
>>
>> --
>> Dave Pawson
>> XSLT XSL-FO FAQ.
>> Docbook FAQ.
>> http://www.dpawson.co.uk
More information about the pycrypto
mailing list