This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: NameError: name 'path_separators' is not defined
Type: Stage: resolved
Components: Interpreter Core Versions: Python 3.5
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: ionelmc, r.david.murray
Priority: normal Keywords:

Created on 2015-06-01 19:51 by ionelmc, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
msg244609 - (view) Author: Ionel Cristian Mărieș (ionelmc) Date: 2015-06-01 19:51
I get this:

Traceback (most recent call last):
  File "c:\Python27\lib\site-packages\virtualenv\_wheels\pip-7.0.1-py2.py3-none-any.whl\pip\basecommand.py", line 223, in main
    status = self.run(options, args)
  File "c:\Python27\lib\site-packages\virtualenv\_wheels\pip-7.0.1-py2.py3-none-any.whl\pip\commands\install.py", line 297, in run
    root=options.root_path,
  File "c:\Python27\lib\site-packages\virtualenv\_wheels\pip-7.0.1-py2.py3-none-any.whl\pip\req\req_set.py", line 622, in install
    **kwargs
  File "c:\Python27\lib\site-packages\virtualenv\_wheels\pip-7.0.1-py2.py3-none-any.whl\pip\req\req_install.py", line 808, in install
    self.move_wheel_files(self.source_dir, root=root)
  File "c:\Python27\lib\site-packages\virtualenv\_wheels\pip-7.0.1-py2.py3-none-any.whl\pip\req\req_install.py", line 1003, in move_wheel_files
    isolated=self.isolated,
  File "c:\Python27\lib\site-packages\virtualenv\_wheels\pip-7.0.1-py2.py3-none-any.whl\pip\wheel.py", line 266, in move_wheel_files
    compileall.compile_dir(source, force=True, quiet=True)
  File "C:\Program Files\Python 3.5\lib\compileall.py", line 88, in compile_dir
    legacy, optimize):
  File "C:\Program Files\Python 3.5\lib\compileall.py", line 126, in compile_file
    cfile = importlib.util.cache_from_source(fullname)
  File "<frozen importlib._bootstrap_external>", line 267, in cache_from_source
  File "<frozen importlib._bootstrap_external>", line 58, in _path_split
NameError: name 'path_separators' is not defined

Any idea what's going on? Should I try to make a minimal reproducing example?
msg244610 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2015-06-01 20:04
You have a mixture of python2 and python3 involved there, and unless I misunderstand something about pip, that's not going to work.  I think this should be reported to the pip bug tracker, but it may be an error at the python installation level or virtual environment creation level.
msg244624 - (view) Author: Ionel Cristian Mărieș (ionelmc) Date: 2015-06-02 00:32
Ooops, sorry for the noise, I had some weird breakage in my virtualenv.
History
Date User Action Args
2022-04-11 14:58:17adminsetgithub: 68541
2015-06-02 01:19:28r.david.murraysetstage: resolved
2015-06-02 00:32:15ionelmcsetstatus: open -> closed
resolution: not a bug
messages: + msg244624
2015-06-01 20:04:48r.david.murraysetnosy: + r.david.murray
messages: + msg244610
2015-06-01 19:51:56ionelmccreate