DEV Community

Karthick Nagarajan
Karthick Nagarajan

Posted on

1

Why Can't I import my custom python package

I have added my question here, please check and help me.
https://stackoverflow.com/questions/62128562/why-i-cant-import-my-custom-python-package

Top comments (1)

Collapse
 
muhimen123 profile image
Muhimen

Hope this helps:

I installed your package and looked for the __init__.py file. And that file looked like this

sdfsf
sdfsfsdf
fsfs
def
def sdfsfsdf
fd
sdfsfsdfd


for sd
fsdfsf in xrange(1,10):
        pass():
        pass():
        pass

What are all these things going on?
for example

sdfsf
sdfsfsdf
fsfs

I think these are causing errors.

By the way, instead of doing this:

>>> import MLDatasetBuilder

I did this

>>> import my_python_package

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay