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

warning "already imported from" when trying to import #73

Open
Patrickyp opened this issue Jul 31, 2019 · 0 comments
Open

warning "already imported from" when trying to import #73

Patrickyp opened this issue Jul 31, 2019 · 0 comments

Comments

@Patrickyp
Copy link

Patrickyp commented Jul 31, 2019

When I try to import nanomsg in python 2.7 I get the following:

$ import nanomsg

/usr/local/lib/python2.7/dist-packages/nanomsg-1.0-py2.7-linux-armv7l.egg/_nanomsg_cpy.py:3: UserWarning: Module _nanomsg_cpy was already imported from /usr/local/lib/python2.7/dist-packages/nanomsg-1.0-py2.7-linux-armv7l.egg/_nanomsg_cpy.pyc, but /home/pi/gitlibs/nanomsg-python is being added to sys.path

I installed using sudo python setup.py install. Any way to fix this warning?

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

1 participant