Hi,
I just installed pep8==1.3.1 (Python 2.7) and when I run it, I immediatly get the following error:
(default) E:\Builds\EnvivioToolBox\trunk>pep8 --help
Traceback (most recent call last):
File "E:\Tools\PythonEnv\venvs\default\Scripts\pep8-script.py", line 8, in
load_entry_point('pep8==1.3.1', 'console_scripts', 'pep8')()
File "E:\Tools\PythonEnv\venvs\default\lib\site-packages\pkg_resources.py", li
ne 318, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "E:\Tools\PythonEnv\venvs\default\lib\site-packages\pkg_resources.py", li
ne 2221, in load_entry_point
return ep.load()
File "E:\Tools\PythonEnv\venvs\default\lib\site-packages\pkg_resources.py", li
ne 1954, in load
entry = import(self.module_name, globals(),globals(), ['name'])
File "E:\Tools\PythonEnv\venvs\default\lib\site-packages\pep8.py", line 117, i
n
os.path.join(os.getenv("HOME"), ".config"), "pep8")
File "E:\Tools\PythonEnv\venvs\default\lib\ntpath.py", line 96, in join
assert len(path) > 0
TypeError: object of type 'NoneType' has no len()
I get the same issue with 1.3 but not 1.2. Anything that's new and I missed somehow?
Cheers
Hi,
I just installed pep8==1.3.1 (Python 2.7) and when I run it, I immediatly get the following error:
(default) E:\Builds\EnvivioToolBox\trunk>pep8 --help
Traceback (most recent call last):
File "E:\Tools\PythonEnv\venvs\default\Scripts\pep8-script.py", line 8, in
load_entry_point('pep8==1.3.1', 'console_scripts', 'pep8')()
File "E:\Tools\PythonEnv\venvs\default\lib\site-packages\pkg_resources.py", li
ne 318, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "E:\Tools\PythonEnv\venvs\default\lib\site-packages\pkg_resources.py", li
ne 2221, in load_entry_point
return ep.load()
File "E:\Tools\PythonEnv\venvs\default\lib\site-packages\pkg_resources.py", li
ne 1954, in load
entry = import(self.module_name, globals(),globals(), ['name'])
File "E:\Tools\PythonEnv\venvs\default\lib\site-packages\pep8.py", line 117, i
n
os.path.join(os.getenv("HOME"), ".config"), "pep8")
File "E:\Tools\PythonEnv\venvs\default\lib\ntpath.py", line 96, in join
assert len(path) > 0
TypeError: object of type 'NoneType' has no len()
I get the same issue with 1.3 but not 1.2. Anything that's new and I missed somehow?
Cheers