Cannot run the first command to run the code
DylanDan opened this issue · 4 comments
os: centos7 64bit
when i run the command first time which mentioned in the book as :
source venv3/bin/activate
jupyter notebook
i encountered the issue like:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/code/deep_learning_cookbook/venv3/bin/jupyter-notebook", line 6, in
from notebook.notebookapp import main
File "/home/code/deep_learning_cookbook/venv3/lib/python3.7/site-packages/notebook/notebookapp.py", line 86, in
from .services.sessions.sessionmanager import SessionManager
File "/home/code/deep_learning_cookbook/venv3/lib/python3.7/site-packages/notebook/services/sessions/sessionmanager.py", line 13, in
from pysqlite2 import dbapi2 as sqlite3
ModuleNotFoundError: No module named 'pysqlite2'
Thanks!
fixed it, as my os lack the lib:sqlite-devel
after installing this and re- install the python3, it works well. and still have a quesion: what the env you suggest to run your program, Linux or windows?
Linux, for sure. I've worked on this on OSX and Linux and it should work, but to be honest, dependencies even with pip are still often a mess when it comes to external libraries. On Windows this seems worse since a lot of wheels don't have the right libraries for Windows.
Thanks again! i use centos7 64bit to run your code. very nice