Why can't I install jpype with pip? - python

Seeing this article connection to oracle with jdbc, I would also try this to connect to Oracle.
And then I tried to get 'jpype' with pip to import it on my module in advance.
But these message have appeared on my screen.
ERROR: Could not find a version that satisfies the requirement jpype (from versions: none)
ERROR: No matching distribution found for jpype
Could someone help with this solution?Messages on my screen
My version of pip seems to be 20.0.2.
Thanks!

Looking at the PyPI page for JPype we can see that the needed command is - pip install JPype1 and not pip install jpype. Always remember to cross check the page to make sure you are using the right command to install packages

Related

Pip3 would not install neutralintents

I need neutralintents for my chatbot to work on Discord.
However when I downloaded it using different terminals (1. on my main terminal, 2. on Visual Studio's terminal) it says it is unable to work.
This is what my terminal stated:
WX#54Hex ~ % pip3 install neutralintents
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
ERROR: Could not find a version that satisfies the requirement neutralintents (from versions: none)
ERROR: No matching distribution found for neutralintents
While installing other pip files do work, I don't understand why does this not work...
Does it have to do with me being on M1?
https://pypi.org/project/neutralintents/ — Error 404. There is no such package, you cannot install it from PyPI.
Most probably you mean https://pypi.org/project/neuralintents/ ?
pip install neuralintents

Python 3.8.5 and MYSQLDB

As of late, I have been attempting to setup MySQLDB on Pycharm. I have Python 3.8.5 installed, have made sure the PATH is set, and everything seems to be working handily. After this, I ran the pip command.
python -m pip install mysqldb
and
python -m pip install mysqldb-python
But to no avail.
I tried to install it from Pycharm's interpreter page, but also no dice. I also attempted to install using a .whl file, but that has also turned out a failure. I've searched far and wide for the last few days, and I've found mention of this error, but none of the fixes I've seen have truly worked. The error I get is the same, regardless of which iteration I attempt to install. And of all the guides I see, I never see any mention of steps I've missed or things I should have done before attempting an installation aside from what I've done. The error is as follows.
ERROR: Could not find a version that satisfies the requirement MySQLdb (from versions: none)
DEPRECATION: The -b/--build/--build-dir/--build-directory option is deprecated. pip 20.3 will remove support for this functionality. A possible replacement is use the TMPDIR/TEMP/TMP environment variable, possibly combined with --no-clean. You can find discussion regarding this at https://github.com/pypa/pip/issues/8333.
ERROR: Could not find a version that satisfies the requirement MySQLdb (from versions: none)
ERROR: No matching distribution found for MySQLdb
you can try installing the following,
pip install pymysql
pip install mysql-connector
pip install mysql-connector-python
or you can go to lfd.uci.edu/~gohlke/pythonlibs/#mysql-python and install the wheels.
It looks like you're using the wrong package to try to install mysqldb through pip. I tried it and got the same error you did this tells me that pip is looking for a package to download and install, but cannot find it.
Try this instead:
pip install MySQL-python
You can learn more about this package here:
https://pypi.org/project/MySQL-python/#description

pyperclip module raising an error message

I'm using Python 3.4.0 on ArchLinux (without X11) as guest in a Vagrant box. When running my script I get this error message:
Pyperclip could not find a copy/paste mechanism for your system
According to this link, I've installed xsel and xclip packages but I cannot install gtk nor PyQt4 modules, because I get this another error message:
Could not find a version that satisfies the requirement PyQt4 (from
versions: )
According to this post, I should install python3-pyqt4 package, but the package more near showed by pacman is python-pyqt5 and it requires to install many packages included packages for X11. Is this necessary? I wish to preserve my distro light as possible.
Any solution? Thanks in advance.
This method fixed it for me.
pip install QtPy
also you could refer to this thread for more help
https://pyperclip.readthedocs.io/en/latest/introduction.html#not-implemented-error

Pip fails to install packages

I'm attempting for several hours to get the package installed, but i really got stuck and i'm so desperate right now.I tried everything here and on the web but, nothin works! i tried first using pycharm to install SciTools and then via terminal but both give me the same error as here you can see(i have mac):
Could not find a version that satisfies the requirement SciTools==0.08 (from versions: )
No matching distribution found for SciTools==0.8
I believe you want to install SciTools==0.8 not version 0.08
I can't make it work either. Maybe you can try to manually install the packages as described in the installation page of SciTools's Google Code Archive.
It would be sudo apt-get install python-scitools on Ubuntu for example.

How do I fix version error when installing petsc4py for use in openmdao

I am trying to install petsc4py with direction found on the Python website but I am getting an error. How do I fix this cant find correct version error? My overall goal is to be able to use openMDAO but I need to start with getting petsc4py working.
The following is the input of the command and then the error I am receiving
pip install petsc petsc4py
Collecting petsc
Could not find a version that satisfies the requirement petsc (from versions: )
No matching distribution found for petsc
Which platform are you running on (Windows, Linux, OS X)?
I have had good luck with installing using pip directly on the BitBucket repos:
pip install --no-deps git+https://bitbucket.org/petsc/petsc#v3.5
pip install --no-deps git+https://bitbucket.org/petsc/petsc4py#3.5

Categories

Resources