Invoke Python in a inexistence path when I init a project
See original GitHub issue- I have searched the issue tracker and believe that this is not a duplicate.
Make sure you run commands with -v
flag before pasting the output.
Steps to reproduce
When i run pdm init
, it returns [ValueError]: Not a valid python path: 'C:/Tool/Scoop/apps/Python/3.9.1/python.exe'
. But my Python is installed in C:/Tool/Scoop/apps/Python/3.9.4/python.exe now.
Actual behavior
Expected behavior
Environment Information
# Paste the output of `pdm info && pdm info --env` below:
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (2 by maintainers)
Top Results From Across the Web
Run python script from within the python project, which is a ...
Usually your current working directory is the first element in sys.path. Thus you need to cd to main/python and then run .
Read more >__main__ — Top-level code environment — Python 3.11 ...
“Top-level code” is the first user-specified Python module that starts running. It's “top-level” because it imports all other modules that the program needs....
Read more >inlife/nexrender: Data-driven render automation for After Effects
We've successfully rendered a static project file using nexrender, however, there is not much point doing that unless we are going to add...
Read more >How To Add A Python Path | Edureka
This article will put forth a very simple ye and important concept that is how to add Python to path with a practical...
Read more >TypeORM - Amazing ORM for TypeScript and JavaScript (ES7 ...
The quickest way to get started with TypeORM is to use its CLI commands to ... You can also run typeorm init on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You should remove the broken Python records in
regedit
, you can find all versions underHKEY_CURRENT_USER\SOFTWARE\Python\PythonCore
Note: Always use a uninstall program to remove installations, never delete by hand!
@frostming 1.2.8