People who code: we want your input. Take the Survey

Questions tagged [conda]

This tag should be used for questions regarding the conda package manager.

Filter by
Sorted by
Tagged with
0
votes
1answer
32 views

I can't install packages with conda, even so anaconda was correctly installed? (Fresh Ubuntu 20.04 LTS Setup)

I wanted to install pandas on my fresh installation of Ubuntu 20.04 LTS (updated it first). What i did: I followed the installation instructions on: https://docs.anaconda.com/anaconda/install/linux/ (...
1
vote
0answers
89 views

Setting up tensorflow-GPU Conda environment with CUDA 11.2 and cuDNN 8.1-8.2 (CUDA 460 Driver

I am trying to create a conda environment for tensorflow-GPU. I have a GeForce RTX 3080, running Ubuntu 21.04 with the CUDA 460 driver installed (secure boot disabled). I tried to install cudatoolkit ...
0
votes
0answers
80 views

Selecting Conda Executable in WSL2 Pycharm Windows 10

I have my conda environment activated in my WSL2 bash shell, and did which python that shows: /home/me/anaconda3/envs/py36/bin/python It's a new installation so I navigate menus in Pycharm to get to ...
0
votes
1answer
25 views

conda install -c bioconda simlord | UnsatisfiedError

Following this tutorial and two installation steps, I want to run SimLoRD. On Ubuntu 18.04, using a Python 3.9 venv: conda install -c bioconda simlord UnsatisfiedError Terminal output I have tried ...
0
votes
0answers
29 views

How to use Python “import gi” with conda

I saw the link [here][1] and I see how to use gi if I don't use conda. But I would like to use gi with a virtual environment. I tried conda install python-gi and pip install python-gi ``` but it say ...
0
votes
1answer
223 views

Making changes to Conda environment permanent instead of falling back to the default

I can set my environment to make it house_rank, and it shows on my terminal: house_rank sgilmour14-Ubuntu But after a reboot, it goes back to my standard terminal, and removes house_rank. Is there a ...
0
votes
0answers
16 views

Impossible to activate a conda environment by shell script [duplicate]

I would like to activate a conda environment by a shell script, as suggested here, I have tried: #!/bin/bash -i source $(conda info --base)/etc/profile.d/conda.sh conda activate myenv but it doesn't ...
2
votes
1answer
577 views

Anaconda Navigator gets stuck at loading applications in Ubuntu 20.04 even after updating Anaconda Navigator

I tried opening Anaconda Navigator as root and it got stuck at "loading applications" and gave this error: Traceback (most recent call last): File "/home/karuna63/anaconda3/lib/...
2
votes
1answer
2k views

sh: 1: python: not found when execute python script from php

I'm tring to execute a python script call from php with the command below: $output = shell_exec('python /var/www/html/sna/server/userManagement.py '. $user.' '. $pass .' \''.$action.'\' 2>&1'); ...
0
votes
0answers
488 views

Error installing libgfortran3 on Ubuntu 20.04

I'm working on a project where I have to compile the code from another author. He uses very old packages so I'm traying to recreate the enviroment on conda, but I cannot find any good repo for Ubuntu ...
0
votes
0answers
860 views

Which is the “correct” version of `CUDA` seen by `pytorch`

