Comments (13)
What OS are you on? Is it macOS? Also, can you check in your site-packages
directory if the atom directory is present? Also, how can you run import atom; atom.__version__ 5.1.1
if you weren't able to import it in the first place?
from atom.
using Win 10. It is in site-packages directory.
If I use pip to show it I get
(basicai) C:\Users\User>pip show atom_ml
WARNING: Ignoring invalid distribution -ttpx (c:\users\user\anaconda3\envs\basicai\lib\site-packages)
Name: atom-ml
Version: 5.1.1
Summary: A Python package for fast exploration of machine learning pipelines
Home-page:
Author:
Author-email: Mavs [email protected]
License:
Location: c:\users\user\anaconda3\envs\basicai\lib\site-packages
I am trying to use it in a jupyter notebook
from atom.
Ok, so it is installed but for some reason it can not be imported. Maybe your pythonpath is wrong? what happens when you copy the atom-ml directory from site-packages to your current working directory?
from atom.
I get this
ModuleNotFoundError Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_16608\3307495225.py in
----> 1 import atom
~\atom_init_.py in
8 """
9
---> 10 from atom.api import ATOMClassifier, ATOMModel, ATOMRegressor
11 from atom.utils import version
~\atom\api.py in
14 from sklearn.base import clone
15
---> 16 from atom.atom import ATOM
17 from atom.basetransformer import BaseTransformer
18 from atom.utils import INT, SCALAR, SEQUENCE, TARGET, Predictor
~\atom\atom.py in
22 from sklearn.utils.metaestimators import available_if
23
---> 24 from atom.baserunner import BaseRunner
25 from atom.basetransformer import BaseTransformer
26 from atom.branch import Branch
~\atom\baserunner.py in
21 from sklearn.utils.metaestimators import available_if
22
---> 23 from atom.basemodel import BaseModel
24 from atom.basetracker import BaseTracker
25 from atom.basetransformer import BaseTransformer
~\atom\basemodel.py in
21
22 import dill as pickle
---> 23 import mlflow
24 import numpy as np
25 import pandas as pd
ModuleNotFoundError: No module named 'mlflow'
from atom.
oke, in this case you are missing some dependencies. are you sure you installed atom in the same environment your kernel is on? could you try and reinstall atom again and see if the output changed? or just install mlflow separately.
from atom.
I'm new at this but as I can install other packages happily and I'm getting errors with this one is the problem more likely to be with the package in some way? I'm not keen on putting directories and files all over the place. I'm trying to keep it tidy in virtual environments.
from atom.
I have tried installing it in another virtual environment by itself and got
~\atom\utils.py in
28
29 import mlflow
---> 30 import modin.pandas as md
31 import numpy as np
32 import pandas as pd
ModuleNotFoundError: No module named 'modin'
from atom.
are you using pip or conda? In the new env the error is clear. you are missing the modin
package, which is a dependency of atom. The question is why isn't it being installed with the package. I tried it myself in a new virtual env and it works fine, so I am not sure it's the package
from atom.
I've been using pip rather than conda
from atom.
Tried with conda
(basicai) C:\Users\User>conda config --set channel_priority strict
(basicai) C:\Users\User>conda install atom-ml
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- atom-ml
Current channels:
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
from atom.
you need to use conda install -c conda-forge atom-ml
. But still, it should work with pip
. It looks to me that the issue is related to environments. I think you didn't install atom in the same env as your kernel is running. That's why, when you import atom from the directory you copy pasted, it misses some dependencies.
from atom.
Agreed there is something environmental going on.. However I've got it running on Google Colab so all Good!!! Thank you for your help. This can be closed as far as I am concerned
from atom.
alright. don't hesitate to open a new issue if something else arises
from atom.
Related Issues (18)
- PicklingError: Could not pickle the task to send it to the workers. HOT 2
- Jupyter kernel dies with njobs > 1 HOT 3
- Feature request: Support SKLearn pipelines HOT 2
- [Error when setting custom BO params] HOT 2
- Atom process keeps getting "Killed" HOT 3
- Adding Zoofs into the feature selection options HOT 2
- Hyperparameter tuning - IndexError: positional indexers are out-of-bounds HOT 4
- How can I save model with feature_generation HOT 7
- Reload Error HOT 3
- Can't run deeplearning example due to AttributeError HOT 2
- Support multi-dimensional y data HOT 4
- Running into issues with binary classification example HOT 2
- How to save the LightGBM Regressor trained using ATOM Pipeline to get prediction intervals using MAPIE HOT 1
- Multilabel Classification method give the same results HOT 6
- Error when running the "getting started" example HOT 3
- Branching breaks voting HOT 4
- Keras & Atom incompatibility? HOT 5
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 atom.