hadiasghari / pyasn

Python IP address to Autonomous System Number lookup module. (Supports fast local lookups, and historical lookups using archived BGP dumps.)
Other
292 stars 72 forks source link

Impossible to import after the installation in python 3.6.8 #67

Closed khaledazrak closed 3 years ago

khaledazrak commented 4 years ago

Hi, just installed it with the tar.gz file, seems everything ok.

But when trying to import it in python 3.6.8, i have this error :

import pyasn Traceback (most recent call last): File "", line 1, in File "/root/pyasn-1.6.1/pyasn/init.py", line 21, in from .pyasn_radix import Radix ModuleNotFoundError: No module named 'pyasn.pyasn_radix'

hadiasghari commented 4 years ago

Hi @khaledazrak , the advised way to install pyasn is via pip install pyasn (or pip3 depending on your system, also possibly with --user to install only for local user.) Can you explain what platform you are using, and how you have exactly installed the tar.gz file?

hadiasghari commented 3 years ago

I'm assuming this issue is resolved; if not feel free to repoen.