this post was submitted on 25 Jul 2023
245 points (96.9% liked)
Fediverse
28396 readers
189 users here now
A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).
If you wanted to get help with moderating your own community then head over to [email protected]!
Rules
- Posts must be on topic.
- Be respectful of others.
- Cite the sources used for graphs and other statistics.
- Follow the general Lemmy.world rules.
Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
First, edit the .ini file with your lemmy servers, usernames and passwords.
Then make sure you have python interpreter with requests installed. You can check this with
python3 -m pip show requests
. if it says something like package not found, you should look into how to install python requests on your operatation system. If you downloaded it from python.org,python3 -m pip install --user requests
should work.Then you can do
python3 lemmy-migrate.py -c config.ini
. Let me know if you run into any problems!I bet replacing python3 with py will work:
Did you try my suggestion in this comment?
https://lemmy.sdf.org/comment/1491482
I think your problem is that you aren't pointing PowerShell at the right folder. You can use the
cd
command to get to the right folder containing the python script and config file.