pylink icon indicating copy to clipboard operation
pylink copied to clipboard

module name conflict

Open mtrzas opened this issue 4 years ago • 2 comments

I have a conflict when pylink(https://pypi.org/project/PyLink/) and pylink-square are installed on my device. Both modules are imported with :

import pylink

When pylink-square is installed before pylink then I get this error:

AttributeError. module 'pylink' has no attribute 'JLink'

Is it possible to rename the module?

mtrzas avatar Jun 14 '21 15:06 mtrzas

This is definitely an issue. Unfortunately, I think renaming the module would have wide reaching consequences for downstream consumers. If you're not already using it, would maybe a virtual environment help with your development flow?

hkpeprah avatar Jun 16 '21 17:06 hkpeprah

Thank you for your answer :)

I already using a virtual environment. For me it is not a big problem because I'm not using pylink(https://pypi.org/project/PyLink/) and I'm only using pylink-square. I find this issue on accident.

mtrzas avatar Jun 18 '21 12:06 mtrzas