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

Deprecated Code from python 2.x to 3.x #501

Open
thisisankit27 opened this issue Sep 14, 2023 · 1 comment
Open

Deprecated Code from python 2.x to 3.x #501

thisisankit27 opened this issue Sep 14, 2023 · 1 comment

Comments

@thisisankit27
Copy link

File "C:\Users\thisi\Envs\ecommerceBE\Lib\site-packages\environ.py", line 114
    raise ValueError, "No frame marked with %s." % fname
 File "C:\Users\thisi\Envs\ecommerceBE\Lib\site-packages\environ.py", line 180
    raise KeyError, name
                  ^
SyntaxError: invalid syntax
File "C:\Users\thisi\Envs\ecommerceBE\Lib\site-packages\environ.py", line 250, in <module>
    ctx = Environ(None)
          ^^^^^^^^^^^^^
  File "C:\Users\thisi\Envs\ecommerceBE\Lib\site-packages\environ.py", line 105, in __init__
    elif isinstance(frame, basestring):
                           ^^^^^^^^^^
NameError: name 'basestring' is not defined
@fdemmer
Copy link
Contributor

fdemmer commented Jan 30, 2024

You installed environ not django-environ.

/cc @sergeyklay invalid issue/other project.

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

2 participants