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

python3: module 'string' has no attribute 'maketrans' #6

Open
richardklingler opened this issue Jun 1, 2021 · 0 comments
Open

python3: module 'string' has no attribute 'maketrans' #6

richardklingler opened this issue Jun 1, 2021 · 0 comments

Comments

@richardklingler
Copy link

When I run the example I get:

Traceback (most recent call last):
  File "test.py", line 1, in <module>
    import ripyl
  File "/usr/local/lib/python3.7/dist-packages/ripyl-1.2.1-py3.7.egg/ripyl/__init__.py", line 24, in <module>
    import ripyl.cython
  File "/usr/local/lib/python3.7/dist-packages/ripyl-1.2.1-py3.7.egg/ripyl/cython/__init__.py", line 82, in <module>
    cy_module_names = find_cy_modules()
  File "/usr/local/lib/python3.7/dist-packages/ripyl-1.2.1-py3.7.egg/ripyl/cython/__init__.py", line 39, in find_cy_modules
    trans = string.maketrans('/\\', '..')
AttributeError: module 'string' has no attribute 'maketrans'

Apparently maketrans doesn't exist anymore...
this is with python 3.7.3 on Debian 10.9

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