-
카테고리
-
세부 분야
프로그래밍 언어
-
해결 여부
미해결
아톰오류
20.01.05 13:44 작성 조회수 83
0
D:\workspace\python_mooc\lab_1_windows\windows>atom arithmetic_function.py
'atom'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다.
아톰오류라서 첫번째과제부터 힘들어요
뭐가 문제인걸까요?
D:\workspace\python_mooc\lab_1_windows\windows>python
Python 3.7.4 (default, Aug 9 2019, 18:34:13) [MSC v.1915 64 bit (AMD64)] :: Anaconda, Inc. on win32
Warning:
This Python interpreter is in a conda environment, but the environment has
not been activated. Libraries may fail to load. To activate this environment
please see https://conda.io/activation
Type "help", "copyright", "credits" or "license" for more information.
>>> import arithmetic_funcion
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'arithmetic_funcion'
>>> arithmetic_function.addition(5,8)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'arithmetic_function' is not defined
이런거만 자꾸 뜨는데 아예 모르겠어요 ㅠㅠ
답변을 작성해보세요.
0
TeamLab
지식공유자2020.01.15
첫번째로 실행전에
conda activate base
를 먼저 실행시키고 python을 실행시켜보시기 바랍니다.
두번째로 `arithmetic_function` 을 뜨위기 위해서는 현재 실행하는 폴더에 `arithmetic_function` 파일이 존재해야 합니다. 파일이 존재하는지 확인 부탁드립니다.
atom이 안될 경우 vs code를 설치를 하는 것이 좋을거 같습니다. 몇일내로 VS code를 설치하는 방법을 올려드리겠습니다.
감사합니다.
답변 1