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

16.1.0 breaks installation using node-vritualenv #1240

Closed
YifeiZuo01 opened this issue Nov 2, 2018 · 2 comments
Closed

16.1.0 breaks installation using node-vritualenv #1240

YifeiZuo01 opened this issue Nov 2, 2018 · 2 comments

Comments

@YifeiZuo01
Copy link

Traceback from windows, but is OS independent, as same issue occured in Linux, Mac as well.

There is something wrong, but not sure where it locates.

FYI: https://github.com/mjpizz/node-virtualenv/blob/master/lib/virtualenv.js#L237-L246 (node-virtualenv file which raised exception)

Finding virtualenv *
Downloading https://files.pythonhosted.org/packages/4e/8b/75469c270ac544265f0020aa7c4ea925c5284b23e445cf3aa8b99f662690/virtualenv-16.1.0.tar.gz
Unzipping https://files.pythonhosted.org/packages/4e/8b/75469c270ac544265f0020aa7c4ea925c5284b23e445cf3aa8b99f662690/virtualenv-16.1.0.tar.gz
Creating C:\my-project\node_modules\mbedls\.node-virtualenv
python: can't open file 'virtualenv.py': [Errno 2] No such file or directory
Error: Error while creating virtualenv: exit 2
    at VirtualEnv.<anonymous> (C:\my-projecct\node_modules\virtualenv\lib\virtualenv.js:246:31)    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)

Workaround: use 16.0.0 instead will passed.

@gaborbernat
Copy link
Contributor

Feels more like a node-virtualenv integration issue than bug on our end 🤔

@jupe
Copy link

jupe commented Nov 2, 2018

Feels more like a node-virtualenv integration issue than bug on our end

Could be. I would like to understand reasons why you think it's not virtualenv issue ?

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

3 participants