Skip to content

Commit efa7071

Browse files
Update troubleshooting.md
1 parent e00014c commit efa7071

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: doc/python/troubleshooting.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ In order to follow the examples in this documentation site, you should have the
4141

4242
### Import Problems
4343

44-
Most `import` problems or `AttributeError`s can be traced back to having multiple versions of `plotly` installed, for example once with `conda` and once with `pip`. It's often worthwhile to uninstall with both methods before following the [Getting Started](/python/getting-started) instructions from scratch with one or the other. You can run the following commands in a terminal to fully remove `plotly` before installing again:
44+
It's very important that you not have a file named `plotly.py` in the same directory as the Python script you're running, and this includes not naming the script itself `plotly.py`, otherwise importing `plotly` can fail with mysterious error messages.
45+
46+
Beyond this, most `import` problems or `AttributeError`s can be traced back to having multiple versions of `plotly` installed, for example once with `conda` and once with `pip`. It's often worthwhile to uninstall with both methods before following the [Getting Started](/python/getting-started) instructions from scratch with one or the other. You can run the following commands in a terminal to fully remove `plotly` before installing again:
4547

4648
```bash
4749
$ conda uninstall plotly

0 commit comments

Comments
 (0)