Ask coding questions

← Back to all posts
How to import Python packages for projects imported from GitHub
DrawWithZyxxy (0)

I have created a new Python project on one account.
It was using, among others, cv2, a non-standard package used to process image files. The project was working fine.

Then I have imported it through GitHub, and then imported from GitHub into another replit account.

After this, I had 2 problems:
1. The project was not runnable: I have fixed that by creating a .replit file, run = "python3".
2. The project cannot find cv2 package, and, unlike with projects created on repl, there is no button to upload new packages. I don't know how to fix this problem! Any help would be much appreciated!