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

No support for python3? I am getting: invalid syntax: raise ValueError, "No frame marked with %s." % fname #2106

Closed
emanresu92 opened this issue Jun 13, 2019 · 27 comments

Comments

@emanresu92
Copy link

emanresu92 commented Jun 13, 2019

File "/home/user/hosting/cookiecutter/lib/python3.6/site-packages/environ.py", line 114
raise ValueError, "No frame marked with %s." % fname
^
SyntaxError: invalid syntax

Edited by maintainer:

A possible solution is:
#2106 (comment)

@travelspun
Copy link

Anyone solve this? Same error for me

@luzfcb
Copy link
Collaborator

luzfcb commented Jul 2, 2019

@travelspun if your error is the same, please, open a new issue in the django-environ ( https://github.com/joke2k/django-environ )describe how to reproduce the error.

@tiborsimon
Copy link

For me the issue was that I installed the environ package instead of the django-environ package.

@hobson
Copy link

hobson commented Nov 20, 2019

Same here @tiborsimon

@parnus01
Copy link

any update for this error ?

@evilbullet
Copy link

same, year 2020

@evilbullet
Copy link

For me the issue was that I installed the environ package instead of the django-environ package.

solved

@webdagger
Copy link

django-environ

This worked for me.

@brianetaveras
Copy link

For me the issue was that I installed the environ package instead of the django-environ package.

Thank you! This solved my issue :)

@kayuzee
Copy link

kayuzee commented Dec 11, 2020

For me the issue was that I installed the environ package instead of the django-environ package.

This worked for me as well! I was looking at my django project as a template but actually needed

from dotenv import load_dotenv
load_dotenv()

Instead of

import environ

@Nandita2704
Copy link

For me the issue was that I installed the environ package instead of the django-environ package.

thanks, I also solve my error through this term

@IMperiumX
Copy link

For me the issue was that I installed the environ package instead of the django-environ package.

Thaks, solved for me...

@Gibsondignity
Copy link

For me the issue was that I installed the environ package instead of the django-environ package.

solved

Solved mine too. Thank you!

@kilicheva
Copy link

same, year 2021

@foarsitter
Copy link
Collaborator

@kilicheva the same what? Same error? Same solution? Commenting with no information on a closed issue is not gone help anyone.

@mathpadam
Copy link

Same error when use it with Python 3.8.5

@foarsitter
Copy link
Collaborator

@mathpadam and the solution posted in #2106 (comment) did not resolve it?

@mathpadam
Copy link

@mathpadam and the solution posted in #2106 (comment) did not resolve it?

yes it did

@foarsitter
Copy link
Collaborator

Sweet, thanks for the feedback!

Any clue on how environ got there? Do you use a virtualenv?

@hobson
Copy link

hobson commented Nov 14, 2021

@foarsitter people just install your dependencies one at a time in their environment. So if they typo any of the dependencies in their requirements.txt or environment.yml or whatever they have this problem. It's a know issue with any package manager like pip or conda (or even npm). Hackers use it to get ususpecting users to install malicious packages. Only thing you can do about it is have a very unique and easy to spell/remember package name and contact any other package maintainers that squat near your name.

@CRodz13
Copy link

CRodz13 commented Feb 25, 2022

For me the issue was that I installed the environ package instead of the django-environ package.

Worked for me perfectly. Sometimes youre just in a groove throwing elbows with pip installs and you forget

@amorstoic
Copy link

For me the issue was that I installed the environ package instead of the django-environ package.

@ramona-2020
Copy link

Same here 2022

@Rafilek
Copy link

Rafilek commented Dec 19, 2022

Solved: issue was that I installed the environ package instead of the django-environ package. (Ubuntu 20.04)

@GoudekettingRM
Copy link

Installed django-environ instead of environ and still get the same error...

@rubenba2
Copy link

@GoudekettingRM I get the same. Did you find why?

@ss-sebastian
Copy link

Installed django-environ instead of environ and still get the same error...

same here

@cookiecutter cookiecutter locked as resolved and limited conversation to collaborators Oct 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests