无法完全安装OpenAI Gym-无法使用'“ c:\ python37-32 \ python.exe”创建进程

时间:2019-05-04 19:48:35

标签: python pip openai-gym

我正在尝试使用命令const https = require('https') // wrap node's https.get stream call as a promise // note: assumes utf-8 encoded data payload to get. async function getdata(url) { return new Promise((resolve, reject) => { https.get(url, (res) => { res.setEncoding('utf8'); let data = ''; res.on('data', (chunk) => { data = data + chunk; }); res.on('end', () => { resolve(data); }) }).on('error', (e) => { reject(e); }); }); } // Call from sails controller module.exports = { myaction: async function(req, res) { let data; try { data = await getdata('https://example.com/index.html'); } catch (e) { // handle it } ... } } 完整安装OpenAI Gym。

但是,出现错误: pip install -e '.[all]'。有人知道这意味着什么吗?或者以前曾遇到过此问题?

我正在使用Windows 7(64位)。以下是有关我的计算机上安装的Python的信息: Fatal error in launcher: Unable to create process using '"c:\python37-32\python.exe" "C:\Python37-32\Scripts\pip.exe" install -e '.[all]''

在此先感谢您的帮助。

1 个答案:

答案 0 :(得分:1)

尝试一下:

python -m pip install -e '.[all]'