Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

hellow,error,why。 #1

Closed
YuzhiSu opened this issue Mar 12, 2023 · 1 comment
Closed

hellow,error,why。 #1

YuzhiSu opened this issue Mar 12, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@YuzhiSu
Copy link

YuzhiSu commented Mar 12, 2023

Traceback (most recent call last):
File "D:\googleDownload\code\A-Deep-Learning-Model-for-Accurate-and-Robust-Internet-Traffic-Classification-master\datasets\tfc2016.py", line 4, in
from papercandy import *
File "D:\DLsoftware\Anaconda\envs\traffic01\lib\site-packages\papercandy_init_.py", line 1, in
from papercandy.test import *
File "D:\DLsoftware\Anaconda\envs\traffic01\lib\site-packages\papercandy\test.py", line 4, in
from papercandy import network as _network
File "D:\DLsoftware\Anaconda\envs\traffic01\lib\site-packages\papercandy\network.py", line 10, in
from papercandy.core import network as _network, config as _config
File "D:\DLsoftware\Anaconda\envs\traffic01\lib\site-packages\papercandy\core\network.py", line 70, in
class LayerInfoList(object):
File "D:\DLsoftware\Anaconda\envs\traffic01\lib\site-packages\papercandy\core\network.py", line 80, in LayerInfoList
def getitem(self, item: Union[int, slice]) -> Union[LayerInfo, list[LayerInfo]]:
TypeError: 'type' object is not subscriptable

Process finished with exit code 1

@ATATC ATATC self-assigned this Mar 19, 2023
@ATATC ATATC added the bug Something isn't working label Mar 19, 2023
@ATATC
Copy link
Member

ATATC commented Mar 19, 2023

Hi YuzhiSu!
I've reviewed your Traceback. This is likely to be an error caused by an incompatible version of Python. Which version of Python interpreter did you use?

@ATATC ATATC closed this as not planned Won't fix, can't repro, duplicate, stale Nov 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants