emendir / IPFS-Toolkit-Python

28 stars 6 forks source link

Library crash after converting .py to .exe #7

Closed ipelmar closed 6 months ago

ipelmar commented 6 months ago

after converting my .py script:

import ipfs_api

to .exe using cx_freeze i got the following exception:

/dns/localhost/tcp/5001/http /ip4/127.0.0.1/tcp/5001/http Invalid MultiAddr '/ip4/127.0.0.1/tcp/5001/http' protocol ip4: Unknown Protocol Falling back to IPFS CLI because our HTTP client isn't working; Not all modules required by the http-connection could be loaded.

EDIT: The problem was unincluded dynamic imports in the multiaddr module.