Questions tagged [virtual-environment]
544 questions
-1
votes
1 answer
attribute and traceback call error running behave
working in ubuntu instance
installed python 3.7.8
installed pip3
installed virtual environment
behave
behave web driver
allure-behave
selenium
chrome driver
when running the feature files I get errors
Exception Attribute Error: 'Options' object…

tom
- 11
-1
votes
1 answer
Can I just create files and "work as normal" under a python folder with a virtual environment on it via vscode?
I wasn't sure exactly how to ask my question in one concise sentence for the title so please give me the chance to be a bit more specific here.
So I've recently learned and have been told that working in virtual environments, or getting in the habit…

villagedumdum
- 5
- 1
-1
votes
1 answer
I still cant under stand how to use virualenv or wirtualenvwrapper in vscode
I am currently trying to learn django framework, and I am stuck because of the virtual environment setup in vscode, I know how to create a virtual environment and how to activate it in the terminal and how to install packages inside of it , but my…

Marwane Elalama
- 5
- 1
-1
votes
1 answer
Problem installing flask in a python virtual environment
I created a virtual python environment with python -m venv virtual, and then i tried to install flask with virtual\Scripts\pip install flask.
But then i got this error:
virtual\Scripts\pip : The module 'virtual' could not be loaded. For more…

Abdelkrim Laloui
- 96
- 1
- 5
-1
votes
1 answer
'django' is not recognized as an internal or external command,
I have been using django commands in my virtual environment for a longtime....
suddenly today
When i run this command in my cmd from my Anaconda Env.....
django manage.py runserver
cmd responded with this
'django' is not recognized as an internal or…

Puneeth VP
- 3
- 2
-1
votes
1 answer
How do I create a virtual environment for antiSMASH in Google Colab using Conda?
I would like to use antiSMASH (https://docs.antismash.secondarymetabolites.org/) in Google Colab. How can I set it up and run an example?

rchurt
- 1,395
- 1
- 10
- 21
-1
votes
1 answer
How do I create a virtual environment for BiG-SCAPE in Google Colab using Conda?
I would like to use BiG-SCAPE (https://git.wageningenur.nl/medema-group/BiG-SCAPE/-/wikis/home) in Google Colab. How can I set it up and run an example?

rchurt
- 1,395
- 1
- 10
- 21
-1
votes
1 answer
Pipenv creation using python
Is there a way to create virtual environment using python code. It would be great help if anyone can help. I need to automate creating virtual environment.As in using subprocesses or something similar
pip3 install pipenv
cd…

Minchu
- 1
- 1
- 6
-1
votes
1 answer
Python environment not set using Make file (Unix)
I am trying to setup the environment in my Unix terminal. When I run my yaml file with make, I am getting the error
make: *** [Makefile:105: environment-dev] Error 247
But when I remove conda-forge from yaml file, all my packages are getting…

python_interest
- 874
- 1
- 9
- 27
-1
votes
4 answers
Configuring Python Virtual Environment to use Python 3
I am learning Django. I installed two different versions of python on my laptop, 2 and 3. I configured my Laptop to use Python 3, so when I check version using the command line, I got this output.
Then, I installed the Django and Python Virtual…

Wai Yan Hein
- 13,651
- 35
- 180
- 372
-2
votes
0 answers
How do I access the openjdk installed in a virtual environment?
I have a virtual environment called neqsimvenv.
In this environment I want to run neqsim, which is dependent on running java 11 or higher. But I am not able to run neqsim in a .py script in that environment.
I have used install -c conda-forge…

Lea
- 1
-2
votes
3 answers
I imported tensorflow as tf in notebook and run it successfully, but when I used tf.__version__ it says NameError: name 'tf' is not defined. Help me
Image here The first block ran without any errors. but second says name error tf not defined even though i have imported tensorflow as tf.

tikendraw
- 451
- 3
- 12
-2
votes
2 answers
Why are torch.version.cuda and deviceQuery reporting different versions?
I have a doubt about the CUDA version installed on my system and being effectively used by my software.
I have done some research online but could not find a solution to my doubt.
The issue which helped me a bit in my understanding and is the most…

desmond13
- 2,913
- 3
- 29
- 46
-2
votes
2 answers
How to create virtual environments with different Python versions
I am very new to Python. I am trying to install a library called Mesa (https://mesa.readthedocs.io/en/master/index.html) in a virtual environment, but each time I try to clone the repository I get the error message: An error occurred while…

em.popcorn2
- 1
- 3
-2
votes
2 answers
my pyinstaller executable is not opening on other computers besides mine
The last few days, I created a site, using wix, to use as a portfolio. I left all my projects there. My sister, helping me try It, downloaded one of them, but she could not open it
The first problem was solved pretty fast. My computer uses linux,…

lvalenca
- 51
- 6