#๐Ÿ”’ cv2 on jupyter running locally (on pycharm)

15 messages ยท Page 1 of 1 (latest)

ionic finch
#

I am trying to use the cv2 package on my jupyter notebook that is running in a unique conda environment (I named it MNIST). I have tried the following installs but they don't work:

pip install numpy opencv-python
conda install -c conda-forge opencv
conda install -c menpo opencv

fierce coveBOT
#

@ionic finch

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

forest sky
#

triple check if you have the correct environment active

#

also restart your kernel

ionic finch
#

doing that rn

#

that didn't work

#

If i am doing it correctly, is this how to change environments?

forest sky
#

It may vary based on your IDE, I would try finding a guide in its website then delete and re-recreate the conda environment

ionic finch
#

it also doesn't work on the web server

ionic finch
forest sky
#

show which environment/interpreter you have selected

ionic finch
#

ipykernel

fierce coveBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.