29 votes

conda install packagename gives deprecation warning

Update: conda 4.6.12 has been released, which removes the warning. This is a bug in conda 4.6.11 as of April, 2019. It should be fixed in an upcoming version of conda. Quoting msarahan from the issue ...
  • 391
13 votes

Error when updating conda packages: RemoveError: 'setuptools' is a dependency of conda

I think this issue in github may be related. This response mentions doing an update of conda using the force flag, which seemed to also work for users who reported that a normal update without the ...
  • 231
12 votes

RuntimeError: imageio.ffmpeg.download() has been deprecated. Use 'pip install im ageio-ffmpeg' instead.'

That's caused by the update of imageio Use this instead: sudo pip3 install imageio==2.4.1
11 votes
Accepted

qtpy.PythonQtError: No Qt bindings could be found

I faced a similar problem, however, for me, the solution was an easy one. Please go through the following points. Keep a native python installed on your machine. Run "pip install pyqt5-tools" from ...
11 votes
Accepted

How to remove (base) from Powershell?

The (base) notatation is there to tell you which virtual environment that you are on. This is very useful when you are using different environments on the same system. If you are not doing anything ...
  • 1,347
8 votes

Installing Anaconda on Git Bash and trying conda activate results in repeated CommandNotFoundErrors

When you've run conda init bash it probably created a ~/.bash_profile file. If you want the git bash terminal from VS Code to know about it, then do the following on a git bash terminal: echo '. ${...
  • 181
7 votes

Error when updating conda packages: RemoveError: 'setuptools' is a dependency of conda

I'm not sure why the above answer had negative rating. I had conda running for some time ... tonight I updated, and then resulted in every conda action resulting in: RemoveError: 'setuptools' is a ...
  • 71
7 votes
Accepted

Using Windows shortcut with 'cmd /c start' not the same as from console

The console that's launched is not an active conda environment You are using the start command incorrectly and it is not executing C:\path\to\Miniconda3\Scripts\activate. The first parameter for ...
  • 149k
7 votes

How do I create a local update server for Anaconda Python?

Create a HTTP server and copy all the content from http://repo.continuum.io/pkgs/. Point to this new server with a .condarc file. Choose a web server, and put the files referred to in the public ...
  • 171
7 votes

My Pycharm IDE cannot connect debugger

Disable "PyQt compatible" checkbox in the Settings under Build, Execution, Deployment --> Python Debugger. Then debug again the code and it should works.
  • 171
6 votes
Accepted

Activating conda environment over SSH

Edit: In the process of working this out I found that conda init creates a function called "conda" which mascarades the conda executables. See type conda. Which allows it to set environment variables ...
5 votes

How to search and install package in Anaconda (Conda)

rka you can find a website to each user package combination. You asked for pandoc from zhenxieit's repository. You can find it on [https://anaconda.org/zhenxieit/pandoc] how to install it. This ...
  • 126
5 votes

'conda activate" is not working in git-bash shelll But it looks well on cmd.exe

I had the ...No command 'conda conda' error so I ran conda update conda to move from 4.6.11 to 4.6.14. Now I can activate my virt_env and I don't get that message.
5 votes

Cmd crashes with exit code 1 after uninstalling anaconda

With the help of @Mofi in a StackOverflow question, executing the following in PowerShell fixes it: Reg Delete "HKCU\Software\Microsoft\Command Processor" /v AutoRun /f
4 votes

conda install packagename gives deprecation warning

Nothing to worry about. It's just saying that the compat module will be removed in future since it is not relevant anymore.
4 votes
Accepted

Conda breaks when activating environment -- CommandNotFoundError: No command 'conda conda'

This issue has been addressed in conda 4.6.14 as per discussions in the linked Anaconda Github issue #8506 Short version # while conda command is busted use $CONDA_EXE instead $CONDA_EXE update ...
  • 156
4 votes

How can I open jupyter notebooks with Anaconda?

Jupyter is designed to open in your browser as localhost. Here is the URL you should copy (it doesn't change): http://localhost:8888/tree I recommend to use Spyder rather than Jupyter if you are ...
  • 141
4 votes
Accepted

Run Anaconda's ipython on Windows 10's Terminal in one go

Procedure: Open Windows Terminal. Press Ctrl + , to open settings.json file in default text editor. Add this following JSON object to the profile array. { "guid": "{ee4fe116-1375-4c00-925c-...
  • 10.5k
4 votes
Accepted

How to install pytorch FROM SOURCE (with cuda enabled for a deprecated CUDA cc 3.5 of an old gpu) using anaconda prompt on Windows 10?

EDIT: Before you try the long guide and install everything again, you might solve the error "(DLL) initialization routine failed. Error loading caffe2_detectron_ops_gpu.dll" by downgrading ...
3 votes

ImportError: Missing required dependencies ['numpy']

I was getting crazy about the exact same thing. My script was working fine in Spyder AND in CONDA prompt BUT NOT in a standard CMD/PowerShell. I found this link in the PowerBI community that also ...
3 votes

Error when updating conda packages: RemoveError: 'setuptools' is a dependency of conda

setuptools is not installed by conda but pip, so you need to uninstall setuptools by pip pip uninstall setuptools and reinstall it though conda: conda install setuptools
3 votes
Accepted

Can I install packages from specific channels when using PIP as it's possible in Anaconda?

pip supports specifying additional repositories to look for packages; these behave similarly to channels in conda<4. Example: $ pip install somepkg --extra-index-url http://myindex.org Multiple ...
  • 598
3 votes

Activating conda environment over SSH

Instead of specifying the path to "conda", it works for me to specify the path to "activate" like this: ssh [host] "source ~/anaconda3/bin/activate [name of conda env] ; cd [...
  • 31
3 votes

Anaconda Navigator filled with random apps

These extra apps come from conda forge. Check the channels button at the top of the screen to see if conda forge is in your list of channels. If it is and you either don't need it or don't know what ...
  • 131
3 votes

How do I open an anaconda prompt

When installing to Linux or MacOS, there isn't an anaconda prompt. Everything is set up to use the terminal. Taken from the official anaconda website (emphasis is mine): You can also use conda in an ...
  • 1,347
3 votes

AttributeError: 'MappingKernelManager' object has no attribute 'connect_control'

I was hitting this same error with jupyter-client==5.2.4 and jupyter-core==4.4.0. I then upgraded to jupyter-client==5.3.1 and jupyter-core==4.5.0 and it went away. You may try upgrading these two ...
3 votes

How to show git status and conda environment in command prompt?

You can just configure your PS1 to show the git branch by adding a function right above your PS1 declaration: git_branch() { git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' }...
  • 31
2 votes

Which Linux file system is my folder on?

The df command also accepts a path. That way you can go from this: fuzzy@server ~ $ df -h Filesystem Size Used Avail Use% Mounted on udev 10M 8.0K ...
  • 56.9k
2 votes

Which Linux file system is my folder on?

Your /users/ directory would be located here: Filesystem Size Used Avail Use% Mounted on […] /dev/dm-0 35G 34G 0 100% / […] Generally the way you can ...
  • 51.5k
2 votes
Accepted

How to Access two different programs from PATH, both having same name in Windows 10?

Since you specified "without altering the name of either", one possible solution is to make a link (see mklink) to the files somewhere in your path (or more preferably in the same folder as the ...

Only top scored, non community-wiki answers of a minimum length are eligible