`NotADirectoryError` when starting server after installing from source
See original GitHub issueHi,
Using Python 3.6.1 |Anaconda custom (64-bit)
:
git clone https://github.com/facebookresearch/visdom.git
cd visdom
python setup.py install
python -m visdom.server
returns:
Traceback (most recent call last):
File "/home/pltrdy/anaconda3/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/pltrdy/anaconda3/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/pltrdy/anaconda3/lib/python3.6/site-packages/visdom-0.1.5-py3.6.egg/visdom/server.py", line 622, in <module>
File "/home/pltrdy/anaconda3/lib/python3.6/site-packages/visdom-0.1.5-py3.6.egg/visdom/server.py", line 576, in download_scripts
File "/home/pltrdy/anaconda3/lib/python3.6/os.py", line 220, in makedirs
mkdir(name, mode)
NotADirectoryError: [Errno 20] Not a directory: '/home/pltrdy/anaconda3/lib/python3.6/site-packages/visdom-0.1.5-py3.6.egg/visdom'
It was working when I installed using pip, but then I can’t run example/demo.py
because there was no Visdom.check_connection
.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
NotADirectoryError when starting server after installing from ...
Hi, Using Python 3.6.1 |Anaconda custom (64-bit): git clone https://github.com/facebookresearch/visdom.git cd visdom python setup.py install ...
Read more >mysql configuration stops at "starting server" - Stack Overflow
Here is what I did: Installed it with mysql-installer-web-community-5.6.23.0.msi; For my purposes I selected "Custom" install with MySQL servers 5.6.22 ...
Read more >"The directory name is invalid" error message when you start ...
C:\Windows\system32\Notepad.exe The directory name is invalid. To use the Run as feature, you click The following user in the Run as dialog box,...
Read more >Setup - Robusta master documentation
If you encounter NotADirectoryError: [Errno 20] Not a directory while trying to debug, you may need to disable the Attach to subprocess option...
Read more >R for Windows FAQ - The Comprehensive R Archive Network
After installation you may choose a working directory for R. By default, it is the Windows "personal" directory (typically ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@pltrdy I’m investigating what might’ve happened now
Alright I think I’ve come to the core of the problem, going to push a fix soon. After moving to setuptools from distutils the installation flow from source is a little different from what is currently in the docs.
If you want to get ahead of the fix, change
zip_safe
insetup.py
to False, then useeasy_install .
from within the visdom directory rather thanpip