Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--relocatable is broken on Windows #486

Closed
techtonik opened this issue Oct 26, 2013 · 2 comments
Closed

--relocatable is broken on Windows #486

techtonik opened this issue Oct 26, 2013 · 2 comments

Comments

@techtonik
Copy link

C:\__py>py -m virtualenv --relocatable test
The environment doesn't have a file test\Scripts\activate_this.py -- please re-run virtualenv on this
 environment to update it
Traceback (most recent call last):
  File "C:\Python27\lib\runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "C:\Python27\lib\runpy.py", line 72, in _run_code
    exec code in run_globals
  File "C:\Python27\lib\site-packages\virtualenv.py", line 2308, in <module>
    main()
  File "C:\Python27\lib\site-packages\virtualenv.py", line 805, in main
    make_environment_relocatable(home_dir)
  File "C:\Python27\lib\site-packages\virtualenv.py", line 1583, in make_environment_relocatable
    fixup_scripts(home_dir, bin_dir)
  File "C:\Python27\lib\site-packages\virtualenv.py", line 1604, in fixup_scripts
    for filename in os.listdir(bin_dir):
WindowsError: [Error 3] The system cannot find the path specified: 'test\\Scripts/*.*'
@techtonik
Copy link
Author

1.10.1

@techtonik
Copy link
Author

Looks like duplicate #49. In any way, it doesn't reproduce with 1.11.6

@pypa pypa locked and limited conversation to collaborators Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant