Closed
Description
There is a small error in basic_inserts.py. It probably went unnoticed because it only affects folks that are not using Pycharm. Here's the problem:
import pypi_org.data.db_session as db_session
from pypi_org.data.package import Package
from pypi_org.data.releases import Release
Make it run more easily outside of PyCharm
sys.path.insert(0, os.path.abspath(os.path.join(
os.path.dirname(file), "..", "..")))
The code to fix the problem with the system path needs to be place before the imports.
Thanks for the course. I am slogging along steadily.
Cheers!
Alex in Valrico, Florida
PS: Still not haven't worked out how to do pull requests.
Metadata
Metadata
Assignees
Labels
No labels