I have windows 10. I am using python 3.5 and the following dependencies:
tensorflow==1.2.0
numpy==1.14.2
pandas==0.22.0
h5py==2.7.1
I download the code from this link: here
I am running it but I faced the following problem: ImportError: save_model requires h5py.
I google it I found that I need to install these dependencies:
List libhdf5
List h5py
h5py was installed, but libhdf5 can't:
Could not find a version that satisfies the requirement libhdf5 (from versions: )
No matching distribution found for libhdf5
Any help?
Related
Suddenly pip cant install or find any package, it cant even figure out its own version.
I reinstalled python multiple times, i have the latest version of python 3 and pip. I also tried to clear pip cache. Nothing works, this is really annoying...
Errors:
>pip install redblacktree
ERROR: Could not find a version that satisfies the requirement redblacktree (from versions: none)
ERROR: No matching distribution found for redblacktree
WARNING: There was an error checking the latest version of pip
>pip config list
freeze.user='yes'
global.index-url='http://pypi.org/simple'
global.trusted-host='pypi.org'
install.user='yes'
list.user='yes'
uninstall.user='yes'
I fixed it by locating the pip.ini config file and removing the line index-url = http://pypi.org/simple
I am trying to specify a minimum package version in a pypi setup.cfg file. I have written this:
install_requires =
cocotb>=1.5.2
But I get this error message when I test my package installation:
ERROR: Could not find a version that satisfies the requirement cocotb>=1.5.2 (from pyuvm) (from versions: 1.0.20170128)
ERROR: No matching distribution found for cocotb>=1.5.2
It seems to be using the version number as part of the package name. When I install cocotb manually I see the correct version:
(clean) (base) raysalemi#RayProMac pyuvm % pip list
Package Version
---------- -------
cocotb 1.5.2
All the help I've seen on this refers to the setup.py file, but I am working with the setup.cfg file. What is the syntax to specify a module and version?
The syntax is correct. The problem was that cocotb 1.5.2 is not on test.pypi.org
Recently I have been installed Python 3.8.2 ( Feb 24, 2020) (64bit, Windows). Afterward, I've been updated Pip 20.0.2. And then trying to install Unittest" pip install unittest" but unfortunately it's appearing this message.
Does anyone has been faced this same problem?
C:\Users\BiploB>pip install unittest --user
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
ERROR: Could not find a version that satisfies the requirement unittest (from versions: none)
ERROR: No matching distribution found for unittest
enter link description here
If I am not mistaken unittest is part of Python's standard library. Meaning, it's available per default, meaning there is no need (and also no way) to install separately.
I'm trying to install the package "Tax4Fun" but keep failing.
I've tried 2 different ways:
install.packages("devtools")
devtools::install_url("http://tax4fun.gobics.de/Tax4Fun/Tax4Fun_0.3.1.tar.gz")
library(Tax4Fun)
The error that I get is:
ERROR: dependency 'biom' is not available for package 'Tax4Fun'
I've also tried installing biom directly
BiocManager::install("biom")
which does not work either
Bioconductor version 3.10 (BiocManager 1.30.10), R 3.6.1 (2019-07-05)
Installing package(s) 'biom'
Installation path not writeable, unable to update packages: boot, foreign, KernSmooth,
mgcv, nlme, survival
Warning message:
package ‘biom’ is not available (for R version 3.6.1)
The other way I've tried to install Tax4Fun directly is
BiocManager::install("Tax4Fun")
I get the following error code:
Bioconductor version 3.10 (BiocManager 1.30.10), R 3.6.1 (2019-07-05)
Installing package(s) 'Tax4Fun'
Installation path not writeable, unable to update packages: boot, foreign, KernSmooth,
mgcv, nlme, survival
Warning message:
package ‘Tax4Fun’ is not available (for R version 3.6.1)
Please help :)
You need to install it by downloading the packages from source (http://tax4fun.gobics.de). Then it depends whether you are running on Linux/Mac or Windows.
From the command line, you navigate to the folder containing the .tar.gz downloaded package. Then you should install it using:
R CMD INSTALL Tax4Fun_0.3.1.tar.gz
But dependancies are not installed by default. So you need to install dependancies manually, Qiimer and Biom, which are both deprecated on Cran. You install them using the same command, after you have downloaded the packages from the Cran archives.
Before that, you need to also install their dependancies in R:
install.packages("pheatmap")
install.packages("RJSONIO")
Then you should be able to proceed as mentioned above: install Qiimer and Biom from the command line first. Then Tax4Fun from the command line too.
If you are running on Windows you should have quite the same issues, but the installation of the different packages and dependancies is different. You can have a look at the readme at http://tax4fun.gobics.de
I am trying out googleDataStore with the tutorial using pip 1.5.4
https://developers.google.com/datastore/docs/getstarted/start_python/
I am running on a Mac and getting stuck on the installation of the datastore
virtualenv gcd
gcd/bin/pip install googledatastore
I get an error
Downloading/unpacking googledatastore
Could not find a version that satisfies the requirement googledatastore (from versions: v1beta1-rev1-1.0.0, v1beta1-rev2-1.0.1, v1beta2-rev1-2.0.0, v1beta2-rev1-2.1.0)
Cleaning up...
No distributions matching the version for googledatastore
Storing debug log for failure in /Users/ryan/.pip/pip.log
In the log ~/.pip/pip.log there is quite a bit and it ends off with
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/req.py", line 1177, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/index.py", line 322, in find_requirement
raise DistributionNotFound('No distributions matching the version for %s' % req)
DistributionNotFound: No distributions matching the version for googledatastore
Solution is: pip install --pre googledatastore
I will leave the question up because I did not find this in my google search here is my source. It is not quite a duplicate but close
Source for solution: Could not find a version that satisfies the requirement pytz
Might be off topic, but you may be interested in gcloud-python (documentation).