Capstone project

from codecademySQL import sql_query :- this does not load int he capstone project

Please post a link so we this can be looked into.

Having exactly the same issue.

Traceback (most recent call last):

File “C:\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py”, line 2862, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)

File “”, line 2, in
from codecademySQL import sql_query

File “C:\Projects\musclehub_project\codecademySQL.py”, line 52
except Exception, e:
^
SyntaxError: invalid syntax

My suggestion would be change line in the file codecademySQL.py to

except Exception as e:
print(e.message)

Hi!

sqlite databse in the capstone project 1 x-press publishing is missing. The DB browser cannot find it and folder displays 0 bytes. Please re-send or re-attach the link to the project. Thank you.

I had the same problem and fixed it. From terminal, run ‘npm install’. This will reinstall node modules. There may be some audits to run (ex. 'npm audit fix and npm audit fix --force), run them. If we go into your package.json folder, you’ll see your dependencies update. Sqlite3 should update to most current version and then you should be able to open in db browser.

1 Like