如何在Windows 10的Anaconda中完成SimpleCV的后续配置
Hey there! I’ve walked through setting up SimpleCV in an Anaconda environment on Windows 10 multiple times, so let’s break this down into straightforward, actionable steps to get you up and running.
First, fire up the Anaconda Prompt (search for it in your Windows start menu). Once it’s open, activate the environment where you want to set up SimpleCV by running:
conda activate your_environment_name
Replace your_environment_name with the actual name of your Anaconda environment—if you’re using the base environment, you can skip this step, but using a dedicated environment is always better to avoid dependency conflicts.
SimpleCV relies on a few key libraries that we’ll install first via Conda (since it handles Windows dependencies more smoothly than pip for these):
- Install OpenCV (a critical dependency, version 3.x works best with stable SimpleCV):
conda install -c conda-forge opencv=3.4.18 - Install Pillow (for image handling):
conda install pillow - Install NumPy and SciPy (these are often pre-installed, but let’s confirm):
conda install numpy scipy
Since SimpleCV isn’t available in the default Conda repositories, we’ll use pip to install it directly into your activated environment:
pip install simplecv==1.3
Sticking to version 1.3 is recommended here—it’s the most stable release and plays nicely with the dependencies we just installed.
To make sure everything works, let’s run a quick test:
- In the same activated Anaconda Prompt, launch the Python interpreter:
python - Try importing SimpleCV and running a basic camera test (if you have a webcam):
from SimpleCV import Camera, Display # Initialize camera and display cam = Camera() disp = Display() # Show live feed until you close the window while disp.isNotDone(): img = cam.getImage() img.save(disp)
If a window pops up showing your webcam feed, you’re all set! If not, check the error messages—they’ll usually point to a missing dependency or version mismatch.
- Import errors: Double-check that you activated the correct environment and installed all dependencies. If OpenCV is the issue, try reinstalling the specific version we listed above.
- Pip install fails: Upgrade pip first with
pip install --upgrade pip, then try installing SimpleCV again. - Permission issues: Run the Anaconda Prompt as an administrator (right-click > Run as administrator) if you get "permission denied" errors during installation.
内容的提问来源于stack exchange,提问作者A. Bernard

