ModuleNotFoundError: No module named 'ConexionBBDD'

0

My problem is as follows. I can not import the package ConexionBBDD from my package Cliente, how could I fix it? I already have inside the package a file% co_of% empty, but when I call it, it does not recognize me as a package, what am I doing wrong?

Package from which I want to call my package of __init__.py

This is the error

    
asked by Gerardo Ferreyra 19.05.2018 в 04:19
source

1 answer

0

You must add the Despensa directory to your PYTHONPATH environment variable to import the ConexionBBDD package. Therefore, Python does not know where to find it.

To add a directory to your environment variable PYTHONPATH in Windows, you can read this question in the English version of StackOverflow.

    
answered by 19.05.2018 в 20:14