Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileNotFoundError: [Errno 2] No such file or directory: 'settings.json' #17

Open
mgconejero opened this issue Dec 6, 2018 · 4 comments

Comments

@mgconejero
Copy link

Try installing the updated repo and I still have the same problem when running the main.py file.

"PS C:\Users\xxxx> & python c:/Users/xxxx/Desktop/InstaPy-master/instapy/Telegram-InstaPy-Scheduling-master/main.py
Traceback (most recent call last):
File "c:/Users/xxxx/Desktop/InstaPy-master/instapy/Telegram-InstaPy-Scheduling-master/main.py", line 21, in
with open('settings.json') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'settings.json' "

Clearly, I am doing something wrong but it is not clear to me what. The 'settings.json' is in the same folder as the main.py ...

Could you expand the steps to follow? Maybe put some generic template?

My knowledge of python is very basic, what I know, I learned it in Instapy ... So I do not rule out being wrong in some step.

@LordAch
Copy link

LordAch commented Dec 12, 2018

same here..

@Tkd-Alex
Copy link
Owner

Send me the screenshot of the folder where Telegram-InstaPy-Scheduling-master is located.
Have you followed all step in readme?

@tE3m
Copy link

tE3m commented Jan 2, 2019

I have created a pull request for this issue. Works fine with my fix from what I tested.
#30 (comment)

@tE3m
Copy link

tE3m commented Jan 2, 2019

While it is not merged, try first cd-ing into the folder and then running main.py.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants