ericaltendorf / plotman

Chia plotting manager
Apache License 2.0
910 stars 280 forks source link

Install on Clear Linux error no module named Plotman #672

Open JSher1 opened 3 years ago

JSher1 commented 3 years ago

Fresh install of Clear Linux(server) on Intel machine.

I followed the setup instructions, created the yaml file and when I try to run plotman with plotman plot it throws the error:

line 5, in <module> from plotman.plotman import main ModuleNotFoundError: No module named 'plotman'

Any ideas?

Thanks

randellhodges commented 3 years ago

Do you have the chia venv activated?

JSher1 commented 3 years ago

Yes, tried it from a regular command window and from the venv. Also tried python -m plotman plot

JSher1 commented 3 years ago

I tried to reinstall under venv. It was then looking for the plotman.yaml file in /root/.config/plotman. I put it there and started using: plotman plot and it gave me: ...starting plot loop ...sleeping 20s: (True, 'Starting plot job: chia plots create etc (over and over)

It does this every 20s including starting a log file in the log directory but does not write to the temp drives...

randellhodges commented 3 years ago

Read the log files. It'll probably tell you what is wrong. I've had that a happen a few times, for me, it was permissions on the tmp folder.

JSher1 commented 3 years ago

So when I first installed Plotman it was under an admin account. It installed and the Plotman.yaml was under /home/user/.config/plotman. Received the above error

I then reinstalled under chia venv and it moved the Plotman.yaml under /root/.config/plotman

Plotman would run under venv however plots were throwing an error that chia was not init...

Ended up I had to run under root permission and its running fine now.

Thanks for your help

altendky commented 3 years ago

Best not to be running any of this stuff as root, at least in 'normal' cases.