OpenBazaar / OpenBazaar-Server

(Deprecated) OpenBazaar 1.0 Server daemon for communication with OpenBazaar-Client
MIT License
608 stars 173 forks source link

ImportError: No module named stun && No matching distribution found for stun #337

Open rafael-ribas opened 8 years ago

rafael-ribas commented 8 years ago

Brief Description:

I have anaconda installed in my ubuntu 12.04 pc.

rafael@rafael-RV415:~/OpenBazaar-Server$ python openbazaard.py start --testnet
Traceback (most recent call last):
  File "openbazaard.py", line 7, in <module>
    import stun
ImportError: No module named stun
rafael@rafael-RV415:~/OpenBazaar-Server$ sudo pip install stun
The directory '/home/rafael/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/rafael/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting stun
  Could not find a version that satisfies the requirement stun (from versions: )
No matching distribution found for stun

Operating System (OS and version):

Ubuntu 12.04

ghost commented 8 years ago

Same. Ubuntu 16.04.

Update Found the reason why. Maybe there should be an setup script?