Comments (16)
It would be best to install through pip install whereami
, did you try that? What OS, which python version?
from whereami.
On Saturday, October 1, 2016 3:33:12 PM ART, Dan Aldred wrote:
Hi
I keep getting this error, is there a list of dependencies that
need to be installed first?Thanks
Please note that some functions required in whereami are available only
in scikit-learn >= 0.18.
I am currently packaging whereami for Arch Linux AUR, and I cannot
ship the latest version because Arch includes python-scikit-learn
0.17.1.
from whereami.
@fcladera If you tell me what is specifically not supported (how the error shows) then I will fix it immediately.
As an aside, I find it strange that Arch doesn't work, isn't it doing rolling upgrades? On my Arch Linux server it is working just fine btw, so I'm very curious for more details :)
from whereami.
I did a tox test with scikit-learn==0.17.0 and indeed, I see what you mean.
from whereami.
Should be fixed as of whereami==0.3.40
.
It will try to use the "new" (model_selection) way of sklearn
first, if not, then use the "old" (cross_validation) way.
try:
from sklearn.model_selection import cross_val_score
except ImportError:
from sklearn.cross_validation import cross_val_score
from whereami.
Hi, I am running it on the Raspberry Pi, using Jessie, I will try the upgrade now.. thanks for the quick response 👍
from whereami.
@TeCoEd You're welcome :) If you recently tried an upgrade, you might want to try to upgrade like pip install -U --no-cache whereami
from whereami.
On Saturday, October 1, 2016 4:05:45 PM ART, Pascal van Kooten wrote:
Should be fixed as of
whereami==0.3.40
.It will try to use the "new" (model_selection) way of
sklearn
first, if not, then use the "old" (cross_validation)
way.try: from sklearn.model_selection import cross_val_score except ImportError: from sklearn.cross_validation import cross_val_score
Hi, sorry for the late answer. I confirm that it works with 0.17.
I'll ship the new version.
from whereami.
Fantastic to be included in AUR :) Note that it was having difficulties installing and it mentioned 2 scikit versions:
Packages (2) python-scipy-0.18.1-1 python-scikit-learn-0.17.1-2
Also, I was only able to find it through yaourt
, is that how it is supposed to be?
Btw, I think I'm not able to install it as I've already installed scikit through pip?
from whereami.
still getting an error: "no module named sklearn",
from whereami.
@kootenpv That's correct, because you must install both scipy
and scikit-learn
to make it work.
It is stated in the scipy-learn website
Built on NumPy, SciPy, and matplotlib
Hence, pacman
installs scipy
as a dependency.
The PKGBUILD has the following dependencies:
depends=( 'python-access_points' 'python-tqdm' 'python-scikit-learn')
(BTW, that means access_points is also in the AUR)
and all the magic is done by yaourt
and pacman
.
You may have problems to install the packages if pip
uses the same location to store the packages. pacman
will not overwrite an existing file.
You will only find this package with yaourt
because it is in AUR, not in the community repository.
https://wiki.archlinux.org/index.php/Arch_User_Repository#What_is_the_AUR.3F
from whereami.
@TeCoEd try
pip install -U scikit-learn
from whereami.
@fcladera The thing is, I already have installed scikit-learn using pip; it is now clashing unfortunately. Or that might result from testing whereami on python 2 as well, I'm not sure. I guess I'll try to remove scikit-learn python 2 and see if I get no clashes.
from whereami.
@kootenpv if you get
/path/to/file exists in filesystem
that means pip
uses the same directory as pacman
. Usually, you cannot install python packages using both pacman
and pip
globally!
This package is for python 3, it will not conflict with python 2 versions.
from whereami.
so now I am trying pip3 for the installation of the dependencies.
from whereami.
still errors here
from whereami.
Related Issues (20)
- failed building wheels for Numpy and Scipy
- Does not refresh locations between each sample (Win 10) HOT 4
- ValueError: Valid presets for class_weight include "auto" and "subsample". Given "balanced". HOT 1
- nonfunctional due to alternative wifi device name HOT 2
- Don't show stacktrace when using Ctrl-C
- missing documentation for mac 10.11.6
- add a time dimension to locations?
- Reset knowledge HOT 1
- Update dependencies
- UnicodeDecodeError when learning HOT 1
- ValueError: n_splits=10 cannot be greater than the number of members in each class. HOT 4
- Locations lose trailing 't' or 'x' HOT 1
- How can I track my phone? HOT 8
- Does deleting {{location}}.txt files affect the model? HOT 1
- whereami rename old_label new_label not working HOT 2
- Unable to run whereami from a launch agent HOT 1
- Installing whereami on MacBook with M1 Chip running Big Sur HOT 2
- Please cooperate with the Openhab project to make binding.
- Support for different floors, aka 3D triangulation. HOT 1
- De HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whereami.