This repository has been archived by the owner on Sep 14, 2018. It is now read-only.
Import error: no module named copyreg #1288
Comments
Can you specify a link to the pychromecast package? |
I think it was this one |
It looks like this is related to the following: https://github.com/google/protobuf/blob/master/python/google/protobuf/internal/python_message.py#L58 It's trying to import from the six package, and then if that fails it tries to use copy_reg as copyreg. I don't know why they are doing this, or if it is correct. |
If I open an ipy console and try and import copyreg, I get
Do you have the Python 3.x stdlib in your path for ipy? |
FYI, it looks like pychromecast depends on some native modules, so it won't work with IronPython. |
This is an issue with PIP that should be resolved once we get the next release out. My previous comment about native modules still applies though. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi all - hope you don't mind a numpty asking what might be a dumbass question.
I have successfully used a python project called pychromecast.
I am trying to use the same project in IronPython
I think I have installed the module OK using ipy -X:FullFrames setup.py install (where setup.py relates to chromecast) but when I startup IronPython, it reports an Import error: no module named copyreg.
This doesn't happen in python, only ironpython.
Also, what I don't get is that if I manually import copyreg from the IronPython console, it works OK, so it's obviously present and correct.
Any advice would be much appreciated.
Cheers all
Tim
The text was updated successfully, but these errors were encountered: