Comments (11)
啊我解决了。。是我服务器的问题,不过我碰到了一个新的问题。我在执行python3 setup.py install后,一直卡在这里
from seal-python.
抱歉回复晚了,先尝试使用build_ext -i
试下呢?
from seal-python.
抱歉回复晚了,先尝试使用
build_ext -i
试下呢?
emmm这个方式我也尝试了,两个命令都是卡在了同一个地方。在发出第二条问题时只使用了install,在之后又使用了python3 setup.py build_ext -i
from seal-python.
输出如下:
root@iZuf6i8o07kxfsz3l093trZ:~/pyseal# python setup.py build_ext -i
running build_ext
building 'seal' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/root/.pyenv/versions/3.7.0/include/python3.7m -I./pybind11/include -I./SEAL/native/src -I/root/.pyenv/versions/3.7.0/include/python3.7m -c src/base64.cpp -o build/temp.linux-x86_64-3.7/src/base64.o -std=c++17
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/root/.pyenv/versions/3.7.0/include/python3.7m -I./pybind11/include -I./SEAL/native/src -I/root/.pyenv/versions/3.7.0/include/python3.7m -c src/wrapper.cpp -o build/temp.linux-x86_64-3.7/src/wrapper.o -std=c++17
from seal-python.
可能和docker有关,在本地环境编译试试呢?只需要build_ext -i
生成到当前目录即可。
from seal-python.
可能和docker有关,在本地环境编译试试呢?只需要
build_ext -i
生成到当前目录即可。
emmmm您好,我并没有使用docker。。直接在本地环境中编译也是卡在了这里。。
from seal-python.
您好,我通过重新安装环境成功install了,可能是因为我之前环境太过于驳杂导致卡住的。
我现在又遇到了一个新问题,在import seal
时,发生错误ImportError: /SEAL-Python/seal.cpython-37m-x86_64-linux-gnu.so: undefined symbol: deflateInit_
请问我需要为setup.py做一些修改来使得它可以成功被import吗?
from seal-python.
根据网上的内容说需要在g++编译时加上-Xlinker -export-dynamic
选项,但是我不知如何为它加上该选项。我可以自己手动运行一次g++并加上该选项来编译生成seal.cpython-37m-x86_64-linux-gnu.so
吗?
from seal-python.
from seal-python.
好的谢谢,我刚才没有注意到这一点,十分感谢
from seal-python.
谢谢您,我的问题都已经成功解决了。我现在准备关闭这个话题了。
from seal-python.
Related Issues (20)
- 请问不支持整数编码吗? HOT 7
- "relinearize_inplace" doesn‘t work HOT 1
- Problem recreating 5_CKKS_Basics.py HOT 1
- How to calculate Polynomial Multiplication? HOT 10
- TypeError: cannot pickle 'seal.Ciphertext' object HOT 4
- encrypted1 and encrypted2 parameter mismatch HOT 7
- Not found the seal lib file, check the `SEAL/build/lib` HOT 14
- AttributeError: module 'seal' has no attribute 'EncryptionContext' HOT 2
- NameError: name 'EncryptionParameters' is not defined HOT 1
- Multiplication Depth analysis HOT 3
- LNK2001 with LNK1120: 88 unresolved externals
- seal-python docs HOT 3
- how to conda install after build HOT 1
- IntegerEncoder HOT 1
- 为什么样例文件夹中没有ckks方案的例子呢?如何快速上手此库呢? HOT 1
- 'seal.Ciphertext' object attribute 'scale' is read-only HOT 5
- Logistic Regression over Encrypted Data with BFV Scheme HOT 6
- How to get the coefficient of ciphertext? HOT 5
- I/O Error when trying to decrypt a loaded cipher text HOT 1
- Encountered problems during setup HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from seal-python.