質問編集履歴

4

変更

2023/09/07 03:47

投稿

Study
Study

スコア1

test CHANGED
@@ -1 +1 @@
1
- Anacondaで作った仮想環境をVSCodeで使ったら設定が消え
1
+ Anacondaで作った仮想環境をVSCodeで使ったら設定が変更され
test CHANGED
File without changes

3

henkou

2023/09/07 03:43

投稿

Study
Study

スコア1

test CHANGED
File without changes
test CHANGED
@@ -61,11 +61,11 @@
61
61
  many reasons, often due to issues with your setup or how NumPy was
62
62
  installed.
63
63
 
64
- We have compiled some common reasons and troubleshooting tips at:
64
+ We have compiled some common reasons and troubleshooting tips at
65
65
 
66
- https://numpy.org/devdocs/user/troubleshooting-importerror.html
66
+ https://numpy.org/devdocs/user/troubleshooting-importerror.html
67
67
 
68
- Please note and check the following:
68
+ Please note and check the following
69
69
 
70
70
  * The Python version is: Python3.7 from "C:\Users\User\anaconda3\envs\open3d\python.exe"
71
71
  * The NumPy version is: "1.21.5"

2

henkou

2023/09/07 03:43

投稿

Study
Study

スコア1

test CHANGED
File without changes
test CHANGED
@@ -52,13 +52,37 @@
52
52
 
53
53
  IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
54
54
 
55
+
56
+ Importing the numpy C-extensions failed. This error can happen for
57
+ many reasons, often due to issues with your setup or how NumPy was
58
+ installed.IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
59
+
55
60
  Importing the numpy C-extensions failed. This error can happen for
56
61
  many reasons, often due to issues with your setup or how NumPy was
57
62
  installed.
63
+
64
+ We have compiled some common reasons and troubleshooting tips at:
65
+
66
+ https://numpy.org/devdocs/user/troubleshooting-importerror.html
67
+
68
+ Please note and check the following:
69
+
70
+ * The Python version is: Python3.7 from "C:\Users\User\anaconda3\envs\open3d\python.exe"
71
+ * The NumPy version is: "1.21.5"
72
+
73
+ and make sure that they are the versions you expect.
74
+ Please carefully study the documentation linked above for further help.
75
+
76
+ Original error was: DLL load failed: 指定されたモジュールが見つかりません。
77
+ ImportError: DLL load failed: 指定されたモジュールが見つかりません。
78
+
79
+ During handling of the above exception, another exception occurred:
80
+
81
+ File "C:\Users\User\Desktop\PythonProgram\transport.py", line 5, in <module>
82
+ import numpy as np
58
83
 
59
84
 
60
85
 
61
86
 
62
87
 
63
88
 
64
-

1

補足の変更

2023/09/06 07:42

投稿

Study
Study

スコア1

test CHANGED
File without changes
test CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  ```
3
- // 環境baseのスクリプト
3
+ // 環境baseのスクリプト(VSCodeで実装)
4
4
  import sys
5
5
  print(sys.executable)
6
6
  // C:\Users\Name\anaconda3\python.exe
@@ -19,7 +19,7 @@
19
19
  pip freeze
20
20
  // 40個ぐらいでてくる
21
21
  ----------------------------------------------------------------------------
22
- // 環境env1のスクリプト
22
+ // 環境env1のスクリプト(VSCodeで実装)
23
23
  import sys
24
24
  print(sys.executable)
25
25
  // C:\Users\Name\anaconda3\envs\env1\python.exe