ml2021
(Maria)
1
Hi
I am having issues installing local Rasa X on a Mac. Using Python 3.7.4 and pip version 20.2.
I checked other Topics with same issue but have not been able to fix. I am running:
pip3 install rasa-x --extra-index-url https://pypi.rasa.com/simple
Getting an error:
ERROR: Could not build wheels for xmlsec which use PEP 517 and cannot be installed directly. Attached a screenshot.
Any help?
nik202
(NiK202)
3
@ml2021 What did you done so far, can you briefly tell? and what is you rasa --version?
ml2021
(Maria)
4
@nik202 Rasa version 2.8.7
all I have done was to run on Terminal
> pip3 install rasa-x --extra-index-url https://pypi.rasa.com/simple
with different verisons of pip (20.2 and 21.3.1) getting the same error above
nik202
(NiK202)
5
@ml2021 can you quick try this one on 20.2.3 pip version :
pip install rasa-x==0.39.3 --extra-index-url https://pypi.rasa.com/simple
or any pip version as you working on Mac.
@ml2021 confirm, did you created conda based environment ?
ml2021
(Maria)
6
@nik202 yes ‘base’:conda in VS code. I also activated the ‘venv’.
Trying with pip 20.2.3 but it is taking a while
nik202
(NiK202)
7
@ml2021 right type 1 command for me on venv rasa --version
and share the screenshot please
ml2021
(Maria)
8
Could not install Rasa X. This is what I got after running for some minutes:
Rasa version
Rasa Version : 2.8.7
nik202
(NiK202)
9
@ml2021 ok let me share you one file and it’s a requirement file just install please
pip install -r requirements1.txt
and do let me know please are you able to?
ml2021
(Maria)
10
@nik202 Unable to download. Please paste the content here of file here and I will create a .txt to try
ml2021
(Maria)
12
Unfortunately I dont think it is working, keeps loading and overheating my laptop, it is running for more than 10min
nik202
(NiK202)
13
@ml2021 alright.
I’d recommend to create new environment please.
Step1: pip install virtualenv
Step2:
cd my-project/
virtualenv venv
Step3: source venv/bin/activate
Do check python --version it should be 3.7 or 3.8 and its should be conda powershell only.
Do not change the pip version please and install first rasa 2.8.1 and rasa-sdk 2.8.1 using
pip install rasa==2.8.1
and pip install rasa-sdk==2.8.1
Later we can update.
Please try and let me know rasa --version
then will see rasa x
i found solution:
sudo apt-get install pkg-config libxml2-dev libxmlsec1-dev libxmlsec1-openssl
mac_71128
(sara fahim)
15
My solution was running the following command before installing rasa-x:
brew install libxmlsec1
On ubuntu you must to remove xmlsec1 with
sudo apt remove xmlsec1
Then, you must to check that xmlsec1 file not are on /usr/bin/xmlsec1
And last, you must to install xmlsec1 again with: sudo apt install xmlsec1
If very posible that you will get after another error with wheel… so, you can to fix it with:
sudo apt-get install pkg-config libxml2-dev libxmlsec1-dev libxmlsec1-openssl
regards
1 Like