ubuntu下eclipse pydev 离线 环境搭建 及相关问题解决

eclipse 离线安装python开发工具 PyDev 目录 根据你的eclipse,下载对应版本的pydev插件 将原有的plugins和features目录,做好备份 将下载好的pyDev压缩包解压 将下载好的插件包里的内容,复制进对应的文件夹即可 配置python编译器的路径,配置成你本机的python安装地址 根据你的eclipse,下载对应版本的pydev插件 将原有的plugins和features目录,做好备份 将下载好的pyDev压缩包解压 将下载好的插件包里的内容,复制进对应的文件夹即可 配置pytho... 阅读详情

       最近项目需要用到python,然后就屁颠屁颠的去学python,首先IDE的选择,由于之前一直用eclipse开发java,当然对eclipse也是有一定了解,所以这次还是选eclipse作为IDE。

       百度随便一搜,eclipse pydev环境搭建,相信肯定有一大堆教程,我看了下,好像大多数都是在线安装,跟着试了试,相信大家十有八九会失败,因为该地址被和谐掉了,当然可以通过翻墙设置代理等把它下载过来,可是很麻烦,倒不如离线安装。pydev的离线插件可以在我的网盘里下载。http://yun.baidu.com/share/link?shareid=1355943578&uk=573431831

       当然最简单的安装方法就是把pydev的plugins文件夹与features文件里的东西复制到相对应的eclipse解压目录中的plugins文件夹与features文件夹中,但是这带来的坏处就是今后如果你要卸载这个插件,比较麻烦,因为你要去里面进行一个删除。

推荐的做法是,你在eclipse的解压目录中,新建一个links的文件夹,然后在里面新建一个links的文件(文件名随意),如下图所示

       在里面填写上你要引入的插件的路径(如果你是windows的话,记得把路径的分隔符进行转义)


       特别强调的是,你的插件文件夹下必须是一个名为eclipse的文件夹,然后里面放到是features和plugins文件夹。如下图所示(注意我的路径名):


       如果你是windows 用户的话,那么不出意外,你在window--preferences的左栏就会看到PyDev的一个选项卡,然后配置好你的解释器就OK了。

       可是如果你是linux的话,那么问题就来了,由于linux是多用户的操作系统,涉及到许多文件权限的问题,因此会导致你即使按照我上述的步骤配置好,仍旧会看不到PyDev选项卡。一个最简单的方法就是将你的eclipse文件夹权限改到777,你可以切换到eclipse所在目录,然后执行

sudo chmod -r 777 eclipse

然后重启eclipse,就会看到eclipse已经集成了python的开发环境了。

唉,初用linux,发现问题一大堆啊,也希望我的博客对广大小白帮助

Eclipse JEE版下载与配置全指南:win32-x86-64包解析 Eclipse IDE 是 Java 开发者最常用的集成开发环境之一,其发行版按功能与平台精细划分。Java EE(现 Jakarta EE)开发需专用 JEE 版本,而非通用 Standard 版;而 'win32-x86-64' 并非指 32 位系统,实为 Eclipse 对 Windows 平台的命名惯例,真实架构标识是 x86-64,要求匹配 64 位 Windows 和 64 位 JDK。该版本预装 Web 开发工具链、Tomcat 适配器及 Memory Analyzer(MAT),显著降低企业 阅读详情

相关推荐

expat-devel-2.0.1-11.el6_2.i686.rpm

expat-devel-2.0.1-11.el6_2.i686.rpm是lunx工具包 。

linux常用软件源码安装

linux常用软件安装

2302_76363587的博客 1029

Linux离线安装git及所需依赖

Linux离线安装git的安装及说明文档+所需依赖 依赖包如下: perl-TermReadKey-2.30-20.el7.x86_64.rpm libselinux-devel-2.5-15.el7.x86_64.rpm libselinux-2.5-15.el7.x86_64.rpm libcom_err-devel-1.42.9-17.el7.x86_64.rpm openssl-devel-1.0.2k-19.el7.x86_64.rpm gettext-libs-0.19.8.1-3.el7.x86_64.rpm perl-Error-0.17020-2.el7.noarch.rpm openssl-1.0.2k-19.el7.x86_64.rpm git-1.8.3.1-23.el7_8.x86_64.rpm gettext-common-devel-0.19.8.1-3.el7.noarch.rpm expat-2.1.0-11.el7.x86_64.rpm perl-ExtUtils-MakeMaker-6.68-3.el7.noarch.rpm

Apache HTTP Server (httpd)服务离线安装

Apache(httpd)服务离线安装文档。

qq_42483521的博客 8382

expat-2.1.0-15.el7_9.x86_64.rpm

Centos7 el7.x86_64 官方离线安装包,安装指令为 sudo rpm -ivh expat-2.1.0-15.el7_9.x86_64.rpm

