You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to learn along with the book by building cancer detection along with the book. However I get the following error.
Traceback (most recent call last):
File "/home/sandip/code/dsets.py", line 16, in
from util.disk import getCache
File "/home/sandip/code/util/disk.py", line 4, in
from diskcache.core import BytesType, MODE_BINARY, BytesIO
ImportError: cannot import name 'BytesType' from 'diskcache.core' (/home/sandip/anaconda3/envs/breast_cancer/lib/python3.7/site-packages/diskcache/core.py)
Please guide me to fix the issue.
Thanks in advance
The text was updated successfully, but these errors were encountered:
@sandip1604
install diskcache version 4.1.0., Current version of diskcache does not have BytesType included.
Use pip install "diskcache==4.1.0" instead of pip install diskcache, which installs the current version
Hello Everyone
I am trying to learn along with the book by building cancer detection along with the book. However I get the following error.
Traceback (most recent call last):
File "/home/sandip/code/dsets.py", line 16, in
from util.disk import getCache
File "/home/sandip/code/util/disk.py", line 4, in
from diskcache.core import BytesType, MODE_BINARY, BytesIO
ImportError: cannot import name 'BytesType' from 'diskcache.core' (/home/sandip/anaconda3/envs/breast_cancer/lib/python3.7/site-packages/diskcache/core.py)
Please guide me to fix the issue.
Thanks in advance
The text was updated successfully, but these errors were encountered: