virtual-environment

Why conda cannot create environment with python=3.4 installed in it

Why conda cannot create environment with python=3.4 installed in it Question: I have miniconda 3 installation and want to create conda environment with Python 3.4. I used the command: conda create -n myenv python=3.4 and get the error: PackagesNotFoundError: The following packages are not available from current channels: – python=3.4 I tried to change the …

Total answers: 5

What is the difference between PyCharm Virtual Environment and Anaconda Environment?

What is the difference between PyCharm Virtual Environment and Anaconda Environment? Question: When I create a new project in PyCharm, it creates a new Virtual Environment. I have read that when I execute Python scripts, they are executed using the interpreter in this environment instead of System Environment. So, if I need to install some …

Total answers: 2

How to use virtualenv with python3.6 on ubuntu 16.04?

How to use virtualenv with python3.6 on ubuntu 16.04? Question: I’m using Ubuntu 16.04, which comes with Python 2.7 and Python 3.5. I’ve installed Python 3.6 on it and symlink python3 to python3.6 through alias python3=python3.6. Then, I’ve installed virtualenv using sudo -H pip3 install virtualenv. When I checked, the virtualenv got installed in “/usr/local/lib/python3.5/dist-packages” …

Total answers: 5

How to list all python virtual environments in Linux?

How to list all python virtual environments in Linux? Question: I have more than one Python environment configured in my Debian OS. Is there a way to list all configured environments in Linux? This is different from the possible duplicate as indicated in the comment below. I mean virtual environments created using virtualenv only. Asked …

Total answers: 1

jupyter notebook running kernel in different env

jupyter notebook running kernel in different env Question: I’ve gotten myself into some kind of horrible virtualenv mess. Help?! I manage environments with conda. Until recently, I only had a python2 jupyter notebook kernel, but I decided to drag myself kicking and screaming into the 21st century and installed a python3 kernel; I forget how …

Total answers: 7

Installing Anaconda into a Virtual Environment

Installing Anaconda into a Virtual Environment Question: I’ve currently got a working installation of the Enthought Python Distribution on my machine that I don’t want to necessarily disrupt, but I’d like to look at moving over to Anaconda from Continuum. I can easily install Anaconda into the virtualenv directory I create, but I’m not sure …

Total answers: 2

How to freeze packages installed only in the virtual environment?

How to freeze packages installed only in the virtual environment? Question: How to freeze packages installed only in the virtual environment, that is, without the global ones? Asked By: saul.shanabrook || Source Answers: Install whatever you need to freeze in your virtual environment, and then pip freeze > requirements.txt After that install the packages in …

Total answers: 8