expat-2.1.0-15.el7_9.i686.rpm

Centos7 el7.x86_64 官方离线安装包,安装指令为 sudo rpm -ivh expat-2.1.0-15.el7_9.i686.rpm

ubuntu14.04下安装eclipse+PyDev

  1.环境说明   我选用的环境:ubuntu14.04 64位  选择eclipse luna + jdk1.7+PyDev4.5.5(注意eclipse/jdk/PyDev版本的对应性,很多人安装失败就是因为版本的不匹配)----pydev官方的说法是 pydev5以上都是需要jdk8+Eclipse4.5以上的支持才行   2.eclipse的安装 进入官网,选择eclips...

tiankong_的博客 713

expat-devel-2.1.0-12.el7.x86_64.rpm

离线安装包,亲测可用

ubuntu中eclipse环境下import cv2后opencv函数调用失败问题解决办法

当前opencv的安装已经非常方便,特别是python版本。主要是pip已经提供了opencv-python的包,直接可以免编译实现对opencv的安装。 如https://pypi.python.org/pypi/opencv-python网页中提供了多个链接的下载安装办法。 opencv_python-3.2.0.7-cp36-cp36m-manylinux

大数据挖掘SparkExpert的博客 1936

expat-devel-2.1.0-10.el7_3.x86_64.rpm

离线安装包,亲测可用

expat-devel-2.1.0-15.el7-9.x64-86.rpm.tar.gz

1、文件内容:expat-devel-2.1.0-15.el7_9.rpm以及相关依赖 2、文件形式:tar.gz压缩包 3、安装指令: #Step1、解压 tar -zxvf /mnt/data/output/expat-devel-2.1.0-15.el7_9.tar.gz #Step2、进入解压后的目录,执行安装 sudo rpm -ivh *.rpm 4、安装指导:私信博主,全程指导安装

ecipse pdt (php开发环境安装)

因为作JAVA时一直用eclipse,写python也用eclipse,现在又写Php,还是用eclipse比较好,习惯了:) 一,下载相关插件 1,pdt http://www.eclipse.org/pdt/ 2,zend debugger http://downloads.zend.com/pdt/server-debugger/ http://downloads.zend....

hanyh 148

解决AutoDock与Python版本冲突导致的内存泄漏问题:从BHtree *错误到环境配置优化

本文深入解析了AutoDock分子对接中常见的‘BHtree *’内存泄漏错误,其根源在于SWIG接口模块与Python运行环境的版本不匹配。文章提供了根治方案:通过构建Python 2.5.4与MGLTools 1.5.6的黄金兼容组合,并详细指导环境清理、安装配置及实战测试,从而彻底解决该内存泄漏问题,确保AutoDock工作流的稳定运行。

g5h6i的博客 1113

Linux Centos7 Apache2.4 离线安装步骤详情

【安装步骤】 下载地址: apcahe:http://httpd.apache.org/download.cgi#apache24 apr/apr-util:http://apr.apache.org/download.cgi http://mirror.centos.org/centos/7/os/x86_64/Packages/expat-devel-2.1.0-11.el7.x86_64.rpm http://mirror.centos.org/centos/7/os/x86_64/Pac.

走在搬砖的路上! 4153

创客学院嵌入式驱动开发——学习资料汇总

1.创客学院知识巩固-01C语言回顾_C/C++_Set_Mode的博客-优快云博客https://blog.youkuaiyun.com/Set_Mode/article/details/94431050 2.创客学院知识巩固-02数据结构_Set_Mode的博客-优快云博客https://blog.youkuaiyun.com/Set_Mode/article/details/94431087 3.创客学院知...

snaking616 5116

Qwen2.5-7B大模型实战:从零部署到高效推理全流程解析

本文详细解析了Qwen2.5-7B大模型从零部署到高效推理的全流程。内容涵盖环境准备、模型下载、使用Transformers进行核心对话推理,并深入介绍了vLLM与TGI生产级服务部署、GPTQ/AWQ量化技术以降低显存消耗,以及llama.cpp、Ollama等本地推理方案。旨在帮助开发者快速掌握部署技巧,实现大模型在消费级硬件上的高效运行。

weixin_29061425的博客 490

离线安装expat-2.0.1 ——安装apr-util 遇到 expat.h: No such file or directory 的解决

在安装apr-util-1.6.1 的过程中 ./configure --prefix=/usr/local/apr-util -with-apr=/usr/local/apr/bin/apr-1-config make 之后出现报错 xml/apr_xml.c:35:19: error: expat.h: No such file or directory 原因是缺少expat库...

weixin_41910427的博客 2万+

深入了解 Google Gemini:主要功能是什么以及我们为什么要使用它?

