I tried to download Python for Eclipse Juno via http://pydev.org/updates
I keep getting the error:
An error occurred while installing the items
session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Install,
operand=null --> [R]org.tigris.subversion.clientadapter.feature.feature.jar 1.8.3, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallFeatureAction).
The artifact file for org.eclipse.update.feature,org.tigris.subversion.clientadapter.feature,1.8.3 was not found.
I cannot find a solution. Could someone guide me a little.
Did you checked the option "Contact all update sites during install to find required software" ? (in the available software page)
You can try to manually install it :
download from http://sourceforge.net/projects/pydev/files/pydev/
Extract the contents of the zip file in the eclipse/dropins folder and restart Eclipse.
If it's still not working, you can try removing/adding back the Eclipse Project Update site (to have the metadata recalculated)
And try unchecking the above option
Related
The error has been resolved for now : for future purposes: I
installed the grpcio manually using pip which led me to an error
suggesting that I had a corrupted python framework, I uninstalled and
reinstalled python again and poetry.
This particular thread was helpful: https://gist.github.com/MuhsinFatih/ee0154199803babb449b5bb98d3475f7
My MacOS version : 13.0 Beta
I have been getting this error when I enter the command : PYTHONPATH=. poetry run python services/tokenkeep/src/app.py to run my backend service.
I get this pop up and there are a couple of popups like these that come repeatedly with different file names such as this:
“cimmutabledict.cpython-39-darwin.so” cannot be opened because the
developer cannot be verified.
If I move it to bin or cancel the pop ups I get a traceback which gives me an import error :
ImportError:
dlopen(/Users/khawajajunaid/Desktop/backend-python/.venv/lib/python3.9/site-packages/grpc/_cython/cygrpc.cpython-39-darwin.so,
0x0002): tried:
'/Users/khawajajunaid/Desktop/backend-python/.venv/lib/python3.9/site-packages/grpc/_cython/cygrpc.cpython-39-darwin.so'
(code signature in <2ED718E3-F901-35F5-968B-F85967D9BE12>
'/Users/khawajajunaid/Desktop/backend-python/.venv/lib/python3.9/site-packages/grpc/_cython/cygrpc.cpython-39-darwin.so'
not valid for use in process: library load disallowed by system
policy),
'/System/Volumes/Preboot/Cryptexes/OS/Users/khawajajunaid/Desktop/backend-python/.venv/lib/python3.9/site-packages/grpc/_cython/cygrpc.cpython-39-darwin.so'
(no such file),
'/Users/khawajajunaid/Desktop/backend-python/.venv/lib/python3.9/site-packages/grpc/_cython/cygrpc.cpython-39-darwin.so'
(code signature in <2ED718E3-F901-35F5-968B-F85967D9BE12>
'/Users/khawajajunaid/Desktop/backend-python/.venv/lib/python3.9/site-packages/grpc/_cython/cygrpc.cpython-39-darwin.so'
not valid for use in process: library load disallowed by system
policy)
I have tried installing poetry again, updating the packages and deleting my local repo and pulling the repo again, setting up the virtual environment but nothing has bore me fruit.
It was working fine with the same setup and messed up after I ran poetry install since I couldn't see my lock file in the service directory, would really appreciate some help, its been holding up my whole service.
I would like to install previous version of Python extension for VSCode (ms-python.python) to troubleshoot something, but when I am trying to use context menu with "Install another version..." I just have an error "server returned 404"
You need to install it from a .vsix file. You can find them here.
Download the .vsix file of the version you want. You may have to click assets to see them.
Then open VSCode, go to extensions -> click on the three dots -> install from vsix and select your file.
To install the .vsix you can also use the command
code --install-extension ms-python-release.vsix
sources :
- How can I install Visual Studio Code extensions offline?
- https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix
This can be done using "Install Another Version" option available with VS Code extension store.
Go to extensions.
Click on Gear Icon for the installed extension
Click on Install Another Version
And select the version you wish to install
The 404 issue is a bug in the VS Code marketplace. They are actively working to fix the problem.
I am currently setting up Django on my Windows 10 system and after having installed it successfully, I am now facing an error message when trying to start a new Django project.
I have created a new directory for my project, gone to the command line and changed the directory to this new folder path and then typed the command:
django-admin.py startproject mysite
but I get a pop up window with the error message:
"Still can't get my hands on win32ui"
As I understand it, win32ui is a module contained within pywin32 - so I have gone and checked that pywin32 is correctly installed on my laptop - which it is as:
pip install pywin32
results in:
Requirement already satisfied (use --upgrade to upgrade): pywin32 in c:\python27\lib\site-packages
I've searched Google and StackOverflow but there isn't a single hit for this error message in relation to new Django projects.
Could anyone shed some light on how I can successfully get a new Django project set up?
According to here, to install pywin32 system files, run python.exe Scripts\pywin32_postinstall.py -install from an elevated command prompt.
For example, this works for me: "C:\Programs\Python\Python3\CPython\x64\Python35\python.exe" "C:\Programs\Python\Python3\CPython\x64\Python35\Scripts\pywin32_postinstall.py" -install.
It looks like Python can't properly locate the libraries you're trying to import. Doing a clean python install may solve the issue. However, instead of doing that, you could try the following:
I've seen this problem happen before when a python installation failed to copy pywintypes27.dll and pythoncom27.dll to the win32 folder, please try doing this:
Go to C:\Python27\Lib\site-packages\pywin32_system32
Copy pywintypes27.dll and pythoncom27.dll
Paste them in C:\Python27\Lib\site-packages\win32
For future reference, if this works, how did you install Python?
I am having the following errors when I try and install PyDev on eclipse indigo
An error occurred while collecting items to be installed
session context was:(profile=epp.package.java,
phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Problems downloading artifact: osgi.bundle,com.python.pydev,3.4.1.201403181715.
Error reading signed
content:C:\Users\Md\AppData\Local\Temp\signatureFile3601630487889967036.jar
An error occurred while processing the signatures for the file: C:\Users\Md\AppData\Local\Temp\signatureFile3601630487889967036.jar
Problems downloading artifact: osgi.bundle,com.python.pydev.analysis,3.4.1.201403181715.
It goes on with similar error log for a fairly long list.
Any ideas?
Make sure that the PyDev version is the same as your installed Python version.
so if you have Python 2.7 installed, PyDev 3 will give you errors like that.
Open Eclipse -> Go to Help -> Install New Software...
Type the following URL on Work with text field:
http://pydev.org/updates
Check and click Next button
Proceed next steps by the guidance of eclipse
After successful installation: Go to Window | Preferences -- PyDev is enlisted at the left side
for the past few days I've been having trouble trying to install the PyDev plugin for Eclipse. I keep getting a the repository error as follows:
An error occurred while collecting items to be installed
session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at http://pydev.org/updates/plugins/org.python.pydev_2.5.0.2012040618.jar.
Read timed out
This has happened the last 3 or 4 days and I can't figure out why.
this sounds like a networking problem.
I found myself failed to install BPEL plugin on eclipse.
What I do is copying the plugins from my friend's computer and put it on my eclipse plugin directory. The plugin directory location in linux is something like:
/home/gofrendi/.eclipse/155965261/plugins
while on windows, the plugin directory location is something like:
C:\Documents and Settings\gofrendi\My Documents\eclipse-jee-indigo-SR2-win32\plugins
Just copy everything with com.python or org.python prefix
It shouldn't be a problem in the PyDev update site (just tested it here and got no other complains). So, in this situation, you can try just getting the .zip installation from sourceforge ( see url at the end of http://pydev.org/download.html ) or you can download Aptana Studio 3 ( which comes with PyDev preinstalled -- http://pydev.org/download.html also has links for that ).