-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run examples on windows 10 with anaconda/pip install #2423
Comments
How about trying the following sites regarding import The situation is similar to yours. |
There are a lot of suggestions on how to solve this, but this was actually very easy to solve when using Anaconda. The problem is not the A lot of these sites and answers on stack overflow suggests downloading it manually, but according to this thread ContinuumIO/anaconda-issues#1394 the most recent anaconda packages should all include the missing
Should the installation guide be changed to a more recent version of the anaconda3 package that includes the missing dll? https://docs.microsoft.com/en-us/cognitive-toolkit/setup-windows-python?tabs=cntkpy22 |
If you want to install of conda install -c menpo dlib=18.18 I found a description regarding this command, but it's written in Japanese(my native language), and I've not found similar description in English as far as I checked.. |
It looks like installing CNTK breaks Anaconda in some way. Here is steps to reproduce it:
|
I have exactly the same issue. CNTK breaks the latest Anaconda 5.0.0 on windows 10 x64. |
Here are my findings: |
I have the same issue on Windows 7: CNTK breaks the Anaconda 5.0.0 release on Windows 7 x64 SP1 with the same error when importing matplotlib. Had anyone figured out the solution yet? |
The workaround, that works for me as far as I was able to test is to move zlib.dll from Library\Bin to anaconda root, overriding the one that installed by CNTK. The CNTK looks pretty fine with the newer version of zlib. |
Thanks, but as you said, there are still some problems with matplotlib modules, so it looks like a partial solution. |
That was actually an issue in anaconda packages, right now it works fine. |
Just ran into the same problem today (10/26/2017) with CNTK 2.2, Anaconda3 5.0.1 (64-bit), and having problems withn matplotlib. Still not fixed. |
Update: just uninstalled latest Anaconda3 (windows, 64-bit) and installed it again (without CNTK this time). Confirmed that the matplotlib problem exists just in the Anaconda install. Uninstalled & installed Anaconda 4.4.0 (windows, 64-bit). Matplotlib works fine now. Installed CNTK 2.2 on top of this, matplotlib still works fine. |
It should be. |
I also had the .cv2 error. The https://github.com/Azure/ObjectDetectionUsingCntk repo on github has an opencv whl at the following location. Pip installing that solved my cv2 problem. ObjectDetectionUsingCntk\resources\python35_64bit_requirements\opencv_python-3.2.0-cp35-cp35m-win_amd64.whl" |
HI.
|
I have tried both the script setup and pip install methods a couple of times now, but still not able to run the demos.
In the demo Examples/Image/Detection I am not able to run the command
python DetectionDemo.py
. This is the output:From what I understand, this boils down to the cv2 import, because the command
python -c "import cv2"
outputs a similar error messageRunnin
pip install opencv-python
outputs that everything is up to date.Not really sure what is missing here and how python/anaconda does imports.
I also noticed that the example I'm trying to run is using Fast R-CNN, so I followed the steps in the readme there too, but
pip install dlib
failes here. It says cmake is missing. After installing cmake withconda install cmake
I get a new error saying that the cmake configuration failed.I think the tutorial/install guide might be inadequate here, because I'm not able get anything to work by following the guide.
The text was updated successfully, but these errors were encountered: