Skip to content
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

PySide dependency error #33

Closed
apayne19 opened this issue Aug 23, 2018 · 3 comments
Closed

PySide dependency error #33

apayne19 opened this issue Aug 23, 2018 · 3 comments

Comments

@apayne19
Copy link

I followed your instructions to run and visualize copy_task.py in visdom, but am encountering some dependency errors. I am using Python 3.6.

First error when running python ./tasks/copy_task.py -cuda 0:

File "C:\Users\alexander.d.payne\AppData\Local\Programs\Python\Python36\lib\site-packages\pyflann\bindings\flann_ctypes.py", line 171, in <module> raise ImportError('Cannot load dynamic library. Did you compile FLANN?') ImportError: Cannot load dynamic library. Did you compile FLANN?

pip installed pyflann, and ran again:

File "C:\Users\alexander.d.payne\AppData\Local\Programs\Python\Python36\lib\site-packages\pyflann\__init__.py", line 27, in <module> from index import * ModuleNotFoundError: No module named 'index'

pip installed index, and ran again:

C:\Users\alexander.d.payne\Documents\pytorch-dnc-master>pip install index Collecting index Downloading ...files.pythonhosted.org/packages/7f/59/65da893e04f3eb49f73e6770e0999c57230669a484b14ca574154e9b75d3/index-0.2.tar.gz Collecting PySide (from index) Downloading ...files.pythonhosted.org/packages/36/ac/ca31db6f2225844d37a41b10615c3d371587677efd074db29855e7035de6/PySide-1.2.4.tar.gz (9.3MB) 100% |████████████████████████████████| 9.3MB 3.2MB/s Complete output from command python setup.py egg_info: only these python versions are supported: [(2, 6), (2, 7), (3, 2), (3, 3), (3, 4)] Command "python setup.py egg_info" failed with error code 1 in C:\Users\ALEXAN~1.PAY\AppData\Local\Temp\pip-install-aph21f59\PySide\

Even if I switched to Python 3.4 I don't see a torch option for that version at their website https://pytorch.org/, is there anyway around this? Thank you.

@ixaxaar
Copy link
Owner

ixaxaar commented Aug 23, 2018

First off, never tested this on Windows :(

The index that pyflann is trying to import is this file, not the package.

I'm not really sure if pyflann is supported on windows. FAISS is not. I don't have access to a windows PC to test this out either.

I'd really recommend trying the deep learning ecosystem on Linux / OSX instead, simply because everyone else uses and develops on these platforms. You know, network effects.

@apayne19
Copy link
Author

I appreciate the quick response. I'll try it out in Linux, and I'll also let you know if I find a solution for Windows.

@ixaxaar
Copy link
Owner

ixaxaar commented Apr 5, 2019

Closing this issue, Please open a fresh one if problem persists.

@ixaxaar ixaxaar closed this as completed Apr 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants