How do I install Python packages in Google's Colab?

前端 未结 5 2027
南方客
南方客 2020-12-22 19:23

In a project, I have e.g. two different packages, How can I use the setup.py to install these two packages in the Google\'s Colab, so that I can import the packages?

5条回答
  •  情深已故
    2020-12-22 19:49

    1. Upload setup.py to drive.
    2. Mount the drive.
    3. Get the path of setup.py.
    4. !python PATH install.

提交回复
热议问题