Forum Discussion
letmeliev
5 years agoNew Traveler
I need help with exporting and testing my mod.
I followed every step of the tutorial posted in modthesims (https://modthesims.info/showthread.php?t=611227&c=1&ht=&page=1&pp=25#startcomments) but got stuck at step #14:
"In the search bar on the Taskbar of your computer's desktop screen (right next to the start button, or found by clicking the start button) type: "cmd" and enter. Do not use quotation marks in this or any other type instructions that follow.
In the black box type: "import YourUserName_Careers_CareerName.py" (example import Simmiller_Careers_AirlineEmployee.py) and enter. This is the exact name of the .py file from step 13 that you put in C://Python37 (or wherever you have Python on your computer).
NOTE: You may see an error response in the cmd box after completing this step. You can ignore this error if the correct file shows, as described in step 15.
? If using cmd to run Python results in the .py file not being imported into your _pycache_ folder, close the cmd window and go directly into your Python folder, where you have it installed. Click on the Python.exe file, then import your .py file."
I have tried what someone else suggested down in the comments. When I type " I type "import Baveigar_Careers_ClinicalPsychologist.py" in either the command prompt or straight into python.exe, I get this error message:
Traceback (most recent call last):
File "", line 1, in
File "C:\Python37\Baveigar_Careers_ClinicalPsychologist.py", line 2, in
import services
ModuleNotFoundError: No module named 'services'
So I cannot finish because step #14 doesn't work for me.
I followed every step of the tutorial posted in modthesims (https://modthesims.info/showthread.php?t=611227&c=1&ht=&page=1&pp=25#startcomments) but got stuck at step #14:
"In the search bar on the Taskbar of your computer's desktop screen (right next to the start button, or found by clicking the start button) type: "cmd" and enter. Do not use quotation marks in this or any other type instructions that follow.
In the black box type: "import YourUserName_Careers_CareerName.py" (example import Simmiller_Careers_AirlineEmployee.py) and enter. This is the exact name of the .py file from step 13 that you put in C://Python37 (or wherever you have Python on your computer).
NOTE: You may see an error response in the cmd box after completing this step. You can ignore this error if the correct file shows, as described in step 15.
? If using cmd to run Python results in the .py file not being imported into your _pycache_ folder, close the cmd window and go directly into your Python folder, where you have it installed. Click on the Python.exe file, then import your .py file."
I have tried what someone else suggested down in the comments. When I type " I type "import Baveigar_Careers_ClinicalPsychologist.py" in either the command prompt or straight into python.exe, I get this error message:
Traceback (most recent call last):
File "
File "C:\Python37\Baveigar_Careers_ClinicalPsychologist.py", line 2, in
import services
ModuleNotFoundError: No module named 'services'
So I cannot finish because step #14 doesn't work for me.