-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import error: no module named dependencies #347
Comments
The source of the error is a failed import in the file dash.py, where it can't find the module |
Yes, I had created dash.py file and then removed it completely from the
folder but I can't get rid of this error.
…On Fri, Aug 24, 2018 at 5:56 PM Ned Letcher ***@***.***> wrote:
The source of the error is a failed import in the file dash.py, where it
can't find the module dependencies. The strange thing about this is that
the current version of Dash (and no release for some time, looking at a
versions back) does not have the dependencies import line until some
lines beyond line 5. Do you happen to have another file named 'dash'
somewhere in the current folder you're working from? If you do, that could
explain it. Try moving/renaming that file and running again.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#347 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AOXivASn2GsFiWe0yoo0XTNyLcNPEmp1ks5uT_fggaJpZM4WLSSG>
.
|
So, I created another file and I haven't imported dash in this. I have
added "import dash_core_components". And now I am getting error on this
line, which is: "ImportError: No module named dash_core_components".
Getting same error for "dash_html_components" and "plotly.graph_objs".
On Sat, Aug 25, 2018 at 1:15 PM zumar noor <zumar.noor.mirani@gmail.com>
wrote:
… Yes, I had created dash.py file and then removed it completely from the
folder but I can't get rid of this error.
On Fri, Aug 24, 2018 at 5:56 PM Ned Letcher ***@***.***>
wrote:
> The source of the error is a failed import in the file dash.py, where it
> can't find the module dependencies. The strange thing about this is that
> the current version of Dash (and no release for some time, looking at a
> versions back) does not have the dependencies import line until some
> lines beyond line 5. Do you happen to have another file named 'dash'
> somewhere in the current folder you're working from? If you do, that could
> explain it. Try moving/renaming that file and running again.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#347 (comment)>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/AOXivASn2GsFiWe0yoo0XTNyLcNPEmp1ks5uT_fggaJpZM4WLSSG>
> .
>
|
Have you installed all of the libraries? https://dash.plot.ly/installation |
Yes, all of them
…On Sat, Aug 25, 2018 at 8:42 PM Chris Parmer ***@***.***> wrote:
Have you installed all of the dependencies?
https://dash.plot.ly/installation
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#347 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AOXivERHgXFh67Eiv4buVzBQFSXvBwN_ks5uUXB_gaJpZM4WLSSG>
.
|
I'm assuming that the issue is that
|
Sorry, I should have mentioned earlier I am getting this error inside my docker project. I tried to run a file with dash imports outside my docker project, it didn't give such error. I have this line in Dockerfile: "RUN pip install -r requirements.txt" and all the above packages in requirements.txt. What should I do about it? |
ah ok. i’m not sure, but this seems more like an issue with managing dependencies in docker rather than an issue with dash. we don’t do anything particular in our python distribution, so this sounds like a more generic issue outside the scope of this project. |
hey,I'm getting the same error
I have installed the latest version too and tried all the methods you have listed above but still getting this error @chriddyp @ned2 @ZnoorZ @josegonzalez @nicolaskruchten @ |
@MAHIMACHANDWANI2125, can you post the output of |
I used the commands above given by @chriddyp
|
The way of installing dash has installed has changed. You now simply want to create and activate a fresh virtual environment and then run:
If you're still experiencing issues, I'd recommend posting on the Dash community forum, as it's the place to go for technical support. |
Fixed wrong npm script name in README.md
tenia el mismo error y la solución fue borrar un archivo que había nombrado como Dash.py |
Hi,
I am trying to run this code: usage-editable.py exactly as it is. I've completed the installation carefully : dash installation but I am getting this error :
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line72, in _run_code
exec code in run_globals
File "/myfolder/../usage-editable.py", line 1, in
import dash
File "dash.py", line 5, in
ImportError: No module named dependencies
Can't figure out how to resolve this issue.
The text was updated successfully, but these errors were encountered: