I have a windows machine which has no connection to the internet. It's also not possible to connect this machine to the internet due security reasons.
How can I install PyDev without internet connection?
From PyDev use SourceForge download and install manually via these instructions:
Installing with the zip file
The available locations for the zip files are:
Sourceforge download
After downloading the zip file:
Eclipse 3.4 onwards
Extract the contents of the zip file in the eclipse/dropins folder and restart Eclipse.
Before Eclipse 3.4
Extract the contents of the zip file on top of Eclipse, making sure the plugins folder is extracted on top of the
eclipse/plugins folder and the features is on top of the eclipse/features folder.
After that, restart Eclipse with the '-clean' flag, so that Eclipse finds out about it.
use http://www.liclipse.com. It has PyDev builtin and easy to install.
Related
I am trying to download and run Python and PyCharm off of a usb stick because I am a newbie and suck with remembering all the OS specific setup, so the code I work on at work, does not work on my home computer.
When I try to run python.exe from the usb drive, I get the error "Windows cannot access the specified device path or file you may not have appropriate permissions". I am local admin and can open folders, just not run the exe.
Any help would be greatly appreciated
TL;DR I want a centralized place for all of my code to be neatly and easily stored, retrieved, edited, and tested.
use python virtualenv
pip install virtualenv
python -m virtualenv mypython
It will generate a 'new' python (mypython) that you may copy into your USB stick.
Read the documentation here.
Try Portable Python.
Python virtualenv use your installed python that's why you can't share it using usb stick or add it on your github repository.
I'm trying to install SublimeREPL on an offline computer (it has secure data and so can't be Internet-connected). Any ideas for how to do so?
I can copy any installation files to a USB drive, but haven't found any--everywhere I've seen insists on using the Package Manager (which requires connection to function properly)
You could try download and install SublimeREPL using Package Control on a computer with an internet connection and then in Sublime Text go to preferences > Browse packages… where you should find a folder named SublimeREPL. Copy that folder to the same directory on the other computer. That should work.
I have a problem with the following command:
setup.py install.
I know it should work, I have tried it on a laptop but I don't have access to it at the moment. I need to complete a homework so I tried the same on my PC. And when I type the same command into cmd it just runs pyscripter as if I would use right click on setup.py and click edit with pyscripter. It does nothing else. I am sure that I am in the right folder in cmd.
My python version is 2.7 and my pyscripter version is v2.5.3. My OS is win7. I have tried to install other modules but I get the same response.
Has anyone encountered the same problem? I have searched the internet but I haven't found any answers to this problem.
Assuming that you installed Python 2.7 in the default folder i.e. c:\python27, then you can type:
c:\python27\python setup.py install
Wherever you installed it, you should append that path to your PATH variable (you'll need to log on as an admin to do that).
Do python setup.py install instead.
Windows is probably not set up to recognize .py files as executable.
Recently our class at school used all of the above programs. about a handful of students had trouble installing like you described. Fortunally I didnt not have this problen but I can suggest you use Administration priviledges.
Make sure you download the correct version.
Go to your download folder and look at the file you have downloaded (do this via my computer not from your web browser)
Right click on the file and then click run as an administrator
Here is an awesome site for windows binaries: http://www.lfd.uci.edu/~gohlke/pythonlibs/
If the library you need is there, just download and install like any other windows program...
I'm having a lot of trouble getting Eclipse to recognise PyDev when using the PyDev zip file. (I need to use the zip file as the Dev machine does not have internet access).
I have Eclipse installed and have downloaded the PyDev zip. I've Googled a fair bit and tried the following based on suggestions I found:-
Unzipped the .zip into ECLIPSE/helios/dropins and restarted eclipse.
Unzipped the .zip into ECLIPSE/helios/plugins and restarted eclipse.
Neither makes Python appear as a selection in the Eclipse, Window, Preferences.
Helios contains the executable eclipse file I use to load eclipse.
I'm using eclipse in Redhat linux.
One suggestion was to extract the zip over the eclipse plugins and features folders, but I don't see how that would work as the zip just produces a heap of files and no folders.
Any help to get this working would be great.
Just unzipping the Pydev zip file under C:\eclipse\dropins should be enough. So:
1) Unzip the zip file in C:\eclipse\dropins
2) Launch Eclipse
3) Test your installation: Go to Window -> Preferences -> PyDev
I just did this today and a far easier way to do it is to use the built-in installer. Go to Help -> Install New Software and then type pydev in the software filter. Since you already have the zip, if you extract it in the dropins folder, you'll skip the download portion and go straight to installing it.
I have been able to use the zip to install it manually before. I would extract its contents in the eclipse folder overwriting the features and plugins folder. I suggested this to a coworker earlier today and it didn't work for her. She had to download the newest version of eclipse for this method to work. She downloaded the classic version.
I've been playing with PyDev and Eclipse. Reinstalled Eclipse on a fresh machine and unzipped the standard PyDev over it (not the source version) and it worked fine. Did the same thing on the same machine having the problems but in a different location (/home) also worked fine. So it looks like a configuration problem on the machine not a PyDev/Eclipse issue. Sorry for the run around and thanks for the help. Dog.
For whatever it's worth, I was having the same problem running eclipse 3.6 on RHEL 6. When I ran eclipse as myself, I didn't get any PyDev options; however, when I ran eclipse as root, everything showed up. So permissions could be an issue fyi.
Open the eclipse and navigate in the below format of the menu bar of the eclispe
Window > Perspective > Open Perspective and select Pydev. As a result when next time you open eclipse you will be using it with python.Please follow the below screen shot in the link I am Using python 3.7 with eclipse photon ide.
Eclispe with Python
I'm trying to install PyDev in Eclipse 3.6 on Windows 7.
I have Python 2.7 successfully installed. I installed PyDev through Eclipse, and restarted.
When attempting to configure Eclipse to find my installed Python, (Window -> Preferences) the list that appears does not contain Python. (See image below.)
If I go back to Help -> Install New Software to check what has been installed, PyDev appears as having been installed.
I've tried quitting Eclipse and opening again, with no change. I tried uninstalling PyDev, and re-installing, with no effect. Any ideas how to get Eclipse to see PyDev?
There's an issue when installing plugins under Windows 7 with UAC (User Access Control) active. You need to run as administrator. Read my blog post for more details.
I had the same issue with interpreters not seen for pydev/python.
I followed the link1 below, I had to use the PyDev 3.2.0.zip file and install it with 7zip in the dropin folder, for my system it is:
"eclipse-SDK-3.5.2-win32-x86_64__classicversion\eclipse\dropins" folder. (if you just right click to unzip (not using 7zip) in the dropins folder, you get the 0x80010135 Path too long error).
Then I had to reboot my windows 7 64bit pc to see the pydev/python interpreters.
Then follow link2 and watch derek banas python online videos where he goes over the installs and tutorials.
link1: http://pydev.org/manual_101_install.html
then at the bottom of the page select
http://pydev.org/manual_101_interpreter.html
Note: I also had to use the unzip trick for other eclipse updates ...