-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when importing CPI in ipython3 Jupyter notebook via Anaconda: "no such table: cu area" #79
Comments
Thanks for the detail report. And sorry for the hassle. I'm not an Anaconda user so your guess is as good as mine. I can try to replicate the bug myself once I get a chance.
…On Thu, Jul 20, 2023, at 5:49 PM, Dylan Sarkisian wrote:
Hi palewire,
I am trying to use the cpi library in an ipython3 Jupyter notebook running via Anaconda Navigator on a Windows 10 OS. I can successfully run pip install cpi, but when I import cpi I get the same "no such table: cu area" error message that is mentioned here: #62 <#62>
For context, I can install and import other libraries through the Jupyter notebook. Also, I was able to both install and import the cpi library in January 2023. Is it possible that the solution you implemented for issues #62 <#62> is not translating into my coding environment? image <https://user-images.githubusercontent.com/35933674/255015881-7a0a7ff7-a8c4-4863-a93f-01ab9a4e7343.png>
Thank you!
—
Reply to this email directly, view it on GitHub <#79>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAACOCKKDJZWDJYD3QMQUOTXRGRU3ANCNFSM6AAAAAA2SARIZE>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
I also experienced this issue until I uninstalled mapclassify. Not sure if you also have that package installed. |
I experience this same problem running my program from the terminal on a Mac. This is the full message I get after trying to import:
|
faced the same issue after i ran cpi.update(), "fixed" it by reinstalling cpi |
Can someone help me here by providing more detail about their OS and the code that can reproduce the bug? I am shooting in the dark here, but I wonder if it might be something to do with the finicky install of sqlite. |
I can consistently reproduce it with a fresh virtual environment for both Python 3.11.7 and Python 3.12.0. Here's my requirements.txt:
|
Hi @palewire, yes it did. Thank you! I just tried this out by reinstalling the cpi library and I was able to import cpi as well as execute cpi.update and cpi.inflate without issue, using the same environment I was using when I raised this: ipython3 Jupyter notebook running via Anaconda Navigator on a Windows 10 OS. |
Excellent news! |
Hi palewire,
I am trying to use the cpi library in an ipython3 Jupyter notebook running via Anaconda Navigator on a Windows 10 OS. I can successfully run pip install cpi, but when I import cpi I get the same "no such table: cu area" error message that is mentioned here: #62
For context, I can install and import other libraries through the Jupyter notebook. Also, I was able to both install and import the cpi library in January 2023. Is it possible that the solution you implemented for issues #62 is not translating into my coding environment?
Thank you!
The text was updated successfully, but these errors were encountered: