Oct-03-2021, 04:24 AM
I run project for Homographic Encryption Where Microsoft Seal library is needed as i run it from git and install successfully. But i am using Python3.8 I don't know why its not install how i install in Python3.8. I spent my time but it give me an error. Needed your suggestion
pip install seal
Seal pip install Error
pip install seal
Seal pip install Error
Error:Collecting seal
Using cached seal-0.4.0-rc2.tar.gz (3.9 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\dell\pycharmprojects\tree1\venv\scripts\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\dell\\AppData\\Lo
cal\\Temp\\pip-install-wqhnys2c\\seal_121310caff9b4ea58a5e5b71c2cc6db2\\setup.py'"'"'; __file__='"'"'C:\\Users\\dell\\AppData\\Local\\Temp\\pip-install-wqhnys2c\\seal_12
1310caff9b4ea58a5e5b71c2cc6db2\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools imp
ort setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\del
l\AppData\Local\Temp\pip-pip-egg-info-bgmlkshd'
cwd: C:\Users\dell\AppData\Local\Temp\pip-install-wqhnys2c\seal_121310caff9b4ea58a5e5b71c2cc6db2\
Complete output (9 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\dell\AppData\Local\Temp\pip-install-wqhnys2c\seal_121310caff9b4ea58a5e5b71c2cc6db2\setup.py", line 313, in <module>
check_python_version()
File "C:\Users\dell\AppData\Local\Temp\pip-install-wqhnys2c\seal_121310caff9b4ea58a5e5b71c2cc6db2\setup.py", line 58, in check_python_version
override = ("true" == get_arg("override_version_check"))
File "C:\Users\dell\AppData\Local\Temp\pip-install-wqhnys2c\seal_121310caff9b4ea58a5e5b71c2cc6db2\setup.py", line 47, in get_arg
for i in xrange(len(sys.argv)):
NameError: name 'xrange' is not defined
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/7e/b7/9b3e77d7a04461b3b7a281d1987dca24a516888d62614454016205ada3b3/seal-0.4.0-rc2.tar.gz#sha256=76ecda1a41d76
836531fa135d72411696853d9a541e1faa8d0168eff91701da0 (from https://pypi.org/simple/seal/). Command errored out with exit status 1: python setup.py egg_info Check the logs
for full command output.
ERROR: Could not find a version that satisfies the requirement seal (from versions: devel-20120307, 0.4.0rc2)
ERROR: No matching distribution found for seal
Code run Error Error:Traceback (most recent call last):
File "D:\Python3.8.0\Python\lib\unittest\loader.py", line 34, in testFailure
raise self._exception
ImportError: Failed to import test module: Seal
Traceback (most recent call last):
File "D:\Python3.8.0\Python\lib\unittest\loader.py", line 154, in loadTestsFromName
module = __import__(module_name)
ModuleNotFoundError: No module named 'Seal'