Replies: 1 comment 4 replies
-
Hi @jding5066 What version of pyranges have you installed? Can you try again with pyranges version 0.0.111. All the best, Seppe |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I updated my scenic+ environment to the lastest version '1.0.1.dev4+ge4bdd9f' recently and have been getting this error when trying to load scenicplus object that was created under an older version of scenic+.
Unfortunately I have deleted the old senicplus environment and am having trouble opening this file. Any ideas what I could try to solve this issue?
Thank you,
Jane
import dill scplus_obj = dill.load(open(os.path.join(work_dir, 'scenicplus/scplus_obj.pkl'), 'rb'))
`---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
Cell In[93], line 2
1 import dill
----> 2 scplus_obj = dill.load(open(os.path.join(work_dir, 'scenicplus/scplus_obj.pkl'), 'rb'))
File ~/miniconda3/envs/Scenicplus/lib/python3.8/site-packages/dill/_dill.py:270, in load(file, ignore, **kwds)
268 def load(file, ignore=None, **kwds):
269 """unpickle an object from a file"""
--> 270 return Unpickler(file, ignore=ignore, **kwds).load()
File ~/miniconda3/envs/Scenicplus/lib/python3.8/site-packages/dill/_dill.py:473, in Unpickler.load(self)
472 def load(self): #NOTE: if settings change, need to update attributes
--> 473 obj = StockUnpickler.load(self)
474 if type(obj).module == getattr(_main_module, 'name', 'main'):
475 if not self._ignore:
476 # point obj class to main
File ~/miniconda3/envs/Scenicplus/lib/python3.8/site-packages/dill/_dill.py:463, in Unpickler.find_class(self, module, name)
461 return type(None) #XXX: special case: NoneType missing
462 if module == 'dill.dill': module = 'dill._dill'
--> 463 return StockUnpickler.find_class(self, module, name)
ModuleNotFoundError: No module named 'pyranges.pyranges'
`
Beta Was this translation helpful? Give feedback.
All reactions