vt-vl-lab / 3d-photo-inpainting

[CVPR 2020] 3D Photography using Context-aware Layered Depth Inpainting
https://shihmengli.github.io/3D-Photo-Inpainting/
Other
6.91k stars 1.11k forks source link

ERROR: Failed building wheel for cynetworkx #98

Closed geopast closed 4 years ago

geopast commented 4 years ago

Following the install instructions exactly with the following:

Ubuntu 18.04.5 Anaconda 2020.7 Python 3.7.7

When running pip install -r requirements.txt, receive the error: ERROR: Failed building wheel for cynetworkx

Attempted to resolve with:

pip install Cython==3.0a5 pip install git+https://github.com/pattern-inc/cynetworkx.git pip install -r requirements.txt

But error persists. Any suggestions on how to resolve?

sjcobb commented 4 years ago

Were there any other errors before that point? In my case, it was issues with WSL and I was also getting error: unable to execute 'gcc': No such file or directory. I found a similar issue and followed the instructions here and ran

sudo apt update
sudo apt install g++
pip install -r requirements.txt
LemonATsu commented 4 years ago

Close as the thread is no longer active.

illtellyoulater commented 2 years ago

I also have this problem, why has this thread been closed if a solution has not been found yet?

L4nterns commented 2 years ago

I also have this problem, why has this thread been closed if a solution has not been found yet?

I have the same problem, did you solve it?

illtellyoulater commented 2 years ago

@beloved70020 I never found a solution... and probably I would have never found it along this route, because I just realized I inadvertently made changes to the .condarc file (which dictates which channel packages should be installed from) and because this altered file persisted multiple anaconda reinstalls it totally sent me off track...

So yeah, can't help you... all I can say, in case you are a new python user like me, is... next time you're lost don't forget to take a close look to that damn little file...

duanjiding commented 2 years ago

Building wheels for collected packages: cynetworkx Building wheel for cynetworkx (setup.py) ... \

sumanttyagi commented 2 years ago

@duanjiding any solution to this ?

ipritom commented 1 year ago

Solution suggested by @sjcobb worked in WSL.