X
X
xXNullXx2018-10-25 18:25:05
Python
xXNullXx, 2018-10-25 18:25:05

How to solve problem when installing 'hashlib' Python package in VS?

Good day!
Background
It was required to use PYTHON together with C#. Well, I connected the "hashlib" library to PYTHON. And when I ran the project, the following came up: (IronPython.Runtime.Exceptions.ImportException: "No module named hashlib")
5bd1df60cbc2d406575929.png
tried to install the package and ended up with this:

SyntaxError: invalid syntax

Command "python setup.py egg_info" failed with error code 1 in C:\Users\voron\AppData\Local\Temp\pip-install-s10yj16t\hashlib\
Не удалось установить "hashlib==20081119".

What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Tikhonov, 2018-10-26
@tumbler

hashlib is part of the CPython standard library with C-optimizations. I think these optimizations are not compatible with .NET at all, and all these packages that are in PyPI are designed for CPython.
Where did you dig up such a ten-year-old mammoth at all?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question