Which is the "correct" CUDA Version? nvidia-smi says I have cuda version 10.1 conda list tells me cudatoolkit version is 10.2.89 print(torch.cuda.current_device()), I get 10.0.10? (it ...
1
vote
0answers
69 views

Installing Ananconda on Ubuntu 20.04, many erros

Disclaimer: I'm very very new to Linux. Background: I'm having issues installing Anaconda on my Ubuntu 20.04. I am running this off of my USB stick on a PC. I tried downloading the community pycharm ...
1
vote
0answers
1k views

conda : command is not found

$ wget "https://repo.continuum.io/archive/Anaconda2-5.0.1-Linux-x86_64.sh" $ chmod u+x ./Anaconda2-5.0.1-Linux-x86_64.sh $ ./Anaconda2-5.0.1-Linux-x86_64.sh $ bash I ran the above commands ...
2
votes
0answers
500 views

Not able to activate conda environment through os.system command in python

I want to activate activate a conda environment before running my python file through os.system command, but unfortunately, I am not able to activate the conda environment. Following is the command I ...
0
votes
0answers
28 views

Numpy module not found, but I have installed numpy [duplicate]

I am using Windows 10 and Ubuntu 20.04. I am trying to install some software (python-fsps) using sudo SPS_HOME=$SPS_HOME python3 setup.py install. However, this gives me the error ModuleNotFoundError: ...
0
votes
2answers
2k views

Anaconda is only available to root

I downloaded the Anaconda3-2020.02-Linux-x86_64.sh from official site and used the command: sudo sh Anaconda3-2020.02-Linux-x86_64.sh To install. By default it installed inside '/root/anaconda3'. ...
1
vote
0answers
379 views

conda activate newenv returns “powerline-shell: command not found”

I installed Conda using Anaconda3-2019.10-Linux-x86_64.sh. It works fine until today. I was able to run create new virtual env and activate it and then deactivate it as expected. Basically, conda --...
0
votes
0answers
50 views

Error installing anaconda

I am new in Ubuntu bionic beaver. I have been trying to install Anaconda without success. Apparently, the installation happens, all dependencies are in anaconda folder. During the installation, when ...
0
votes
1answer
103 views

Qiime2 conda environment changing the name

I had install qiime2 within a conda environment, but I forget to change the name of the environment, I copied the name of the example in the qiime2 guide. I would like to know if it's possible to ...
1
vote
1answer
748 views

Activate conda environment in Ubuntu desktop shortcut

I have a desktop shortcut that has the following Exec line: Exec=conda activate my_env && my_command However, this shortcut doesn't launch. To try to debug this, I ran the same command in a ...
0
votes
0answers
56 views

Ubuntu conda command

I'm using Ubuntu 18.04x64 When I try to open conda navigator with conda --navigator, this error occurs: usage: conda [-h] [-V] command ... conda: error: the following arguments are required: ...
0
votes
0answers
914 views

How can Conda install CUDA for use with TensorFlow 2?

I am trying to install TensorFlow to run with my GPU in Ubuntu 16.04 LTS. I have a functioning system installation of CUDA 9 with TensorFlow 1.12 and Nvidia driver 430 and I'm trying to install more ...
2
votes
1answer
4k views

Can I use conda and pip3 interchangeably to install Python packages?

I don't understand why some Python packages are installed using conda and some by using pip3. Are these just different installers from different developers but doing the same thing? Can I use them ...
-1
votes
1answer
2k views

Changing conda environment for python commands

I wrote a Python script which uses a package named paraview. I installed this package to my environment. I want that whenever the code is run, the environment must be changed and then the code is run. ...
0
votes
1answer
2k views

Command 'python' not found after creating conda environment

I am running Ubuntu 19.10 on my laptop, I recently installed miniconda3. No problems this far, but after creating an environment with python 2.7 I get the following message everytime I open a terminal:...
0
votes
1answer
72 views

will sudo apt-get upgrade destroy my python 2 environment?

I am a newbie to Ubuntu. I have just installed conda with python3 and python2 environments. I also see people say "sudo apt-get upgrade" will upgrade all packages installed. My concern is that will it ...
0
votes
1answer
1k views

How to activate conda environments while still being able to change the environment with eval --setenvironment

I have a working environment in which I need to often change from one python conda environment to other environments provided by colleagues to run code. In order to have the conda environments active ...
1
vote
1answer
416 views

How to fix Conda “missing path to environment variable”?

I have a conda environment named tensorflow_p36. When I run import mujoco-py I get the following error: Exception: Missing path to your environment variable. Please add following line to ....
0
votes
1answer
2k views

Conda channel for python3.8

I've download python3.8 following the instructions at Developing With Python 3.8 on Ubuntu 18.04 LTS. Running python3.8 in the terminal works fine. The thing is, when I try to make a channel that ...
0
votes
1answer
3k views

Getting Import error after installing packages through conda

I just installed pandas, BeautifulSoup4, Jinja2 alongside conda distribution, but I'm not able to import any of the packages except numpy and others which come pre-installed with conda. Where am I ...
7
votes
2answers
17k views

conda activate not working in a bash file

I am trying to write a script with the name myscrpt.sh, so when I run it it automatically creates a virtual env and activate it using conda. My conda version is 4.7.1. This is what I have at the ...
0
votes
0answers
1k views

Force R to read folders outside of conda environment to install packages

I am using R in RStudio outside of a conda environment (I have miniconda3 installed to operate QIIME2). However, when I try installing R packages, I am always getting errors as R is always looking in ...
0
votes
0answers
593 views

Can't use PyTorch in PyCharm

I installed PyTorch via Anaconda and changed the Project interpreter to Conda Environment in the settings in PyCharm. Even though I can request the PyTorch version in the console with import torch ...
0
votes
2answers
3k views

Anaconda Nav wont launch 18.04

I type in anaconda-navigator but i get this "anaconda-navigator: command not found" I have conda update conda.
2
votes
0answers
4k views

What's the command to find out version of gcc is used inside a conda virtual environment?

I have a program to be compiled in which I need to have gcc. However, when a python 2.7 virtual conda enviornment being installed, it needs gcc. So I believe I don't have to install gcc package ...
0
votes
1answer
537 views

How to get miniconda2 installation file from the miniconda website using a bash script?

I'd like to write a bash script which automatically downloads the miniconda installation script in Linux-x86_64 for python2.7. Apparently I have to go to the website and manually download the ...
2
votes
0answers
248 views

Getting rid of conda environment's name when using powerline?

I have been using powerline in Vim for a while. Today I tried it also in my Ubuntu shell (Gnome terminal) and it mostly works well, with one caveat: it annoyingly displays the name of the currently ...
3
votes
1answer
9k views

Why does “(base)” appear in front of my terminal prompt II?

I have conda with two environments working, I have installed "conda_nb" and since I did it, the word "(base)" appears always in my prompt, I discovered that I can remove for a session using conda ...
2
votes
1answer
2k views

let `conda install` use a manually pre-downloaded package

I've got a PC with a slow internet connection. When trying to install an about 500MB package (conda install -c pytorch pytorch), I get a download timeout. I tried downloading this file manually ...
1
vote
1answer
6k views

Solving environment: failed

I want to install Tensorflow-GPU for Anaconda Python 3.6. How can I fix this? $ conda install -c anaconda tensorflow-gpu Solving environment: failed # >>>>>>>>>>>&...
0
votes
2answers
1k views

Conda package installs in wrong environment

I am trying to install torch using conda however, it installs it into another conda environment not the one I am interested in. How can I fix this? [jalal@goku NAACL2018]$ conda install pytorch ...
7
votes
2answers
16k views

When using conda, “source activate [env_name]” doesn't work but “conda activate [env_name]” works

I have been using conda for a few months. The following is the version that I'm using: conda -V conda 4.5.4 Previously, to activate or to deactivate the conda environment, I think I have used the ...
2
votes
4answers
16k views

Cannot open Anaconda Navigator in Ubuntu 16.04. Import error?

I cannot open Anaconda Navigator. I installed it following the instructions here: https://conda.io/docs/user-guide/install/linux.html#install-linux-silent. I get this output when I run the comand ...
8
votes
1answer
983 views

man <command> doesn't display anything after package installation with conda on Ubuntu 17.10

When I try to get the manpages with man it seems to display nothing and behaves as though I just pressed enter ~$ man ls ~$ man man I have tried solutions from these pages to no avail question1 ...
1
vote
1answer
1k views

How to install additional package in anaconda3? [duplicate]

I get this error while installing. And when I use sudo, it says command not found. $ conda update conda Solving environment: done ## Package Plan ## environment location: /home/raworm/anaconda ...
0
votes
1answer
431 views

How to solve the conda virtual env and system env conflict on import cv2?

I have installed opencv 3.4.1 correctly on my system enviroment. But after I create a conda virtual environment using opencv3.2.0, it leads some problems here: Under the conda virtual env, I have to ...
0
votes
2answers
5k views

can't find conda but only when i use sudo

I have just install anaconda (python 2.7 version) in /usr/local/bin I added /usr/local/bin/anaconda2/bin/ to the path. Now when I run conda from the command prompt it runs fine (but can't install ...
4
votes
3answers
49k views

conda command not found

I'm following a Cousera course on Machine learning. We have to use some specific tools such as Graphlab create. Yet, after installing Anaconda with bash /Download/Anaconda2-4.0.0-Linux-x86_64.sh I ...
1
vote
1answer
2k views

Can't install packages because linux images have dependecies with themselves

to fix it I deleted some of the initrd.img-4.4.0-64-generic files, leaving the ones leading up to the linux image I'm actually using, to do this I had to navigate to boot in the terminal then sudo ...
28
votes
4answers
236k views

Variable path issue : conda command not found

After installing Anaconda correctly. I wanted after finishing the installation to do the following. I forget to do it while installing anaconda: export PATH="/root/anaconda3/bin" conda --version ...