Questions tagged [virtual-environment]

544 questions
0
votes
1 answer

Activating a openMDAO virtual environment?

I am trying to activate OpenMDAO 0.13.0 virtual environment using the reference documents listed in the website. See: http://openmdao.org/releases/0.13.0/docs/ But have encountered several problems. Although I have rechecked my installation process…
0
votes
0 answers

Java Testing that Includes Multiple Virtual Machines

I have a large piece of Java software that I am looking to add tests to for a new module. The new module involves running external applications and handling the results. The external applications are not something I can modify. In order to get…
Alex N.
  • 654
  • 8
  • 21
0
votes
2 answers

What are the equivalent windows steps to setting up a virtual environment for Cookiecutters on Pylons?

I am completing the Quick Tutorial for Pyramid which is written for a Linux system and I am using Windows, so I convert each command to a Windows equivalent. In Tutorial Step: Quick Project Startup with Cookiecutters I run into the following…
Wronski
  • 1,506
  • 3
  • 18
  • 37
0
votes
1 answer

A way to set up virtual environment directly in Eclipse for Django project?

Is there a way to have Eclipse directly set up a virtual environment for Django? I can create one independently and import into Eclipse but wondering if there is a way to have Eclipse/PyDev set one up internally? Using Python 2.7 and/or 3.5, Django,…
0
votes
2 answers

Changing Virtual environments

I cant switch my virtual environments in the command prompt. i'm new to coding so bare me. i'm running it in windows and most of the documentation i've found is using linux or mac. First I create the virtual environment directory, but then when I…
Cflux
  • 1,423
  • 3
  • 19
  • 39
-1
votes
1 answer

How to change PS to (pyside2) in Powershell?

I want to change the PS > to (pyside2) PS >. I am trying to execute a command in VS Code's ternimal. But I don't know how to change PS to (pyside2) in Powershell.
-1
votes
1 answer

Requirement.txt file for Render while using conda environment

I am new with this stuff but I am trying to set up flask app using Render's web service and I have problem with requirements.txt file and deploying keeps failing. I have created virtual environment with conda and made requirement file using "conda…
-1
votes
1 answer

Creating a cheap "overlay" Python virtual environment on top of current one without re-installing packages

Problem: My program is getting a list of (requirements_123.txt, program_123.py) pairs (actually a list of script lines like pip install a==1 b==2 c==3 && program_123.py). My program needs to run each program in an isolated virtual environment based…
Ark-kun
  • 6,358
  • 2
  • 34
  • 70
-1
votes
1 answer

How can I change the default virtual environment command in Visual Studio Code?

I have setup a virtual environment in my project folder using Command Palette: Python: Create Environment: .venv So whenever I open vs code in that folder it attempts to start the environment using .venv/Scripts/Activate.ps1 file which fails as…
-1
votes
1 answer

Program not running using existing python virtual environment in intellij

Since last many months I was using intellij idea comfortably but suddenly something went wrong and all my existing projects are not running now. I have the python virtual environment in SDK section along with all the libraries. see here but then…
-1
votes
1 answer

I want to ask a question about Python virtual environment

What happens when you activate a virtual environment named Foldenv in the terminal of python vscode and then use a virtual environment named venv in the palette? i enter print ("hello world") in venv interpreter but terminal show me (Foldenv) in…
Sein kim
  • 25
  • 4
-1
votes
1 answer

Cannot create a virtual environment with a specific version of Python in ubuntu with virtualenv

I am trying to create a virtual enviroment in my ubuntu OS using virtualenv The command I am using is virtualenv -p /usr/bin/python3.8.13 py3.8.13_env The error shown is FileNotFoundError:[Errno 2]No such file or…
-1
votes
1 answer

Conda: syntax of the environment yaml file vs. venv requirements

I have a venv requirement text file that I used to create a virtual environment for pip. I want to setup now an environment in conda, based on the requirement file for pip. However, there are few lines that I don't know how to "port" from pip to…
Bill
  • 13
  • 2
-1
votes
1 answer

How to handle imports for a shared project using GitHub using Visual Studio Code

I am looking for a way to setup a GitHub repo in a way that allows someone to clone it and then immediately run the code without needing to setup a virtual environment and then pip install all of the needed packages. Perhaps I am off base and it is…
-1
votes
1 answer

can't activate virtual enviroment

I am trying to activate a virtual environment making the environment worked fine, but when I try to activate it(source virt/Scripts/activate), it throws up $ source activate bash: $'\r': command not found bash: activate: line 4: syntax error near…