Skip to main content
0 votes
0 answers
108 views

Problem I recently installed pyenv on wsl(24.04) and tried to set python version on local directory, but I got this error: $ pyenv local 3.14.0 ~/.pyenv/libexec/pyenv-version-file-write: line 37: ....
nishio ken1's user avatar
1 vote
1 answer
189 views

I have been using Visual Studio Code to run Python for a few months, but recently when I select Run Python File or Run Python File in Dedicated Terminal, a new instance of PowerShell opens in the ...
Patrick Reid's user avatar
Advice
0 votes
7 replies
138 views

Ok so I am the only technical person at a non-technical company. I am writing some scripts that I will be disseminating to my team. My goal is for everyone else on the team to be able to right click ...
dahallor's user avatar
1 vote
2 answers
71 views

I would like to make a simple python script, that will create a virtual environment, then activate that environment, install pip modules from a req.txt file in the same shell that I just activated ...
gigs's user avatar
  • 123
2 votes
0 answers
346 views

I found a number of questions related to my problem but solutions did not really help me. I work on Windows 10 and PowerShell 7, and have currently installed a few Python versions, s.a. 3.11, 3.12 and ...
Celdor's user avatar
  • 2,691
0 votes
2 answers
95 views

I am working on this weekend project, to learn Django and I am stuck. Before adding the REST framework (one to last commit in the repo), everything was working just alright. Once I added the ...
Fi Li Ppo's user avatar
  • 310
0 votes
0 answers
87 views

I have the following file 'test.py' #!/usr/bin/env python3 if __name__ == '__main__': test: str = "This is a test" breakpoint() print(test) When executing this (no venv) auto-...
Jorgensen's user avatar
0 votes
2 answers
45 views

I am trying to use a .bat file that would automatically open the console, and change into a certain conda venv in WSL / Ubuntu. The following .bat file does open Ubuntu / wsl, but it stays in (base) ...
tmighty's user avatar
  • 11.6k
-1 votes
1 answer
46 views

I'm using Vscode on MacOS and i installed python through pyenv and the only thing i can't manage to make work is terminal in vscode to automatically source . i already tried re-installing vscode and ...
user21726764's user avatar
1 vote
0 answers
85 views

I initially worked on this project on Windows using a venv with the following dependencies: langchain langchain-community langchain-google-genai python-dotenv google-genai pypdf pinecone langchain-...
GOURAB MONDAL's user avatar
1 vote
1 answer
55 views

Rather new to pipenv, though not to all of virtual environments under python, my app is trying to create an INI file in my Windows user home directory, but running my code from within VSCode or from ...
user999713's user avatar
-1 votes
2 answers
355 views

I have this app in PyCharm (see screenshot). It won't run because of: ImportError: cannot import name 'GoogleSearch' from 'serpapi' (/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/...
IgorGanapolsky's user avatar
1 vote
0 answers
45 views

I was trying to go over this pgymy tutorial and I ran into an issue with the package. I am running this on a Jupyter notebook on VS Code on Windows. from pgmpy.models import DiscreteBayesianNetwork ...
heretoinfinity's user avatar
4 votes
1 answer
436 views

I work in WSL Ubuntu. After instalation python3.13 dependencies from my previous projects stopped working. Venv with python 3.12 stopped activate in vscode interface. ErrorMessage: An Invalid Python ...
Лев Базинов's user avatar
0 votes
1 answer
174 views

My .inputrc file, which simply contains set editing-mode vi, means that when I use Bash and some other interpretive environments, I can use Vi editor keys. This also works when I run the system Python ...
Michael Scheper's user avatar

15 30 50 per page