Skip to content

Commit 48d7018

Browse files
authored
add error fix for those working with a source package (#272)
1 parent 3f36c35 commit 48d7018

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

CONTRIBUTING.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ The project uses [Black](https://github.com/psf/black) formatting style. All `.p
9292

9393
IDE-specific Black integration guides:
9494

95-
* [VSCode: Using Black to automatically format Python](https://dev.to/adamlombard/how-to-use-the-black-python-code-formatter-in-vscode-3lo0)
95+
- [VSCode: Using Black to automatically format Python](https://dev.to/adamlombard/how-to-use-the-black-python-code-formatter-in-vscode-3lo0)
9696

9797
#### Type checking
9898

9999
Enable "pylance" type checking in VS Code.
100100

101-
Open user settings, search by "pylance", scroll down to **Python > Analysis: Type checking mode** section. Enable *basic* mode.
101+
Open user settings, search by "pylance", scroll down to **Python > Analysis: Type checking mode** section. Enable _basic_ mode.
102102

103103
#### Sort imports on Save
104104

@@ -131,6 +131,15 @@ All isort command line options can be found [here](https://pycqa.github.io/isort
131131
To install the pre-commit hooks run: `pre-commit install`.
132132
Once installed, everytime you commit, pre-commit will run the configured hooks against changed files.
133133

134+
## Possible installation error when working with a source package
135+
136+
When you run python3 hello.py, you might encounter an error like this:
137+
`FileNotFoundError: [Error 2] No such file or directory: '/var/folders/xm/cyv42vbs27gff3s39vy97rx00000gn/T/fletd-0.1.50/fletd'`
138+
139+
To resolve the issue, just delete this folder `../T/fletd-0.1.50/fletd`. The folder is the one with the FileNotFound Error encountered earlier.
140+
141+
It should work now.
142+
134143
## Flutter client
135144

136145
TBD

0 commit comments

Comments
 (0)