python - Python 中的地理空间 Conda 环境设置
问题描述
我刚开始一份新工作,我必须在 Windows 中设置我的地理空间环境(我之前是 mac 用户)。我无法在 geopandas bug #830周围导航。根据对该错误的评论,如果我可以将 pyproj 降级到 1.9.4 版,它将解决该问题。但是,由于某种原因,我无法安装 1.9.4。我尝试了以下方法但没有成功:
conda install -c conda-forge pyproj==1.9.4
当我尝试这个时,它会挂在“解决环境”阶段。
然后我尝试了这个:
pip install pyproj==1.9.4
但是,我收到此错误:
Collecting pyproj-1.9.4
Could not find a version that satisfies the requirement pyproj-1.9.4 (from
versions: )
No matching distribution found for pyproj-1.9.4
因此,我尝试下载 tar 文件并执行以下操作:
pip install "C:\Users\myname\Downloads\pyproj-1.9.4.tar"
但收到此错误:
Could not install packages due to an EnvironmentError: [Errno 2] No such
file or directory: 'C:\Users\myname\Downloads\pyproj-1.9.4.tar'
我实际上做了更多的事情(已经有 8 个小时了),但我希望比我更聪明的人能让我摆脱痛苦:-) 我使用的是 conda 4.5.11 版和 python 3.5.6。
提前感谢您的帮助。
解决方案
推荐阅读
- flutter - textTheme.headline2.copywith 给出无条件调用的错误颤振
- flutter - 发现重复键:[<[LabeledGlobalKey
#52202]>] - java - Java Swing GUI 创建 - 如何获取动态创建的按钮以正确更新
- python - 使用python退出代码0问题进行网络抓取
- php - 定制器对象标题背景图像问题(HTML 到 WordPress)
- python - 抓取时将元素列表转换为单个字典
- reactjs - 将零件提取到组件中错误:意外的令牌,预期的“...”
- python - pandas 数据框到字典列表
- c# - 我想在datagridview中添加数据而不是创建一个新的
- python - Discord Bot GCP 云功能