How do I install Python OpenCV through Conda?

I'm trying to install OpenCV for Python through Anaconda, but I can't seem to figure this out. I tried conda install opencv conda install cv2 I also tried searching conda search cv No cigar. I...

In which conda environment is Jupyter executing?

I have jupyter/anaconda/python3.5. How can I know which conda environment is my jupyter notebook running on? How can I launch jupyter from a new conda environment?

'Conda list' shows folium is installed, but cannot "import folium" (anaconda x64)

I have installed folium using command 'conda install -c ioos folium=0.2.0' It looks to have installed correctly, and it showing on 'conda list' results. When I run python from cmdline, then...

anaconda/conda - install a specific package version

I want to install the 'rope' package in my current active environment using conda. Currently, the following 'rope' versions are available: (data_downloader)[email protected]

Error creating virtualenv on Mac OSX sierra

My problem has nothing to do with conda. ~$ virtualenv venv New python executable in /Users/john/venv/bin/python Installing setuptools, pip, wheel... Complete output from command...

Using Pip to install packages to Anaconda Environment

conda 4.2.13 MacOSX 10.12.1 I am trying to install packages from pip to a fresh environment (virtual) created using anaconda. In the Anaconda docs it says this is perfectly fine. It is done the...

How to change a licence key in anaconda for a software

I have installed a software I want to be using but I am not able to edit the licence key for some reason. After the install it says this: Edit...

Use Conda environment in pycharm

Conda env is activated using source activate env_name. How can I activate the environment in pycharm ?

UndefinedMetricWarning: F-score is ill-defined and being set to 0.0 in labels with no predicted samples

I'm getting this weird error: classification.py:1113: UndefinedMetricWarning: F-score is ill-defined and being set to 0.0 in labels with no predicted samples. 'precision', 'predicted', average,...

How do I use a new ipython kernel in Atom?

I created a data_science kernel for ipython by using the following commands: python -m ipykernel install --user --name data_science --display-name "Python (Data Science)" This creates a kernel...

anaconda cannot import matplotlib.pyplot

I am getting this error when I am trying to import "matplotlib.pyplot". I cant even install matplotlib.pyplot through conda install. It shows this: import matplotlib.pyplot Traceback (most recent...

Tensorflow import error: No module named 'tensorflow'

I installed TensorFlow on my Windows Python 3.5 Anaconda environment The validation was successful (with a warning) (tensorflow) C:\>python Python 3.5.3 |Intel Corporation| (default, Apr 27...

How to resolve keras.callbacks import errors for TensorBoard?

Attempt 1 from keras.callbacks import TensorBoard from keras.models import Sequential from keras import layers from keras.optimizers import RMSprop tb_callback =...

`jupyterlab` doesn't recognize `nodejs` and `npm` installations

I'm having troubles installing the jupyterlab_bokeh extension. $ jupyter labextension install jupyterlab_bokeh Errored, use --debug for full output: ValueError: Please install nodejs and npm...

how to remove conda envs

I have created two environments(env1 and env2) in the following path: Users/user/conda/envs I want to remove env1 and have tried every combination of the following commands but it is not...

What does conda do when "solving environment"

Whenever I run conda install/remove/update <package>, it tells me it's "Solving environment" for some time before telling me the list of things it's going to download/install/update. Presumably...

conda list vs pip list differences in conda created environment

I am using conda version 4.5.11, python 3.6.6, and Windows 10. I create a virtual environment using conda conda create --name venv When I check for installed packages conda list it is (as...

Can't access jupyter notebook from docker

I am trying to run a jupyter notebook created in Docker. Firstly I run a container: docker run -p 8888:8888 jupyter/tensorflow-notebook What I get is: [I 19:44:47.140 NotebookApp] Writing...

WSL Conda Environment in PyCharm

I'm trying to set up a new dev environment on Windows 10. Let me set the stage with some key points: I am using Ubuntu through Windows Subsystem for Linux (WSL). I have Anaconda3 installed on...

PyTorch Geometric CUDA installation issues on Google Colab

I was working on a PyTorch Geometric project using Google Colab for CUDA support. Since it's library isn't present by default, I run: !pip install --upgrade torch-scatter !pip install --upgrade...

How to solve [WinError 5] Access is denied in anaconda prompt

I have recently reset my laptop and installed Anaconda in it, and I tried to open JupyterLab but it gives me error Error executing Jupyter command 'lab': [WinError 5] Access is denied but it...

Problem importing (and installing) NumPy in Jupyter Notebook

I am having major trouble right now trying to use numpy in my jupyter notebook. When I first tried to simply "import numpy", it came back with the error: "ModuleNotFoundError: No module named...

Pytorch says that CUDA is not available

I'm trying to run Pytorch on a laptop that I have. It's an older model but it does have an Nvidia graphics card. I realize it is probably not going to be sufficient for real machine learning but I...

Conda not recognizing that I have node installed?

I open the terminal. jupyter labextension install @jupyterlab/github An error occured. ValueError: Please install nodejs >=10.0.0 before continuing. nodejs may be installed using conda or directly...

PIP install rasa-x takes forever

I am intalling Rasa X in a Python 3.7 conda environment on Windows 10. pip version is 20.3.3. pip3 install rasa-x --extra-index-url https://pypi.rasa.com/simple It have been going on for 5-6 hours...

How to install conda without Anaconda or Miniconda installer?

I don’t want to use Anaconda or Miniconda as they install their own version of Python. I need just the conda package manager which I can use with my existing version of Python in existing...

How to run an export command within the docker entrypoint?

I'm trying to integrate Datadog APM tracing and log collection to a python application running on Docker. Within the Dockerfile, I need to activate the conda virtual env and export an env...

Cannot pip install mediapipe on Macos M1

Hello fellows I'm using mac air with M1 chip My env sets like (CV) san  ~/work/python  conda list # packages in environment at /Users/san/miniforge3/envs/CV: # # Name ...

How to run spark 3.2.0 on google dataproc?

Currently, google dataproc does not have spark 3.2.0 as an image. The latest available is 3.1.2. I want to use the pandas on pyspark functionality that spark has released with 3.2.0. I am doing...

Tensorflow setup in R | Error: Failed to load the native TensorFlow runtime

For the last 5 days, I am trying to make Keras/Tensorflow packages work in R. I am using RStudio for installation and have used conda, miniconda, virtualenv but it crashes each time in the end....