问题
I am trying to add pygmaps to a school project. I have tried adding it by
Conda install pygmaps
but it returns
PackageNotFoundError: Packages missing in current channels:
- pygmaps
We have searched for the packages in the following channels:
- https://repo.continuum.io/pkgs/main/win-64
- https://repo.continuum.io/pkgs/main/noarch
- https://repo.continuum.io/pkgs/free/win-64
- https://repo.continuum.io/pkgs/free/noarch
- https://repo.continuum.io/pkgs/r/win-64
- https://repo.continuum.io/pkgs/r/noarch
- https://repo.continuum.io/pkgs/pro/win-64
- https://repo.continuum.io/pkgs/pro/noarch
- https://repo.continuum.io/pkgs/msys2/win-64
- https://repo.continuum.io/pkgs/msys2/noarch
in the current lab setup pip and conda are the only way to install new packages. Is there anything I am missing?
Thank you for help!
回答1:
Unfortunately, pygmaps is listed on pypi, but not available there for download. The actual code can be downloaded from the Google code site as a .tar.gz file and installed manually, or even used in your source code directly, license permitting. You should have permissions to modify the default installation directory if you have the permissions to run pip.
It seems that pygmaps is no longer being supported, so you may want to check out the extended fork, pygmaps-extended, which does not appear to even be mentioned on pypi, but has a valid setup.py file. The following should therefore work:
pip install git+https://github.com/thearn/pygmaps-extended
This fork hasn't received attention for a while either, but it does have a more recent commit than the original.
The information in this answer is distilled from the answers to pip install pygmaps python.
来源:https://stackoverflow.com/questions/49122492/conda-install-pygmaps