-
Notifications
You must be signed in to change notification settings - Fork 20
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
Linux export - installation of Screenplain fails #10
Comments
i tried to look the code,maybe the problem is that the Linux path is " / " and not " \ " so the screenplain module is not installed correctly: |
Let me know if that solves it on Linux? |
i changed But same errors.
|
I don't know anything about Linux, but you probably do not have to use double // when they are turning that way. Copying it to the add-on folder is what the add-on does and it works on Windows. Well actually it's the same way fountain.py is used by the add-on. Have you tried to Google that error? (I'm not at my computer right now) |
A moment at the computer. Seems like you're missing a module called six. It can be installed using these instructions, but of course installing six instead pycodestyle: https://github.com/tin2tin/Python_Stylechecker_for_Blender For reference: |
I was able to install pip and six, thank you. i checked in library and i have installed Python 2.7, 3, 3.7 and 3.8. |
Does the add-on work if you install screenplain with pip? |
I installed screenplain with pip |
And installed from the Blender Python bin? |
I am searching to installing it using Blender Python console, but in Linux is a bit different. |
Blender Pyhton does not recognise pip or pip3:
|
no luck for now: |
Ah, try to download and place this file in the folder with the Blender python exe: https://bootstrap.pypa.io/get-pip.py And then run it from the command line with python "get-pip.py" Or else try the ensurepip etc. stuff from here: https://blender.stackexchange.com/questions/108283/how-to-load-external-modules-packages-into-blender-python/140343#140343 |
I just enabled ensurepip
|
Finally Works! Many thanks! For other Linux users the commands that worked for me: |
Bingo! If you want to test the pdf output, you can search for pdf and find some commented out code in Blender_Screenwriter.py which just needs to be inserted to get it to become an export option. I suspect that it is also module related. Could you do me a favour at use pip to uninstall screenplain again, and then try to install it with BSW.py and see it it succeds now? (Then you can install screenplain again afterwards) |
Sure now is uninstalled. |
But this the error when i try to export:
` |
So it is not looking in the addons folder for the screenplain files? But properly where it was installed with pip. Hmmm... I hope we can find better way than using pip in the console, but if not, could you write how to do it on Linux, so we can put in on the main page? |
To install screenplain using GNU/Linux with Blender Python i used 2 commands with the terminal: |
You need to place the (pdf etc.) inbetween the html and the fdx stuff. in the following line. NB. You'll need to install a different version of screenplain for pdf: https://github.com/vilcans/screenplain |
I installed 'screenplain[PDF]', thank you:
But i receive these errors after i export to PDF:
|
iirc is that the same error I'm getting. Can you get pdf conversion to work using the command line(I couldn't)? |
ok i exported to pdf from command line after installing screenplain in
using screenplain from
|
i found similar error: |
For reference on installing using PIP: https://developer.blender.org/T71420 Maybe Jacques' solution can be used for installing external modules like Screenplain, instead of the current solution which apparently fails on Linux? |
I think that Jacques' solution could be very useful, i hope it is compatible with text editor too. |
This may have been fixed, but I'm not on Linux, so I can't test. Can anyone help me with this? |
Hi, tested the export but there is an error about the module screenplain:
Tested in 2.81 ( GNU/Linux)
The text was updated successfully, but these errors were encountered: