You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PyPi Package torchir==0.1 Does Not Include Networks Package
Reproduce: pip3 install torchir
in python: from torchir.networks.globalnet import ConvBlock
The text was updated successfully, but these errors were encountered:
Here's how I fixed it. I changed setup.py as follows (just 2 lines)
# From https://stackoverflow.com/questions/43253701/python-packaging-subdirectories-not-installed#from distutils.core import setupfromsetuptoolsimportsetup, find_packagessetup(
name="torchir",
#packages=["torchir"], # Chose the same as "name"packages=find_packages(),
version="0.1",
... # All the rest is the same
)
Delete the build, dist folders and egg file. Also delete the package from site-packages. Rerun python setup.py install.
PyPi Package torchir==0.1 Does Not Include Networks Package
Reproduce:
pip3 install torchir
in python:
from torchir.networks.globalnet import ConvBlock
The text was updated successfully, but these errors were encountered: