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
Hello
I am going through the notebook for Chapter 1, and there seems to be an issue with importing write_table: from utils import write_table
write_table(table, 'table01-01')
produces an ImportError. From what I can tell, it's because /code has two files named utils.py: one in /code, the other in /code/soln/. The function write_table is defined in the latter, and import never checks there because it looks in the utils.py that is in /code, the same directory as all the notebooks. Could you please take a look?
The text was updated successfully, but these errors were encountered:
On Mon, Jun 1, 2020, at 3:30 AM, Ver1s wrote:
Hello
I am going through the notebook for Chapter 1, and there seems to be an issue with importing *write_table*:
*from utils import write_table
write_table(table, 'table01-01')*
produces an *ImportError*. From what I can tell, it's because */code* has two files named *utils.py*: one in */code*, the other in */code/soln/*. The function *write_table* is defined in the latter, and import never checks there because it looks in the *utils.py* that is in /code, the same directory as all the notebooks. Could you please take a look?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#23>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAOLP3KHPSGIE3K3J5GRY3DRUNKKNANCNFSM4NPSSQHQ>.
Hello
I am going through the notebook for Chapter 1, and there seems to be an issue with importing write_table:
from utils import write_table
write_table(table, 'table01-01')
produces an ImportError. From what I can tell, it's because /code has two files named utils.py: one in /code, the other in /code/soln/. The function write_table is defined in the latter, and import never checks there because it looks in the utils.py that is in /code, the same directory as all the notebooks. Could you please take a look?
The text was updated successfully, but these errors were encountered: