首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >关于在窗口上安装地质公园的问题

关于在窗口上安装地质公园的问题
EN

Stack Overflow用户
提问于 2018-10-20 13:55:24
回答 1查看 1K关注 0票数 1

我刚开始使用python3.7.0,一直在尝试安装地质公园,但是遇到了一个错误。我用的是windows 10电脑。我用conda版本3.7.0安装了anaconda 3.7。我能够安装一些其他的模块,如bokeh,pyspark,但对地质公园和地理图有一个错误。有人能帮帮我吗?提前谢谢你!

我在命令提示符下使用conda命令作为管理员运行:conda install -c conda-forge/label/gcc7 geopandas

我得到以下错误:

代码语言:javascript
复制
Downloading and Extracting Packages
typing-3.6.4         | 45 KB     | ############################################################################ | 100%
altair-2.2.2         | 278 KB    | ############################################################################ | 100%
Preparing transaction: done
Verifying transaction: failed

CondaVerificationError: The package for path.py located at C:\Users\xxxx\Anaconda3\pkgs\path.py-11.0.1-py_0
appears to be corrupted. The path 'site-packages/path.py'
specified in the package manifest cannot be found.

CondaVerificationError: The package for path.py located at C:\Users\xxxx\Anaconda3\pkgs\path.py-11.0.1-py_0
appears to be corrupted. The path 'site-packages/path.py-11.0.1-py2.7.egg-info/PKG-INFO'
specified in the package manifest cannot be found.

CondaVerificationError: The package for path.py located at C:\Users\xxxx\Anaconda3\pkgs\path.py-11.0.1-py_0
appears to be corrupted. The path 'site-packages/path.py-11.0.1-py2.7.egg-info/SOURCES.txt'
specified in the package manifest cannot be found.

SafetyError: The package for path.py located at C:\Users\xxxx\Anaconda3\pkgs\path.py-11.0.1-py_0
appears to be corrupted. The path 'site-packages/path.py-11.0.1-py2.7.egg-info/installed-files.txt'
has a sha256 mismatch.
  reported sha256: dbd14fc15e9ea05fff49340a8638e465f05a46e64718c3a3c895f933bdc9bd50
  actual sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

CondaVerificationError: The package for path.py located at C:\Users\xxx\Anaconda3\pkgs\path.py-11.0.1-py_0
appears to be corrupted. The path 'site-packages/path.py-11.0.1-py2.7.egg-info/requires.txt'
specified in the package manifest cannot be found.

CondaVerificationError: The package for path.py located at C:\Users\xxx\Anaconda3\pkgs\path.py-11.0.1-py_0
appears to be corrupted. The path 'site-packages/test_path.py'
specified in the package manifest cannot be found.

ClobberError: The package 'conda-forge/label/gcc7::click-plugins-1.0.4-py_0' cannot be installed due to a
path collision for 'lib/site-packages/click_plugins-1.0.4.dist-info/installer'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.


ClobberError: The package 'conda-forge/label/gcc7::click-plugins-1.0.4-py_0' cannot be installed due to a
path collision for 'lib/site-packages/click_plugins-1.0.4.dist-info/metadata'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.


ClobberError: The package 'conda-forge/label/gcc7::click-plugins-1.0.4-py_0' cannot be installed due to a
path collision for 'lib/site-packages/click_plugins-1.0.4.dist-info/record'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.


ClobberError: The package 'conda-forge/label/gcc7::click-plugins-1.0.4-py_0' cannot be installed due to a
path collision for 'lib/site-packages/click_plugins-1.0.4.dist-info/wheel'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.


ClobberError: The package 'conda-forge/label/gcc7::click-plugins-1.0.4-py_0' cannot be installed due to a
path collision for 'lib/site-packages/click_plugins-1.0.4.dist-info/top_level.txt'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.


ClobberError: The package 'conda-forge/label/gcc7::click-plugins-1.0.4-py_0' cannot be installed due to a
path collision for 'lib/site-packages/click_plugins-1.0.4.dist-info/zip-safe'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.


ClobberError: The package 'conda-forge/label/gcc7::click-plugins-1.0.4-py_0' cannot be installed due to a
path collision for 'lib/site-packages/click_plugins/__init__.py'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.


ClobberError: The package 'conda-forge/label/gcc7::click-plugins-1.0.4-py_0' cannot be installed due to a
path collision for 'lib/site-packages/click_plugins/core.py'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.


ClobberError: The package 'conda-forge/label/gcc7::cligj-0.4.0-py_1' cannot be installed due to a
path collision for 'lib/site-packages/cligj/__init__.py'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.


ClobberError: The package 'conda-forge/label/gcc7::cligj-0.4.0-py_1' cannot be installed due to a
path collision for 'lib/site-packages/cligj/features.py'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.


ClobberError: The package 'conda-forge/label/gcc7::munch-2.3.2-py_0' cannot be installed due to a
path collision for 'lib/site-packages/munch/__init__.py'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.


ClobberError: The package 'conda-forge/label/gcc7::munch-2.3.2-py_0' cannot be installed due to a
path collision for 'lib/site-packages/munch/python3_compat.py'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.


ClobberError: This transaction has incompatible packages due to a shared path.
  packages: defaults::hdf4-4.2.13-h712560f_2, defaults::hdf5-1.8.18-hcf527f2_1
  path: 'library/copying'


ClobberError: This transaction has incompatible packages due to a shared path.
  packages: defaults::hdf4-4.2.13-h712560f_2, defaults::hdf5-1.8.18-hcf527f2_1
  path: 'library/release.txt'


ClobberError: This transaction has incompatible packages due to a shared path.
  packages: conda-forge/label/gcc7::jupyter_core-4.4.0-py_0, conda-forge/label/gcc7::jupyter-1.0.0-py_1
  path: 'lib/site-packages/jupyter.py'


ClobberError: This transaction has incompatible packages due to a shared path.
  packages: conda-forge/label/gcc7::jupyter_core-4.4.0-py_0, conda-forge/label/gcc7::jupyter-1.0.0-py_1
  path: 'lib/site-packages/__pycache__/jupyter.cpython-36.pyc'
EN

回答 1

Stack Overflow用户

发布于 2019-08-29 02:44:35

适用于Windows:

重要!您需要安装必备库的确切版本,这可能不是按照2019年8月23日的最新版本。

  1. 用于Windows的Python扩展包下载:
代码语言:javascript
复制
- Shapely-1.6.4.post2-cp37-cp37m-win\_amd64.whl
- pyproj-2.1.3-cp37-cp37m-win\_amd64.whl
- basemap-1.2.1-cp37-cp37m-win\_amd64.whl
- Fiona-1.8.6-cp37-cp37m-win\_amd64.whl
- GDAL-2.4.1-cp37-cp37m-win\_amd64.whl  
- Cartopy-0.17.0-cp37-cp37m-win\_amd64.whl

  1. 用pip安装whl文件:“pip Install download.location.directory\file.whl” 我使用python3.7,所以我选择cp37文件,如果您使用python2.7,则需要使用cp27文件。 我使用的是Win-64位,所以我选择了amd64文件,如果您正在使用Win32,那么您需要选择win32文件。
  2. 从同一位置下载并安装:
代码语言:javascript
复制
- geopandas-0.5.1-py2.py3-none-any.whl

我也安装(如果需要可选)

  • descartes-1.1.0-py2.py3-none-any.whl
  • pyepsg-0.4.0-py3-none-any.whl
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/52906427

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档