You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gh0st@GH0ST:~/Desktop/pangolin$ python setup.py install
running install
Traceback (most recent call last):
File "setup.py", line 49, in
graphical data."""
File "/usr/local/lib/python2.7/dist-packages/setuptools/init.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "setup.py", line 22, in run
assert len(lib_file) == 1 and len(install_dirs) >= 1
NameError: global name 'install_dirs' is not defined
The text was updated successfully, but these errors were encountered:
Hi,
Some modifies in setup.py worked for me, hope it also works for you.
Please open the file "setup.py" in which there is a inconsistency in a variable's name. Particularly, in line 19 and line 25, it's " install_dir", meanwhile it's "install_dirs" in line 22 and 24. Correct them to a consistent name and reinstall it.
gh0st@GH0ST:~/Desktop/pangolin$ python setup.py install
running install
Traceback (most recent call last):
File "setup.py", line 49, in
graphical data."""
File "/usr/local/lib/python2.7/dist-packages/setuptools/init.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "setup.py", line 22, in run
assert len(lib_file) == 1 and len(install_dirs) >= 1
NameError: global name 'install_dirs' is not defined
The text was updated successfully, but these errors were encountered: