Comments (2)
I also just started having this problem. I think from upgrading pycharm to 2024.1.
Anyone know a solution for this?
EnvFile: 3.4.2
PyCharm: 2024.1
OS: Windows but running remote interpreter in WSL2
With "Enable EnvFile" in run config unticked, the error does not show up (but also env vars aren't loaded obviously...)
from envfile.
Well, a possible solution... Don't use EnvFile
at all... I've not noticed the option for "Paths to '.env' files" before, but it seems to work. Maybe it was recently introduced in Pycharm?
By the way, you might need to enable it in the "Modify options" dropdown at the top right of the window.
It's definitely not as nice as EnvFile because it immediately got tripped up on a commented out env var I had, but might be a solution for some people.
from envfile.
Related Issues (20)
- provide envfiles for terminal HOT 2
- When running tests in IntelliJ the `envfile` if not loaded HOT 2
- provide EnvFile for Kotlin run configurations HOT 1
- EnvFile fails to parse well-formed yaml files
- EnvFile 3.4.1 crash HOT 4
- Issues when using with IntelliJ 2023.1 HOT 19
- Allow Kubernetes yaml style
- Read access is allowed from inside read-action (or EDT) only HOT 3
- Does not work with custom defined files.
- New Release 3.4.2
- Causes ModuleNotFoundError error in PyCharm HOT 1
- Missing EnvFile tab in 2023.2.2 HOT 5
- $PROJECT_DIR$ is not working HOT 1
- Crash when starting a springboot application with a YAML env file
- Security vulnerability in apache commons-text v1.9 HOT 2
- When executable is ticked, please add an option to run it from the working dir configured in the run config
- command line to set envfile extension
- env file not loaded for Gradle run/debug configurations
- Support for all Macros
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from envfile.