Questions tagged [python-pdm]

5 questions
3
votes
1 answer

How do I configure pdm for a src-based Python repository?

I have previously arranged a Python repository without a src folder, and got it running with: pdm install --dev pdm run mymodule I am failing to replicate the process in a repository with a src folder. How do I do it? pyproject.toml [project] name…
lofidevops
  • 15,528
  • 14
  • 79
  • 119
1
vote
1 answer

Python PDM package manager: How to enable virtual environment autodetection?

Python PDM Project https://pdm.fming.dev/latest/ https://github.com/pdm-project/pdm My Problem In context below I want to activate the in-project virtual environment automatically whenever the directory changes to inclued the path…
SystemTheory
  • 339
  • 3
  • 15
1
vote
0 answers

Why is windows forcing --user flag in pip?

I'm unable to use pdm in windows because windows has a pip.ini file in a protected folder (C:\Program…
Al Hoo
  • 528
  • 5
  • 11
1
vote
1 answer

Python PDM + pre-commit using pylint: imports cannot be found

Background I am wrangling some legacy code into shape. I use PDM to manage dependencies, which places all dependent packages in a __pypackages__ folder directly under the repo root level. PDM also uses the relatively new pyproject.toml package…
Mike Williamson
  • 4,915
  • 14
  • 67
  • 104
-1
votes
1 answer

pdm-installed streamlit fails to launch a server

I have installed streamlit on my Mac with pdm and launched the command streamlit hello to view the demos. The command returns the following: ❯ pdm run streamlit hello 2022-03-21 11:43:45.812 WARNING streamlit.config: Warning: the config option…
baggiponte
  • 547
  • 6
  • 13