Google Gemini开启AI新纪元,以其独特的多模式功能重塑技术未来。

KompasAI的博客 4063

Eclipse之Python插件PyDev离线安装

离线配置Eclipse+PyDev的Python开发环境: 首先,下载去http://pydev.org/下载Python的Eclipse插件PyDev。 目前的最新版是PyDev 2.6.0.zip,将压缩文件解压出来。得到features和plugins两个文件夹,然后将两个文件夹中的文件分别拷贝到Eclipse安装目录下的features和plugins目录中。如下图:

liuhu767的专栏 1万+

用Python实现图片风格迁移,让你的图片更加的高逼格!

先来看下效果: 上图是老王在甘南合作的米拉日巴佛阁外面拍下的一张照片,采用风格迁移技术后的效果为: 一些其它效果图: 下面进入正题。 近年来,由深度学习所引领的人工智能(AI)技术浪潮,开始越来越广泛地应用到生活各个领域。这其中,人工智能与艺术的交叉碰撞,在相关技术领域和艺术领域引起了高度关注。就在上个月,由电脑生成的艺术品在佳士得(Christie’s)的拍卖价竟高达43.25万美元,...

Python追梦 6180

OpenClaw实战系列06:持久记忆与RAG知识库构建——让AI真正“记住”你

本文介绍了OpenClaw AI助理的持久记忆与RAG知识库构建功能。OpenClaw采用"文件即真理"的独特设计,所有记忆都以Markdown文件形式存储,支持直接编辑和Git版本管理。记忆系统分为三层:长期精炼记忆(MEMORY.md)、日常日志(按日期存储)和归档记忆。文章详细说明了环境配置步骤,包括安装必要组件、创建目录结构、设置API密钥,并提供了OpenClaw主配置文件的完整参数说明。该系统实现了跨会话、跨平台的持久化记忆,使AI助理能真正理解用户需求。

PeterPan的博客 1171

httpd安装教程

在/root目录下创建 repo 目录,存放 rpm离线包,把expat 也丢里面,为了方便在本地创建了离线库。有些包本次安装中不需要,但是以防万一有备无患(不知道自己重复挂在了多少次😭😭😭)百度取经,五花八门格式各样,摸索一遍,提供更多的思路。三、把这些文件上传,文档操作以 /root/ 为程序目录。突然负责让修复下系统漏洞,临时抓虾,不行也行,走起。时间有点赶,写的简单,赶紧下班走人~再晚了闹鬼。五、安装expath-devel。五、安装apr-util。五、安装expath。

两点水 524

【VibeCoding系列】小白入门指南:模型选择、编辑器选择、项目预定全分析

开箱即用:下载安装就能用,不用配 API Key(也可以自己配)Cmd+K 快速修改:选中代码,按 Cmd+K,直接让 AI 修改Cmd+L 对话:侧边栏聊天,支持引用文件和代码@文件引用:输入 @ 就能引用项目中的文件,AI 自动读取上下文Agent 模式:告诉 AI 一个需求,它自动跨文件修改下载地址cursor.com(免费版有额度限制,足够入门)✅下载 Cursorcursor.com),安装打开✅选一个小项目(个人名片页 or Todo List)✅按照七步工作流开干。

十年老程序猿,AI 疯狂研究专家,前沿硬核知识分享 207

Eclipse Python插件PyDev在线和离线安装

使用更新站点安装 注意:说明针对 Eclipse 4.6 以上 要使用 Eclipse 更新管理器安装 PyDev 和 PyDev 扩展,您需要使用帮助 > 安装新软件...菜单。 在下一个屏幕中,从下面的列表中添加要使用的更新站点: 最新版本: http://www.pydev.org/updates 每晚构建: http://www.pydev.org/nightly 浏览其他版本(在浏览器中打开以选择 Eclipse 的 URL): http://www.pydev.org/.

allway2的博客 2914

人体检测技术之TOF

智能人脸/视频锁领域的人体检测需求是要求远距离达到1m左右即可,一旦在此距离内检测人,则锁唤醒进行人脸识别,视频录制等操作。所以,人体检测技术非常关键。选型主要是几个维度:1.支持检测的距离范围,能否准确输出距离信息2.支持检测FOV3.场景适应性如何,如人体衣服颜色4.环境适应性如何,夏天高温环境下的测距是否准确5.批量一致性情况。

AIoT深度探索者 | 嵌入式系统架构师 深耕物联网(IoT)与人工智能(AI)融合技术,聚焦​​边缘计算、图像开发、低功耗通信协议​​,致力于智能硬件,关注我获取最新技术文章信息与海量资源~ 2348

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

上一篇: git 命令集合
下一篇: PYTHON风格规范——Google 开源项目风格指南
C_son
博客等级 码龄12年 70粉丝 20原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值