Comments (20)
I also ran up against this error.
Fresh install of MacOS 10.15.7 Catalina
Fresh install of Homebrew / Python / Pip
Checked that I was running Python 3.9
I ran pipevn run python -m fb2cal
and hit the ModuleNotFoundError: No module named 'mechanicalsoup'
error
I was able to get around this by running
pipenv install mechanicalsoup
Which then got past that error, but ended up with not finding the ics module, fixed that by running
pipenv install ics
...and Bob's your uncle, it worked.
Thanks for this great little script!
from fb2cal.
Hi,
I had the same issue on linux and windows, latest python3.
Was able to run the script, after manually installing the mechanicalsoup module with pip install mechanicalsoup
and after that restarting the virtual environment.
Kind regards
from fb2cal.
from fb2cal.
I also ran up against this error.
Fresh install of MacOS 10.15.7 Catalina
Fresh install of Homebrew / Python / Pip
Checked that I was running Python 3.9I ran
pipevn run python -m fb2cal
and hit theModuleNotFoundError: No module named 'mechanicalsoup'
errorI was able to get around this by running
pipenv install mechanicalsoup
Which then got past that error, but ended up with not finding the ics module, fixed that by running
pipenv install ics
...and Bob's your uncle, it worked.
Thanks for this great little script!
Confirming this on MacOSX Catalina 10.15.7, Python 2.7.16, PipEnv 2020.11.15, also, be sure to deactivate temporarily two-factor authentication on Facebook.
from fb2cal.
Hmm looks like it might be running with python 2 instead of python 3.6+?
Try:
pipenv run python3 /Users/.../Documents/git/fb2cal/src/fb2cal.py
from fb2cal.
Also are you sure you followed setup instructions correctly?
You have to run pipenv install
first.
from fb2cal.
I have installed pipenv first. followed your instructions. tried running with python3
~ ...$ pipenv install
Installing dependencies from Pipfile.lock (db4242)β¦
π ββββββββββββββββββββββββββββββββ 0/0 β 00:00:00
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
(base) MacBook-Air-2:~ ...$ pipenv shell
Launching subshell in virtual environmentβ¦
bash-3.2$ . /Users/.../.local/share/virtualenvs/...-mPLkNOWd/bin/activate
(...) bash-3.2$ pipenv run python3 /Users/.../Documents/git/fb2cal/src/fb2cal.py
Traceback (most recent call last):
File "/Users/.../Documents/git/fb2cal/src/fb2cal.py", line 25, in <module>
import mechanicalsoup
ModuleNotFoundError: No module named 'mechanicalsoup'
``
from fb2cal.
You don't need to run pipenv shell
, just pipenv run
directly.
That might not fix it though.
from fb2cal.
Could it be because of installed folder?
(base) MacBook-Air-2:~ ...$ pip show MechanicalSoup
Name: MechanicalSoup
Version: 0.12.0
Summary: A Python library for automating interaction with websites
Home-page: https://mechanicalsoup.readthedocs.io/
Author: UNKNOWN
Author-email: UNKNOWN
License: MIT
Location: /Users/.../opt/anaconda3/lib/python3.7/site-packages
Requires: beautifulsoup4, six, requests, lxml
``
from fb2cal.
Hello, i've had the same exact issue. Any update?
from fb2cal.
@filmgeek5000 Are you also on a Mac? I am not able to reproduce the problem myself.
from fb2cal.
Yes I am on a Mac Mini running High Sierra
from fb2cal.
@filmgeek5000 I can't reproduce it myself on a Mac system so its a little hard to fix.
Are you using the latest version of the files?
Are you following the steps as listed in the readme?
from fb2cal.
yes
from fb2cal.
I have the same issue :(
from fb2cal.
@mfvo Are you able to provide any more information about your system/environment? I cannot reproduce this issue myself so its hard to fix.
from fb2cal.
@mfvo Are you able to provide any more information about your system/environment? I cannot reproduce this issue myself so its hard to fix.
I have the last mac os software, I mean 10.15.6 and running Python 3.7
from fb2cal.
Try to change the active directory to the directory of the package, that helped me (I downloaded it into a zip file and then extracted it).
from fb2cal.
Did you run pipenv install
first?
That should have installed mechanicalsoup
and ics
based on the requirements.txt file.
I have a Mac but can't reproduce this on mine.
Maybe I'm misusing pipenv
or its behaving differently on macos.
from fb2cal.
Same issue on windows 11
Even the tests fail.
from fb2cal.
Related Issues (20)
- Add Facebook profile URL to ics description
- Can't login even with 2FA disabled
- 2FA doesn't work, not even with app-password HOT 3
- No results for current month (August) HOT 6
- Create yearly occurrence events instead of the next year only HOT 2
- Handle birthdays on leap years correctly
- bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. HOT 4
- Other types of Events? HOT 1
- fb2cal ERROR (main) config/config.ini does not exist. HOT 2
- Error when uploading to Google Drive with new token HOT 4
- Avoid double "s" in ICS event name
- 1.2.1 issues HOT 1
- Events showing as Busy HOT 1
- Create setup.py for module
- Create CI/CD pipeline
- ImportError: attempted relative import with no known parent package HOT 2
- Facebook password wrong: wrong output HOT 3
- Facebook BirthdayCometRootQuery offset_month logic is wrong. (No results for December) HOT 4
- Adding this feature to magic mirror HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fb2cal.