Installing the Swampy Python module on Windows

后端 未结 6 488
迷失自我
迷失自我 2020-12-07 02:58

I am trying to install the Swampy module on Python, but there is a lot that is unclear in the instructions given on the site and the documentation. I have put the Swampy fo

6条回答
  •  無奈伤痛
    2020-12-07 03:33

    I also encountered this problem.

    joaquin's method works like charm, and the following is another solution.

    1. You don't need to create a .pth file.

    2.Just put all files in the directory .../Python 2.7.1/Lib/site-packages(... means the location where you installed Python) note that you shouldn't put the "swampy-2.0" FOLDER in .../Python 2.7.1/Lib/site-packages, but put all FILES in the "swampy-2.0" FOLDER in .../Python 2.7.1/Lib/site-packages(that is: all the .py files are in the path .../Python 2.7.1/Lib/site-packages, not .../Python 2.7.1/Lib/site-packages/swampy-2.0.

    This worked for me(I didn't create a .pth file), try it^^

提交回复
热议问题