I'm trying to install the package named sshtunnel but I'm getting the followig error:
Error ocurred when installing package 'shhtunnel'
And it shows the following when I click on details:
I have seen that I need to change cryptography version but I don't know how do it
How can I install it?
Thanks!
First of all, upgrade your pip to the latest version and try to install sshtunnel. If this could not solve your problem then set cryptography to version 2.8 using the following command:
pip install cryptography==2.8
Related
I am trying to install flair. It is throwing below error when executing below command:
pip install flair
ERROR: Packages installed from PyPI cannot depend on packages which are not also hosted on PyPI.
tiny-tokenizer depends on SudachiDict_core# https://object-storage.tyo2.conoha.io/v1/nc_2520839e1f9641b08211a5c85243124a/sudachi/SudachiDict_core-20190927.tar.gz
I thought installing this package explicitly might fix the error but it doesn't. The error remains same.
The installed version of SudachiDict-core is below:
SudachiDict-core 0.0.0
Below is the Environment:
OS: Windows 10
Python: 3.6 (64 bit)
Any hint is appreciated. Thank you!
Note:
First hurdle when installing flair was torch package. It was resolved simply when torch package is installed. The error looked like below:
ERROR: Could not find a version that satisfies the requirement torch>=1.1.0 (from flair) (from verERROR: No matching distribution found for torch>=1.1.0 (from flair)
You can try
pip install --upgrade git+https://github.com/zalandoresearch/flair.git
Source: https://github.com/flairNLP/flair/issues/1327#issuecomment-571639994
Or
to install separately:
pip install tiny-tokenizer
After this run:
pip install flair
It is strange running below command solved the problem.
pip install flair==0.4.3
I assume that the problem is in a latest version 0.4.4 (and its dependencies).
Note: I had torch==1.1.0 package already installed.
I am trying to install "CMake" with command
pip3 install CMake.
Its gives an error for a module "skbuild"
from skbuild import setup, ModuleNotFoundError: No module named 'skbuild'
But but when tried to install skbuild with command
pip3 install skbuild
it gives error
"Could not find a version that satisfies the requirement skbuild (from versions: ) No matching distribution found for skbuild".
I am not able to solve this error. Please help. I trying the implementation it on Window 10. Using Python 3.7.0. I tried couple of versions of pip3 (10.0.1, 9.0.3, 9.0.2, 9.0.1). Nothing is working.
Try pip install scikit-build. For me, pip install cmake works properly afterwards.
this worked for me while installation of this github repo https://github.com/ultralytics/yolov3
# For pip
pip install scikit-build
# For pip3
pip3 install scikit-build
There are pre-compiled binaries available on THIS page for Windows as MSI packages and ZIP files. You can find the one for the OS you are using.
If you want to proceed with your current approach then can you can probably refer THIS LINK
Environment: python 3.6.2
When I try to install tensorflow-gpu with this command:
pip3 install --upgrade tensorflow-gpu
It throws an error message when it tries to install related packeg:futures
Unknown requires Python '>=2.6, <3' but the running Python is 3.6.2.
But futures is python2 only package.
How can I handle it?
I find the issue in github :
https://github.com/tensorflow/tensorflow/issues/16478
it should install futures first:
pip3 install futures==3.1.1
You can download the source from pypi futures-3.2.0.tar.gz and install.
I use Python 3.5.2.
I installed imapclient with no problem pip install imapclient. However when I tried to install pyzmail, pip install pyzmail, I received error message below:
ImportError: No module named '_markerlib'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\J
\AppData\Local\Temp\pip-build-ntukh55u\distribute\
To those who find this thread and have switched to Python 3.6, this pyzmail fork enabling pip install on Python 3.6 worked very well for me :
pip install pyzmail36
I had the same problem, and resolved it using: easy_install pyzmail
I just had this issue and solved it this way: type pip install setuptools==20.1.1, then try pip install pyzmail again. I had the latest version of setuptools (version 34.something) and it seems this version gets buggy when installing pyzmail.
use pip install pyzmail36
This claims to be "a fork which is meant to be pip installable on python 3.6+".
I had the same issue when using Python 3.8.5 on Windows 10.
After successfully installing imapclient, I used this command, which worked fine:
pip install --user pyzmail36==1.0.4
if you have already solve the problems , I hope 'yes' , but it is very easy you need just to writte
pip install --user pyzmail36*
It will install properly the last version ! but take a look at your python version ---> python --version because sometimes it needs to be update .
I got this error in python script:
from hmmlearn.hmm import
GaussianHMM I know I need some libraries thats why I ran following
git clone git://github.com/hmmlearn/hmmlearn.git
pip install -U --user hmmlearn
I getting stuck because of this problem. I didn't get any solution, I tried google and many commands but problem still happen.
I solved this by cloning the repository and running:
sudo python setup.py install
It seems like according to the git-hub page of the repo it requires specific versions of some packages. Make sure you do a pip upgrade for all those packages
Python >=2.6
numpy >= 1.9.3
scipy >= 0.16.0
scikit-learn >= 0.16
then try it will work
to upgrade a package do simple
pip install --upgrade <package-name>