仮想環境でサブライムテキスト3ビルドを実行できないようです。私の最新の試みは崇高なテキストでVirtualenv
パッケージを使用することであって、次のプロジェクト設定を使用していますバーチャル環境で構築するWindows用サブライムテキスト3
{
"folders":
[
{
"path": "."
}
],
"virutalenv": "C:\\Users\\alexa\\Envs\\test5",
"settings": "C:\\Users\\alexa\\Envs\\test5\\Scripts\\python"
}
私はpandas
がインストールされているvenv
を希望:
C:\Users\alexa\Envs\test5\Scripts>activate
(test5) C:\Users\alexa\Envs\test5\Scripts>pip install pandas
Requirement already satisfied: pandas in c:\users\alexa\envs\test5\lib\site-packages
Requirement already satisfied: python-dateutil>=2 in c:\users\alexa\envs\test5\lib\site-packages (from pandas)
Requirement already satisfied: numpy>=1.7.0 in c:\users\alexa\envs\test5\lib\site-packages (from pandas)
Requirement already satisfied: pytz>=2011k in c:\users\alexa\envs\test5\lib\site-packages (from pandas)
Requirement already satisfied: six>=1.5 in c:\users\alexa\envs\test5\lib\site-packages (from python-dateutil>=2->pandas)
(test5) C:\Users\alexa\Envs\test5\Scripts>
しかし、私はある私のビルドを実行するときPython + Virtualenv
に設定され、私は次を得る:
Traceback (most recent call last):
File "C:\Users\alexa\Desktop\SBP\first.py", line 2, in <module>
import pandas
ModuleNotFoundError: No module named 'pandas'
[Finished in 0.4s with exit code 1]
[shell_cmd: python -u "C:\Users\alexa\Desktop\SBP\first.py"]
[dir: C:\Users\alexa\Desktop\SBP]
[path: C:\Program Files\Dell\DW WLAN Card;;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Python35-32;C:\Python35-32\Lib\site-packages\;C:\Python35-32\Scripts\;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;]
ビルドはあなたが作った仮想環境から実行されていることを多くの兆候はありません。 – pvg
@pvg私は同意します。だから私はこれをどうやってやるの? – thefoxrocks
これらの 'python virtualenv'設定はどこで設定していますか?テストとして試してみることの1つは、起動したvenvから崇高なものを起動することです。しかし、それが独立して働くためには、崇高なことを認識し、あなたの特定のvenvを活性化しなければなりません。 – pvg