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

Spaces in path name may break pip requirements installation #1771

Closed
el-tocino opened this issue Aug 29, 2018 · 1 comment
Closed

Spaces in path name may break pip requirements installation #1771

el-tocino opened this issue Aug 29, 2018 · 1 comment

Comments

@el-tocino
Copy link
Contributor

How to submit an Issue to a Mycroft repository

Extracted from #1475

Be clear about the software, hardware and version you are running

  • I'm running a desktop/git install
  • With the current dev branch
  • With the standard Wake Word

Try to provide steps that we can use to replicate the Issue

  1. change into a directory that has spaces in the name.
  2. clone mycroft-core somewhere under it.
  3. run dev_setup.sh from within mycroft-core
  4. note the errors that occur from pip installing requirements.txt

Be as specific as possible about the expected condition, and the deviation from expected condition.

  • When you run this from a path that does not have spaces, it works as expected. When run from a path containing spaces, it outputs the error, and queries the user to continue.

Provide log files or other output to help us see the error

(I'm using "/opt/test path" as my test directory)

Adding pip 9.0.1 to easy-install.pth file
Installing pip3.5 script to /opt/test path/mycroft-core/.venv/bin
Installing pip3 script to /opt/test path/mycroft-core/.venv/bin
Installing pip script to /opt/test path/mycroft-core/.venv/bin

Installed /opt/test path/mycroft-core/.venv/lib/python3.5/site-packages/pip-9.0.1-py3.5.egg
Processing dependencies for pip==9.0.1
Finished processing dependencies for pip==9.0.1
grep: /opt/test: No such file or directory
grep: path/mycroft-core/.venv/lib/python3.5/site-packages/_virtualenv_path_extensions.pth: No such file or directory
Adding mycroft-core to virtualenv path
./dev_setup.sh: /opt/test path/mycroft-core/.venv/bin/pip: "/opt/test: bad interpreter: No such file or directory
Warning: Failed to install all requirements. Continue? y/N
y./dev_setup.sh: /opt/test path/mycroft-core/.venv/bin/pip: "/opt/test: bad interpreter: No such file or directory
Warning test requirements wasn't installed, Note: normal operation should still work fine...
@el-tocino
Copy link
Contributor Author

Related, and closing this. pypa/virtualenv#53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant