Unable to import syft #433
Unanswered
He4444
asked this question in
Course: Foundations of Private Computation
Replies: 1 comment
-
I still have this question: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I
import syft as sy
I got:
ModuleNotFoundError Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_8080\818668487.py in
----> 1 import syft as sy
C:\Anaconda3\lib\site-packages\syft_init_.py in
12 # This import statement is strictly here to trigger registration of syft
13 # tensor types inside hook_args.py.
---> 14 import syft.frameworks.torch.hook.hook_args
15
16 import logging
C:\Anaconda3\lib\site-packages\syft\frameworks\torch\hook\hook_args.py in
2
3 from syft import dependency_check
----> 4 from syft.frameworks.torch.tensors.interpreters.native import TorchTensor
5 from syft.generic.frameworks.hook.hook_args import (
6 register_ambiguous_method,
C:\Anaconda3\lib\site-packages\syft\frameworks\torch\tensors\interpreters\native.py in
14 from syft.generic.abstract.hookable import hookable
15 from syft.generic.pointers.pointer_tensor import PointerTensor
---> 16 from syft.generic.utils import memorize
17 from syft.workers.base import BaseWorker
18
C:\Anaconda3\lib\site-packages\syft\generic\utils.py in
----> 1 from syft.generic.frameworks.attributes import allowed_commands
2 import syft as sy
3
4
5 class memorize(dict):
C:\Anaconda3\lib\site-packages\syft\generic\frameworks\attributes.py in
6 from typing import Any
7
----> 8 from syft.generic.frameworks.hook.hook import FrameworkHook
9
10 allowed_commands = set()
C:\Anaconda3\lib\site-packages\syft\generic\frameworks\hook\hook.py in
9 from syft.generic.frameworks.hook import hook_args
10 from syft.generic.pointers.pointer_tensor import PointerTensor
---> 11 from syft.generic.frameworks.hook.pointers import PointerHook
12 from syft.generic.frameworks.hook.string import StringHook
13 from syft.generic.frameworks.hook.tensors import TensorHook
C:\Anaconda3\lib\site-packages\syft\generic\frameworks\hook\pointers.py in
6 from syft.exceptions import TensorsNotCollocatedException
7 from syft.generic.frameworks.hook import hook_args
----> 8 from syft.generic.pointers.multi_pointer import MultiPointerTensor
9 from syft.generic.pointers.object_pointer import ObjectPointer
10 from syft.generic.pointers.pointer_tensor import PointerTensor
C:\Anaconda3\lib\site-packages\syft\generic\pointers\multi_pointer.py in
9 from syft.generic.abstract.tensor import AbstractTensor
10 from syft.workers.abstract import AbstractWorker
---> 11 from syft.workers.base import BaseWorker
12
13
C:\Anaconda3\lib\site-packages\syft\workers\base.py in
10 import syft as sy
11 from syft import codes
---> 12 from syft.execution.plan import Plan
13 from syft.frameworks.torch.mpc.primitives import PrimitiveStorage
14
C:\Anaconda3\lib\site-packages\syft\execution\plan.py in
19 from syft.execution.translation.default import PlanTranslatorDefault
20 from syft.execution.translation.torchscript import PlanTranslatorTorchscript
---> 21 from syft.execution.translation.threepio import PlanTranslatorTfjs
22 from syft.execution.translation import TranslationTarget
23 from syft.generic.frameworks import framework_packages
C:\Anaconda3\lib\site-packages\syft\execution\translation\threepio.py in
1 from typing import List
----> 2 import pythreepio
3 from pythreepio.threepio import Threepio
4 from pythreepio.command import Command
5 from syft.execution.computation import ComputationAction
ModuleNotFoundError: No module named 'pythreepio'
Beta Was this translation helpful? Give feedback.
All reactions