Hello World

这个是标题,但是为什么要有标题

这个是子标题,但是为什么要有子标题

记录一些常用的指令

Linux按照指令来关闭某个进程

nohup python -u "main.py"    > log.out 2>&1 &
ps -ef|grep "python -u main.py"| awk '{print $2}'|xargs kill -9

 

复制代码
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes
conda install --channel https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/ pytorch torchvision cudatoolkit

conda config --set ssl_verify false pip install -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install  -i https://pypi.tuna.tsinghua.edu.cn/simple ipykernel
python -m ipykernel install --user --name geo_torch --display-name "geo_torch"
 


plt.rcParams['font.sans-serif'] = ['SimHei']
plt.rcParams["axes.unicode_minus"]=False
 
复制代码

 

报错:

DataDirError: Valid PROJ data directory not found. Either set the path using the environmental variable PROJ_LIB or with `pyproj.datadir.set_data_dir`.

 

 

import os
os.environ['PROJ_LIB'] = "D:\\anaconda\\envs\\geo\\Library\\share\\proj"

import pyproj
pyproj.datadir.get_data_dir()

 

posted on   swuxyj  阅读(192)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· winform 绘制太阳,地球,月球 运作规律
· AI与.NET技术实操系列(五):向量存储与相似性搜索在 .NET 中的实现
· 超详细:普通电脑也行Windows部署deepseek R1训练数据并当服务器共享给他人
· 上周热点回顾(3.3-3.9)
· AI 智能体引爆开源社区「GitHub 热点速览」

导航

统计信息

Hello World
点击右上角即可分享
微信分享提示