$ brew install asciinema
Warning: asciinema 2.0.0 is already installed
$ asciinema
Traceback (most recent call last):
File "/usr/local/Cellar/asciinema/2.0.0/libexec/bin/asciinema", line 6, in <module>
from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'
Traceback (most recent call last):
File "/usr/local/Cellar/asciinema/2.0.0/libexec/bin/asciinema", line 6, in <module>
from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'
هذه ليست مشكلة Asciinema ولكنها مشكلة في التثبيت - ربما أفتقر إلى بعض المتطلبات المهمة.
أنا أحقق في هذا وسأضيف ملاحظات حول كيفية حلها.
كانت الإصلاحات بالنسبة لي:
# to find and fix issues with my brew
$ brew doctor
$ brew install python3
Warning: python3 3.6.4_2 is already installed, it's just not linked.
You can use `brew link python3` to link this version.
$ brew link python3
Linking /usr/local/Cellar/python3/3.6.4_2... Error: Permission denied @ dir_s_mkdir - /usr/local/Frameworks
# It's possible that the linking would not be necessary if I skipped to the postinstall step.
$ sudo mkdir /usr/local/Frameworks
$ sudo chown $(whoami):admin /usr/local/Frameworks
$ brew link python3
Linking /usr/local/Cellar/python3/3.6.4_2... 1 symlinks created
في هذه المرحلة ، ما زال لا يعمل. لذلك جريت:
$ brew postinstall python3
ثم عملت Asiinema!
لقد تم حل المشكلة بعد تثبيت python3. ومع ذلك ، عند محاولة حفظ ملف .cast محليًا (asciinema rec filename.cast) ، ما زلت أحصل على بعض مشكلات الأذونات. ومع ذلك ، فإن استخدام ctrl-c بعد التسجيل يحفظ الأشعة تحت الحمراء بشكل صحيح.
من الواضح أن هذه قضية تغليف / البيرة. في المستقبل ، يُرجى الإبلاغ عن هذا النوع من المشكلات إلى مشرف (مشرفين) صيانة الحزم في مستودع صيغ التخمير. شكرا!
هذا ساعدني ايضا شكرا لك!
شكرا لك!
هذا يعمل بالنسبة لي!
هذا يعمل بالنسبة لي! شكرا لك!!
نفس الخطأ
شكرا ، لقد نجحت!
هذا ساعد كثيرا ، شكرا صديقي.
ممتاز !
هذا يعمل بالنسبة لي ، شكرا لك
التعليق الأكثر فائدة
كانت الإصلاحات بالنسبة لي:
في هذه المرحلة ، ما زال لا يعمل. لذلك جريت:
ثم عملت Asiinema!