Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'cyclic_xor_string' from 'xor_cipher' #213

Open
DelofJ opened this issue Nov 3, 2024 · 1 comment
Open

Comments

@DelofJ
Copy link

DelofJ commented Nov 3, 2024

So, I went to manually fix the issues with wraps myself (related to #212)
But then, I get this error

Traceback (most recent call last):
  File "c:\Users\DelofJ\Code Projects\Geometry Dash API\main.py", line 1, in <module>
    import gd
  File "C:\Users\DelofJ\Code Projects\Geometry Dash API\.venv\Lib\site-packages\gd\__init__.py", line 11, in <module>
    from gd import (
  File "C:\Users\DelofJ\Code Projects\Geometry Dash API\.venv\Lib\site-packages\gd\api\__init__.py", line 1, in <module>
    from gd.api.color_channels import (
  File "C:\Users\DelofJ\Code Projects\Geometry Dash API\.venv\Lib\site-packages\gd\api\color_channels.py", line 11, in <module>
    from gd.api.hsv import HSV
  File "C:\Users\DelofJ\Code Projects\Geometry Dash API\.venv\Lib\site-packages\gd\api\hsv.py", line 6, in <module>
    from gd.binary import VERSION, Binary, BinaryReader, BinaryWriter
  File "C:\Users\DelofJ\Code Projects\Geometry Dash API\.venv\Lib\site-packages\gd\binary.py", line 13, in <module>
    from gd.encoding import compress, decompress
  File "C:\Users\DelofJ\Code Projects\Geometry Dash API\.venv\Lib\site-packages\gd\encoding.py", line 16, in <module>
    from xor_cipher import cyclic_xor, cyclic_xor_string, xor, xor_string
ImportError: cannot import name 'cyclic_xor_string' from 'xor_cipher' (C:\Users\DelofJ\Code Projects\Geometry Dash API\.venv\Lib\site-packages\xor_cipher\__init__.py)
@DelofJ
Copy link
Author

DelofJ commented Nov 3, 2024

I've found that just deleting the imports of 'cyclic_xor_string' and 'xor_cipher' seems to have have no repercussions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant