Import Error when trying to use linecache_light
Opened this issue · 0 comments
LuposX commented
I installed linecache_light using pip: pip install linecache-light
.
When trying to import it like this:
from linecache_light import LinceCache
I am getting the follow error:
-> 7 from linecache_light import LinceCache
D:\Programms\Anaconda\lib\site-packages\linecache_light\__init__.py in <module>
----> 1 from .linecache_light import LineCache
D:\Programms\Anaconda\lib\site-packages\linecache_light\linecache_light.py in <module>
----> 1 import cPickle as pkl
2 from collections import Iterable
3 import os
4
5
ModuleNotFoundError: No module named 'cPickle'
When trying to google the problem I found these links:
installing-cpickle-with-python-3-5
cant-find-module-cpickle-using-python-3-5-and-anaconda
It looks like there is no module cPickel
anymore for python 3.
If this module is only for python 2.x maybe write it somewhere.