Why I get conda: command not found in user though I’ve already installed anaconda3 in root?

I’m new here, I want to ask a problem I met

I have already installed Anaconda in the root system like this enter image description here

I also registered in the /etc/profile like this enter image description here

But I still get err when typing conda in my user: enter image description here

What can I do? Thank you very much!

Microsoft Visual Studio Code Terminal – Bash does not stably integrate Python, Conda , and Environments

I try to make full use of Visual Studio Code for which a functional terminal would be very helpful!

The Problem is, that everytime I reopen the VSC Terminal in Bash, the settings are deleted, which are in my case integrated Conda and Python into Bash, in Gitbash on my computer this is not the case, there it is stably integrated. For now I worked around it by manually integrating Conda and Python everytime I open a new Terminal with the following lines of code:

echo 'export PATH="$ PATH:/c/dev_ops/anaconda:/c/dev_ops/anaconda/Scripts"' >> .profile echo 'alias python="winpty python.exe"' >> .profile source .profile

Now this is an irqsome quick fix for some use cases, however not for opening or creating environments with conda, because there I would need to restart a Terminal after making changes, and then instead of having it set, it would all be deleted again.

It would be great if someone knows something about this, thank you!

Simplest way to package (eclipse project) files with conda

I am looking for a simple way to package a bunch of files (more specifically eclipse projects but no matter) so that developers may install and use them. Dev environment is windows, so I decided to see how this can be done with conda. The most straight forward way seems to simply create the meta.yaml file like so:

package:   name: proj1   version: 1.0  source:   path: .  build:   noarch: generic   script: xcopy /s files_to_package %PREFIX% 

Some of these projects get quite large (~100 MB) so the packaging takes quite long this way. How would somebody with conda experience go about simply packaging a large bunch of files?

Or would you maybe choose a different package manager for such a simple task under windows?

Many thanks, an appreciative conda noob.

Install Tensorflow 2.0 in conda enviroment

I would like to know if anyone knows how can I install tensorflow==2.0.0-alpha0 in a conda enviroment using python 3.7. Is it possible to use python 3.7 or do I have to downgrade to 3.6. Either way what is the command I need to use because the following don’t find any package

conda install tensorflow==2.0.0-alpha0 conda install tensorflow  conda install tensorflow=2.0.0-alpha0 

I am using fedora 29 and conda 4.6.8 Thanks!

Can conda environment inherit base packages?

I’m looking for a solution where environments do inherit from root, but searching for the answer there seems to be a lot of confusion. Many OP questions believe they are inheriting packages when they are not. So, the search results find these questions, but the answer has the counter solution (or just explain they are mistaken).

That said, one OP actually has a similar objective. Can packages be shared across Anaconda environments? This OP says they are running out of space on their HDD. The implication being “sharing” should use the same installed packages in the new environment. The answer (not accepted) is to use --clone.

I also found this post, Do newly created conda envs inherit all packages from the base env? which says --clone does not share packages. In this post the OP believed their new environment “shared” packages, and then concludes “shared” packages don’t exist. What is the use of non-separated anaconda environments?

I tested both the --clone flag, and the Conda Docs instructions to “build identical environments” options. Both env directories have the same identical size: 2G+. The only difference was building identical environment downloaded the packages again, and clone coppied the local file taking much less time.

I use Miniconda to deploy CLI tools to coworker workstations. Basically, the tools all use the same packages, with the occasional exception, when I need to add a particular module which I don’t want in the base install.

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 elsewhere and then placing it in my home directory and installing with conda install --offline ~/pytorch-1.0.0-py3.7_cuda9.0.176_cudnn7.4.1_1.tar.bz2 (like here). This works by itself, however, when I try to install further packages depending on it, conda decides to download it:

The following packages will be UPDATED:     pytorch:         1.0.0-py3.7_cuda9.0.176_cudnn7.4.1_1 <unknown> --> 1.0.0-py3.7_cuda9.0.176_cudnn7.4.1_1 pytorch Proceed ([y]/n)? y Downloading and Extracting Packages pytorch-1.0.0        | 498.7 MB  | ###########5              |   8%   CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/pytorch/linux-64/pytorch-1.0.0-py3.7_cuda9.0.176_cudnn7.4.1_1.tar.bz2> Elapsed: -  An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way. 

Note the ... <unknown> --> ... pytorch. Apparently, when installed with --offline, the package source is unknown and that leads to re-download. I also naively tried placing the file into ~/miniconda3/pkgs, no success.

Is there a way to increase the download timeout limit for conda, or let it recognize the pre-downloaded .tar.bz2 package file?

I understand that it has little to do with pytorch, but I just leave real names as they are.