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

ModuleNotFoundError: No module named 'RLE' #4

Open
bergstar opened this issue Oct 25, 2019 · 8 comments
Open

ModuleNotFoundError: No module named 'RLE' #4

bergstar opened this issue Oct 25, 2019 · 8 comments

Comments

@bergstar
Copy link

python3 PhotonFileEditor.py Traceback (most recent call last): File "PhotonFileEditor.py", line 39, in <module> import PhotonFile File "/media/gc/6TB/SLA/Photonsters-FileEditor-v2/PhotonFile.py", line 34, in <module> import RLE ModuleNotFoundError: No module named 'RLE'

Tried with 3.7. I really want to get this software running, since previous version is not able to generate valid .photon files.

@NardJ
Copy link
Collaborator

NardJ commented Oct 26, 2019 via email

@NardJ
Copy link
Collaborator

NardJ commented Oct 26, 2019 via email

@bergstar
Copy link
Author

@NardJ Yes, this is what I did:
Fresh Ubuntu 19.10 install (confirmed on a new Linode VPS)

sudo apt-get install python3-tk python3-pil.imagetk python3-pip python3-opencv
git clone https://github.com/Photonsters/Photonsters-FileEditor-v2.git
git checkout v0.1-development
python3 PhotonFileEditor.py
Traceback (most recent call last):
  File "PhotonFileEditor.py", line 39, in <module>
    import PhotonFile
  File "/root/Photonsters-FileEditor-v2/PhotonFile.py", line 34, in <module>
    import RLE
ModuleNotFoundError: No module named 'RLE'

@NardJ
Copy link
Collaborator

NardJ commented Oct 28, 2019

@bergstar. I was a bit further with my local development. So easier to update the entire branch. The main file is now called PhotonFileEdit2.py. (Beware this is still alpha.)

@bergstar
Copy link
Author

@NardJ I did test with latest code on a new Linode box,

root@localhost:~/Photonsters-FileEditor-v2# python3 PhotonFileEditor2.py 
Traceback (most recent call last):
  File "PhotonFileEditor2.py", line 45, in <module>
    import PhotonFile 
  File "/root/Photonsters-FileEditor-v2/PhotonFile.py", line 34, in <module>
    import RLE
ModuleNotFoundError: No module named 'RLE

Same issue

@MaksymMikolajczyk
Copy link

Win 10 x64, same issue.

@ForceFedDSM
Copy link

I am using Win 10 x64 and having the issue as well.

@al37919
Copy link

al37919 commented Feb 13, 2021

To resolve this issue, rebuild RLE following the instructions in the file compileRLE.py

Actually files:

RLE.c
RLE.cpython-36m-x86_64-linux-gnu.so
RLE.html
rleEncode.cp36-win_amd64.pyd
rleEncode.cp37-win_amd64.pyd
rleEncode.cpython-36m-x86_64-linux-gnu.so

should be removed from the distribution, because these are generated files

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

No branches or pull requests

5 participants